Function at 0x403e27
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push edx
push 0xa
push 0x7d0
push dword [section..data]
call sub.KERNEL32.DLL_FindResourceA
mov dword [0x41a2b9], eax
push dword [0x41a2b9]
push dword [section..data]
call sub.KERNEL32.DLL_LoadResource
mov dword [0x41a2bd], eax
push dword [0x41a2bd]
call sub.KERNEL32.DLL_LockResource
mov dword [0x41a2c1], eax
mov ebx, dword [0x41a2c1]
add ebx, 0x26
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41bd7c], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41bd50], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41bd4c], eax
sub ebx, 4
push dword [ebx]
pop dword [0x41c707]
sub ebx, 4
push dword [ebx]
pop dword [0x41bd04]
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41a2a5], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41a2ad], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41a2a9], eax
cmp dword [0x41c707], 0
jbe 0x4040f6
mov eax, dword [0x41c707]
add eax, dword [0x41a2c1]
push dword [eax + 4]
pop dword [0x41c70b]
push eax
mov eax, dword [eax + 8]
cmp eax, 0
jbe 0x403f2e
add eax, dword [0x41a2c1]
push dword [eax]
pop dword [0x41a388]
add eax, 4
mov dword [0x41bd54], eax
pop eax
push eax
mov eax, dword [eax + 0xc]
cmp eax, 0
jbe 0x403f4e
add eax, dword [0x41a2c1]
push dword [eax]
pop dword [0x41adfd]
add eax, 4
mov dword [0x41adf9], eax
pop eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x41c70f], eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x41c713], eax
cmp dword [0x41c70b], 1
jb 0x4040f6
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x41c71b], eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x41c71f], eax
cmp dword [0x41c70b], 2
jb 0x4040f6
push eax
mov eax, dword [eax - 4]
mov dword [ebp - 4], 0xc
mul dword [ebp - 4]
pop ebx
add eax, ebx
mov dword [0x41bd68], eax
push dword [eax + 4]
pop dword [0x41a1f1]
push dword [eax + 8]
pop dword [0x41a1f5]
push dword [eax + 0xc]
pop dword [0x41a1f9]
push dword [eax + 0x10]
pop dword [0x41a1fd]
push dword [eax + 0x14]
pop dword [0x41a301]
push dword [eax + 0x18]
pop dword [0x41a305]
push dword [eax + 0x1c]
pop dword [0x41a309]
push dword [eax + 0x20]
pop dword [0x41a30d]
push dword [eax + 0x24]
pop dword [0x41a311]
push dword [eax + 0x28]
pop dword [0x41a2cd]
push dword [eax + 0x2c]
pop dword [0x41a390]
push dword [eax + 0x30]
pop dword [0x41a394]
push dword [eax + 0x34]
pop dword [0x41a39c]
push dword [eax + 0x38]
pop dword [0x41a3a0]
push dword [eax + 0x3c]
pop dword [0x41a315]
push dword [eax + 0x40]
pop dword [0x41bd38]
push dword [eax + 0x44]
pop dword [0x41bd3c]
push dword [eax + 0x48]
pop dword [0x41bd40]
push dword [eax + 0x4c]
pop dword [0x41adf1]
push dword [eax + 0x50]
pop dword [0x41adf5]
push dword [eax + 0x54]
pop dword [0x41a2d1]
push dword [eax + 0x58]
pop dword [0x41a2d5]
push dword [eax + 0x5c]
pop dword [0x41a231]
push dword [eax + 0x60]
pop dword [0x41a235]
push dword [eax + 0x64]
pop dword [0x41a239]
push dword [eax + 0x68]
pop dword [0x41a23d]
push dword [eax + 0x6c]
pop dword [0x41a241]
push dword [eax + 0x70]
pop dword [0x41a245]
push dword [eax + 0x74]
pop dword [0x41a249]
push dword [eax + 0x78]
pop dword [0x41a24d]
push dword [eax + 0x7c]
pop dword [0x41bd44]
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x41bd6c], eax
push dword [eax + 4]
pop dword [0x41bd70]
push dword [eax + 8]
pop dword [0x41bd74]
push dword [eax + 0xc]
pop dword [0x41bd78]
push dword [eax + 0x10]
pop dword [0x41a22d]
mov ebx, dword [0x41a2a5]
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov ebx, eax
mov eax, dword [ebx]
mov dword [0x41a255], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a259], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a25d], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a3b8], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a261], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a265], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a269], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a432], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a421], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a279], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a27d], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a2b1], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a2b5], eax
mov dword [ebp - 0x14], ebx
cmp dword [0x41bd04], 7
jb 0x4042ab
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a166], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a17a], eax
cmp dword [0x41bd04], 9
jb 0x4041bf
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41bd5c], eax
cmp dword [0x41bd04], 9
jb 0x4041dc
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41bd60], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41bd64], eax
cmp dword [0x41bd04], 0xa
jb 0x4041f1
cmp dword [0x41bd04], 0x186a0
jb 0x4041fd
cmp dword [0x41bd04], 0x186a1
jb 0x404207
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a16a], eax
cmp dword [0x41bd04], 0xb
jb 0x40421c
cmp dword [0x41bd04], 0x186a0
jb 0x404228
cmp dword [0x41bd04], 0x186a2
jb 0x404232
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41a26d], eax
cmp dword [0x41bd04], 0xc
jb 0x404247
cmp dword [0x41bd04], 0x186a0
jb 0x404253
cmp dword [0x41bd04], 0x186a3
jb 0x4042ab
add ebx, 4
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x41bd80], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x41bd90], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x41bd84], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x41bd88], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x41bd8c], ebx
add ebx, dword [ebp - 0x14]
mov ebx, dword [0x41a2a5]
add ebx, 8
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41a291], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41a295], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41a299], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41a29d], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [0x41a2a1], eax
cmp dword [0x41a265], 0
jne 0x404314
mov dword [0x41a265], 0x28
cmp dword [0x41a269], 0
jne 0x404327
mov dword [0x41a269], 0x14
cmp dword [0x41a2cd], 1
jne 0x404410
mov ebx, dword [0x41bd7c]
sub ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d2bf], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41bd7c]
mov dword [0x41d2bb], eax
add ebx, 8
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d2b7], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41bd7c]
mov dword [0x41d2b3], eax
add ebx, 8
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d283], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41bd7c]
mov dword [0x41d287], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d28b], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d297], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41bd7c]
mov dword [0x41d293], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d28f], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d2a3], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41bd7c]
mov dword [0x41d29f], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d29b], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d2af], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x41bd7c]
mov dword [0x41d2ab], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x41d2a7], eax
push dword [0x41a255]
pop dword [ebp - 4]
cmp dword [0x41a261], 1
jne 0x404425
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 4
mul dword [ebp - 4]
mov ebx, eax
add ebx, dword [0x41a2a1]
mov eax, dword [ebx]
mul dword [ebp - 4]
add eax, dword [0x41a29d]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x41a29d]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jge 0x4044be
mov ebx, dword [ebp - 8]
add ebx, 0x24
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
mov dword [ebp - 4], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x4044b8
mov ebx, dword [ebp - 4]
shl ebx, 2
add ebx, dword [0x41a2ad]
mov eax, dword [ebx]
add eax, dword [0x41a2c1]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0xc]
call fcn.00410720
mov ebx, dword [ebp - 0x10]
mov byte ss:[ebx + ebp - 0x9c], 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x9c]
push eax
call fcn.004104fb
add dword [ebp - 8], 0x2c
jmp 0x404450
pop edx
pop ebx
leave
ret