Function at 0x4291d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
cmp byte [ecx + 0x3c], 0
jne 0x429304
push 0x60
call fcn.0041a900
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
test esi, esi
je 0x42928c
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x3a], 0xffffffff
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov word [esi + 0x3e], ax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov word [esi + 0x38], ax
mov byte [esi + 0x48], al
mov dword [esi + 0x4c], 0x3f800000
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
mov word [esi + 0x5c], ax
jmp 0x42928e
xor esi, esi
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
cmp ecx, eax
jne 0x4292fb
lea edi, [ecx + 1]
test eax, eax
je 0x4292ab
cdq
sub eax, edx
mov edx, dword [ebx + 0x40]
sar eax, 1
add eax, edx
jmp 0x4292b3
mov edx, dword [ebx + 0x40]
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, edx
jle 0x4292fb
lea eax, [edi*4]
push eax
call fcn.0041a900
mov edx, dword [ebx + 0x44]
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
je 0x4292f2
mov ecx, dword [ebx + 0x3c]
shl ecx, 2
push ecx
push edx
push eax
call fcn.004b3a80
push dword [ebx + 0x44]
call fcn.0041a920
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], edi
mov eax, dword [ebx + 0x44]
mov dword [eax + ecx*4], esi
inc dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x54]
mov edi, dword [ebx + 0x58]
cmp ecx, edi
jne 0x429363
lea esi, [ecx + 1]
test edi, edi
je 0x429320
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x429325
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edi
jle 0x429363
imul eax, esi, 0x7c
push eax
call fcn.0041a900
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x42935a
imul ecx, dword [ebx + 0x54], 0x7c
push ecx
push eax
push edi
call fcn.004b3a80
push dword [ebx + 0x5c]
call fcn.0041a920
add esp, 0x10
mov ecx, dword [ebx + 0x54]
mov dword [ebx + 0x5c], edi
mov dword [ebx + 0x58], esi
mov edx, dword [ebp + 8]
mov esi, edx
imul edi, ecx, 0x7c
mov ecx, 0x1f
add edi, dword [ebx + 0x5c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x54]
imul edi, dword [ebx + 0x54], 0x7c
mov esi, dword [ebx + 0x5c]
mov dword [ebp - 8], esi
mov ecx, dword [edi + esi - 4]
test ecx, ecx
jne 0x429398
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + ecx*4 - 4]
mov dword [edi + esi - 4], ecx
cmp byte [edi + esi - 0x74], 0
jne 0x4293ca
push dword [edi + esi - 0x78]
call fcn.0041a900
mov ecx, dword [ebp + 8]
push dword [edi + esi - 0x78]
mov dword [edi + esi - 0x7c], eax
mov byte [edi + esi - 0x74], 1
push dword [ecx]
push eax
call fcn.004b3a80
mov ecx, dword [edi + esi - 4]
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x4293dd
mov ax, word [edx + 0x4c]
mov word [ecx + 0x3c], ax
imul esi, dword [ebx + 0x54], 0x7c
mov ecx, dword [ebx + 0x5c]
add esi, ecx
cmp ecx, esi
je 0x429410
nop word [eax + eax]
cmp byte [ecx + 0x3c], 0
mov edx, dword [ecx + 0x78]
jne 0x429400
mov dword [edx + 0x34], ecx
xor eax, eax
jmp 0x429404
movzx eax, word [edx + 0x38]
inc eax
add ecx, 0x7c
mov word [edx + 0x38], ax
cmp ecx, esi
jne 0x4293f0
mov eax, dword [ebx + 0x1c]
mov byte [ebx + 0x18], 0
test eax, eax
je 0x429424
push eax
call fcn.0041a920
add esp, 4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x429434
push eax
call fcn.0041a920
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x19], 0
mov eax, dword [edi + eax - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4