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

Disassembly:
sub esp, 0x78
mov al, 1
push ebx
xor ebx, ebx
push ebp
push edi
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], bl
mov byte [esp + 0x63], bl
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], al
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov byte [esp + 0x6a], al
mov byte [esp + 0x6b], bl
mov byte [esp + 0x6c], al
mov byte [esp + 0x6d], al
mov byte [esp + 0x6e], al
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], al
mov byte [esp + 0x72], al
mov byte [esp + 0x73], al
mov byte [esp + 0x74], al
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], al
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], al
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], bl
mov byte [esp + 0x7b], al
mov byte [esp + 0x7c], al
mov byte [esp + 0x7d], al
mov byte [esp + 0x7e], al
mov byte [esp + 0x7f], al
mov byte [esp + 0x80], al
mov byte [esp + 0x81], bl
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bl
mov byte [esp + 0xc], bl
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], bl
mov byte [esp + 0xf], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], al
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov byte [esp + 0x24], al
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], al
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], al
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], al
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], al
mov byte [esp + 0x41], al
mov byte [esp + 0x42], al
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], al
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], al
mov byte [esp + 0x4d], al
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], al
mov byte [esp + 0x54], al
mov byte [esp + 0x55], al
mov byte [esp + 0x56], al
mov byte [esp + 0x57], al
mov byte [esp + 0x58], al
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], bl
call fcn.00463192
cdq
mov ecx, 0x28
idiv ecx
cmp byte [esp + edx + 0x5c], bl
je 0x407666
mov eax, dword [0x4c2bbc]
xor ecx, ecx
cmp eax, 0xffffffff
mov edi, 4
je 0x40769a
mov eax, 0x4c2bbc
mov ebp, dword [eax + edi]
add eax, edi
inc ecx
cmp ebp, 0xffffffff
jne 0x40768f
mov eax, dword [edx*4 + 0x4c2c2c]
add eax, 0xfffffffe
mov dword [ecx*4 + 0x4c2bbc], edx
mov dword [ecx*4 + 0x4c2bc0], edx
mov dword [edx*4 + 0x4c2c2c], eax
mov ebp, 3
call fcn.00463192
cdq
mov ecx, 0x28
idiv ecx
cmp byte [esp + edx + 0xc], bl
je 0x4076be
cmp dword [edx*4 + 0x4c2c2c], ebp
jl 0x4076be
mov ecx, dword [0x4c2bbc]
xor eax, eax
cmp ecx, 0xffffffff
je 0x4076f4
mov ecx, 0x4c2bbc
add ecx, edi
inc eax
cmp dword [ecx], 0xffffffff
jne 0x4076ec
mov ecx, dword [edx*4 + 0x4c2c2c]
mov dword [eax*4 + 0x4c2bbc], edx
mov dword [eax*4 + 0x4c2bf4], edi
add ecx, 0xfffffffd
mov dword [eax*4 + 0x4c2bc0], edx
mov dword [eax*4 + 0x4c2bf8], edi
mov dword [eax*4 + 0x4c2bc4], edx
mov dword [edx*4 + 0x4c2c2c], ecx
mov dword [eax*4 + 0x4c2bfc], edi
call fcn.00463192
cdq
mov ecx, 0x28
idiv ecx
cmp byte [esp + edx + 0xc], bl
je 0x40772f
cmp dword [edx*4 + 0x4c2c2c], ebp
jl 0x40772f
cmp dword [0x4c2bbc], 0xffffffff
je 0x407764
mov eax, 0x4c2bbc
mov ecx, dword [eax + edi]
add eax, edi
inc ebx
cmp ecx, 0xffffffff
jne 0x407759
mov ebp, dword [edx*4 + 0x4c2c2c]
mov dword [ebx*4 + 0x4c2bbc], edx
mov dword [ebx*4 + 0x4c2bc0], edx
add ebp, 0xfffffffd
mov dword [ebx*4 + 0x4c2bc4], edx
mov dword [edx*4 + 0x4c2c2c], ebp
mov dword [ebx*4 + 0x4c2bf4], edi
lea edx, [esp + 0x34]
mov dword [ebx*4 + 0x4c2bf8], edi
push edx
mov dword [ebx*4 + 0x4c2bfc], edi
call fcn.004077c0
lea eax, [esp + 0x38]
push eax
call fcn.004077c0
add esp, 8
pop edi
pop ebp
pop ebx
add esp, 0x78
ret