Function at 0x404a27
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
call fcn.0040577e
push 0xa
push 0x7d0
push dword [0x429044]
call sub.KERNEL32.DLL_FindResourceA
mov dword [0x42985f], eax
push dword [0x42985f]
push dword [0x429044]
call sub.KERNEL32.DLL_LoadResource
mov dword [0x429863], eax
push dword [0x429863]
call sub.KERNEL32.DLL_LockResource
mov dword [0x429867], eax
mov ebx, dword [0x429867]
add ebx, 0x26
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x435268], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x43523c], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x435238], eax
sub ebx, 4
push dword [ebx]
pop dword [0x435c13]
sub ebx, 4
push dword [ebx]
pop dword [0x435138]
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x42984b], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x429853], eax
sub ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x42984f], eax
cmp dword [0x435c13], 0
jbe 0x404edc
mov eax, dword [0x435c13]
add eax, dword [0x429867]
push dword [eax + 4]
pop dword [0x435c17]
push eax
mov eax, dword [eax + 8]
cmp eax, 0
jbe 0x404b33
add eax, dword [0x429867]
push dword [eax]
pop dword [0x42993e]
add eax, 4
mov dword [0x435240], eax
pop eax
push eax
mov eax, dword [eax + 0xc]
cmp eax, 0
jbe 0x404b53
add eax, dword [0x429867]
push dword [eax]
pop dword [0x42abf5]
add eax, 4
mov dword [0x42abf1], eax
pop eax
push eax
mov eax, dword [eax + 0x10]
mov dword [0x429537], eax
add eax, dword [0x429867]
mov dword [0x42953b], eax
pop eax
push eax
mov eax, dword [eax + 0x14]
mov dword [0x43526c], eax
add eax, dword [0x429867]
mov dword [0x435270], eax
pop eax
cmp dword [0x43526c], 0
jbe 0x404bc4
push eax
push ebx
mov eax, dword [0x435270]
mov ebx, eax
mov eax, dword [eax]
shl eax, 2
add eax, ebx
mov dword [0x42956b], eax
push dword [eax]
pop dword [0x435274]
shl dword [0x435274], 2
add eax, dword [ebx + 4]
mov dword [0x42956f], eax
push dword [eax]
pop dword [0x435278]
shl dword [0x435278], 2
pop ebx
pop eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x435c1b], eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x435c1f], eax
cmp dword [0x435c17], 1
jb 0x404edc
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x435c27], eax
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x435c2b], eax
cmp dword [0x435c17], 2
jb 0x404edc
push eax
mov eax, dword [eax - 4]
mov dword [ebp - 4], 0xc
mul dword [ebp - 4]
pop ebx
add eax, ebx
mov dword [0x435254], eax
push dword [eax + 4]
pop dword [0x42978f]
push dword [eax + 8]
pop dword [0x429793]
push dword [eax + 0xc]
pop dword [0x429797]
push dword [eax + 0x10]
pop dword [0x42979b]
push dword [eax + 0x14]
pop dword [0x4298af]
push dword [eax + 0x18]
pop dword [0x4298b3]
push dword [eax + 0x1c]
pop dword [0x4298b7]
push dword [eax + 0x20]
pop dword [0x4298bb]
push dword [eax + 0x24]
pop dword [0x4298bf]
push dword [eax + 0x28]
pop dword [0x429873]
push dword [eax + 0x2c]
pop dword [0x429946]
push dword [eax + 0x30]
pop dword [0x42994a]
push dword [eax + 0x34]
pop dword [0x429952]
push dword [eax + 0x38]
pop dword [0x429956]
push dword [eax + 0x3c]
pop dword [0x4298c3]
push dword [eax + 0x40]
pop dword [0x435170]
push dword [eax + 0x44]
pop dword [0x435174]
push dword [eax + 0x48]
pop dword [0x435178]
push dword [eax + 0x4c]
pop dword [0x42abe9]
push dword [eax + 0x50]
pop dword [0x42abed]
push dword [eax + 0x54]
pop dword [0x429877]
push dword [eax + 0x58]
pop dword [0x42987b]
push dword [eax + 0x5c]
pop dword [0x4297cf]
push dword [eax + 0x60]
pop dword [0x4297d3]
push dword [eax + 0x64]
pop dword [0x4297d7]
push dword [eax + 0x68]
pop dword [0x4297db]
push dword [eax + 0x6c]
pop dword [0x4297df]
push dword [eax + 0x70]
pop dword [0x4297e3]
push dword [eax + 0x74]
pop dword [0x4297e7]
push dword [eax + 0x78]
pop dword [0x4297eb]
push dword [eax + 0x7c]
pop dword [0x4351ac]
push dword [eax + 0x80]
pop dword [0x4294c3]
push dword [eax + 0x84]
pop dword [0x4294cb]
push dword [eax + 0x88]
pop dword [0x4294c7]
push dword [eax + 0x8c]
pop dword [0x4298c7]
push dword [eax + 0x90]
pop dword [0x42995e]
push dword [eax + 0x94]
pop dword [0x42958f]
push dword [eax + 0x98]
pop dword [0x42996e]
push dword [eax + 0x9c]
pop dword [0x429972]
push dword [eax + 0xa0]
pop dword [0x429883]
push dword [eax + 0xa4]
pop dword [0x429976]
push dword [eax + 0xa8]
pop dword [0x429567]
push dword [eax + 0xac]
pop dword [0x42998e]
push dword [eax + 0xb0]
pop dword [0x429573]
push dword [eax + 0xb4]
pop dword [0x42987f]
push dword [eax + 0xb8]
pop dword [0x4295ce]
push dword [eax + 0xbc]
pop dword [0x4295e6]
push dword [eax + 0xfc]
pop dword [0x42acfb]
push dword [eax + 0x100]
pop dword [0x42acff]
push dword [eax + 0x104]
pop dword [0x4298cb]
push dword [eax + 0xc0]
pop dword [0x42ad33]
push dword [eax + 0x108]
pop dword [0x42ad2b]
push dword [eax + 0x10c]
pop dword [0x42ad2f]
push dword [eax + 0x114]
pop dword [0x42ad3f]
push dword [eax + 0x118]
pop dword [0x42ad27]
push dword [eax + 0x11c]
pop dword [0x42975f]
push dword [eax + 0x120]
pop dword [0x42976b]
push dword [eax + 0x124]
pop dword [0x429777]
push dword [eax + 0x128]
pop dword [0x42977b]
push dword [eax + 0x12c]
pop dword [0x4297f3]
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x435258], eax
push dword [eax + 4]
pop dword [0x43525c]
push dword [eax + 8]
pop dword [0x435260]
push dword [eax + 0xc]
pop dword [0x435264]
push dword [eax + 0x10]
pop dword [0x4297cb]
cmp dword [0x43526c], 0
jbe 0x404edc
mov edx, dword [eax]
shl edx, 2
add eax, edx
mov dword [0x435c37], eax
mov ebx, dword [0x42984b]
mov eax, dword [ebx]
add eax, dword [0x429867]
mov ebx, eax
mov eax, dword [ebx]
mov dword [0x4297fb], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4297ff], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429803], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4299a2], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429807], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42980b], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42980f], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429a1c], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429a0b], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42981f], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429823], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429857], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42985b], eax
mov dword [ebp - 0x14], ebx
cmp dword [0x435138], 7
jb 0x405091
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov eax, dword [ebx]
mov dword [0x42960e], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429622], eax
cmp dword [0x435138], 9
jb 0x404fa5
add ebx, 4
mov eax, dword [ebx]
mov dword [0x435248], eax
cmp dword [0x435138], 9
jb 0x404fc2
add ebx, 4
mov eax, dword [ebx]
mov dword [0x43524c], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x435250], eax
cmp dword [0x435138], 0xa
jb 0x404fd7
cmp dword [0x435138], 0x186a0
jb 0x404fe3
cmp dword [0x435138], 0x186a1
jb 0x404fed
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429612], eax
cmp dword [0x435138], 0xb
jb 0x405002
cmp dword [0x435138], 0x186a0
jb 0x40500e
cmp dword [0x435138], 0x186a2
jb 0x405018
add ebx, 4
mov eax, dword [ebx]
mov dword [0x429813], eax
cmp dword [0x435138], 0xc
jb 0x40502d
cmp dword [0x435138], 0x186a0
jb 0x405039
cmp dword [0x435138], 0x186a3
jb 0x405091
add ebx, 4
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x43527c], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x43528c], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x435280], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x435284], ebx
add ebx, dword [ebp - 0x14]
push dword [ebx]
pop dword [ebp - 0x14]
add ebx, 4
mov dword [0x435288], ebx
add ebx, dword [ebp - 0x14]
mov ebx, dword [0x42984b]
add ebx, 8
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x429837], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x42983b], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x42983f], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x429843], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [0x429847], eax
cmp dword [0x42980b], 0
jne 0x4050fa
mov dword [0x42980b], 0x28
cmp dword [0x42980f], 0
jne 0x40510d
mov dword [0x42980f], 0x14
cmp dword [0x429873], 1
jne 0x4051f6
mov ebx, dword [0x435268]
sub ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367d7], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x435268]
mov dword [0x4367d3], eax
add ebx, 8
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367cf], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x435268]
mov dword [0x4367cb], eax
add ebx, 8
add ebx, 4
mov eax, dword [ebx]
mov dword [0x43679b], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x435268]
mov dword [0x43679f], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367a3], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367af], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x435268]
mov dword [0x4367ab], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367a7], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367bb], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x435268]
mov dword [0x4367b7], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367b3], eax
add ebx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367c7], eax
add ebx, 4
mov eax, dword [ebx]
add eax, dword [0x435268]
mov dword [0x4367c3], eax
add ebx, 4
mov eax, dword [ebx]
mov dword [0x4367bf], eax
add eax, dword [0x4367c7]
mov dword [0x42959f], eax
mov eax, dword [0x42959f]
add eax, dword [0x429573]
mov dword [0x4295a3], eax
add eax, dword [0x4295ce]
mov dword [0x4295d6], eax
push dword [0x4297fb]
pop dword [ebp - 4]
cmp dword [0x429807], 1
jne 0x405231
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 4
mul dword [ebp - 4]
mov ebx, eax
add ebx, dword [0x429847]
mov eax, dword [ebx]
mul dword [ebp - 4]
add eax, dword [0x429843]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x429843]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jge 0x4052ca
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 0x4052c4
mov ebx, dword [ebp - 4]
shl ebx, 2
add ebx, dword [0x429853]
mov eax, dword [ebx]
add eax, dword [0x429867]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0xc]
call fcn.0041df10
mov ebx, dword [ebp - 0x10]
mov byte ss:[ebx + ebp - 0x9c], 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x9c]
push eax
call fcn.0041dceb
add dword [ebp - 8], 0x2c
jmp 0x40525c
call fcn.004057e1
pop edx
pop ebx
leave
ret