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

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
push esi
mov esi, eax
mov byte [esi + 0xac], cl
mov byte [esi + 0xad], cl
mov byte [esi + 0xae], cl
mov dword [esi + 0x9c], 0x1869f
mov eax, dword [ebx + 0x5c]
test eax, eax
mov dword [esp + 0xc], ecx
je 0x4074c9
push ebp
push edi
jmp 0x4072f0
mov ebx, dword [esp + 0x48]
mov ecx, 0xdd
cmp dword [eax + 0x2c], ecx
je 0x40730f
lea ebx, [ebx]
mov eax, dword [eax]
test eax, eax
je 0x4074bb
cmp dword [eax + 0x2c], ecx
jne 0x407300
mov ecx, dword [eax + 0x38]
mov edx, dword [ebx + 0x60]
and ecx, 0xffffff
mov ebp, dword [edx + ecx*4]
mov ecx, dword [eax]
mov dword [esi + 0x40], ecx
mov edx, dword [ebp]
mov ecx, dword [edx + 4]
cmp ecx, eax
mov dword [esi + 0x3c], ecx
je 0x4074ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4074ac
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x40]
cmp eax, dword [ebp]
mov byte [esp + 0x12], 0
je 0x40736e
mov edi, edi
mov ecx, dword [eax + 0x24]
and dword [ecx + 4], 0xfffffffe
mov eax, dword [eax]
cmp eax, dword [ebp]
jne 0x407360
lea ecx, [esp + 0x24]
push ecx
add ebp, 0x2c
lea eax, [esi + 0x5c]
push ebp
push eax
call 0x3e36e0
mov edx, dword [esi + 0x40]
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x48]
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 0xa8], eax
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x4c]
cmp eax, ecx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x78], eax
jle 0x4073c3
mov dword [esi + 0x78], ecx
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov byte [esp + 0x13], 1
mov byte [esi + 0xac], bl
jmp 0x4073f0
mov edi, dword [ebp + 0x24]
test byte [edi + 4], 1
jne 0x407426
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x28]
push edx
push ebp
push eax
call fcn.00406e80
test al, al
je 0x407430
cmp byte [esp + 0x13], bl
je 0x407426
test byte [edi + 4], 1
jne 0x407426
mov byte [esp + 0x13], bl
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esi + 0x3c]
je 0x407430
mov ebp, dword [ebp]
jmp 0x4073f0
xor ebp, ebp
cmp dword [esi + 0x6c], ebx
jle 0x407470
lea ecx, [esi + 0xb4]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov edi, dword [edx]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x24]
push eax
push edi
push ecx
lea ebx, [esi + 0x5c]
call 0x3e3850
mov edi, dword [edi + 0x24]
or dword [edi + 4], 1
add dword [esp + 0x18], 4
add ebp, 1
cmp ebp, dword [esi + 0x6c]
jl 0x407441
xor ebx, ebx
mov dl, byte [esi + 0xac]
mov eax, dword [esi + 0x6c]
or byte [esp + 0x12], dl
add dword [esp + 0x14], 1
sub dword [esi + 0x48], eax
jne 0x407387
cmp byte [esp + 0x12], bl
je 0x4074ac
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx - 1]
cdq
idiv ecx
cmp dword [esp + 0x14], eax
jle 0x4074ac
mov byte [esi + 0xae], 1
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov eax, dword [ecx]
test eax, eax
jne 0x4072ec
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x34
ret 8
pop esi
mov eax, ecx
pop ebx
add esp, 0x34
ret 8