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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x94
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x60], edx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [0x58b900]
mov ebx, dword [eax]
mov edi, dword [edx]
mov edx, ebx
lea eax, [ecx*8]
imul edx, eax
cmp edi, ebx
jl 0x4210df
imul eax, ebx
mov esi, dword [ebp + 0x14]
sub esi, eax
mov dword [esp + 0x24], edi
add edx, esi
mov edi, dword [0x58b9c4]
test edi, edi
mov dword [0x57c268], 1
jle 0x4210d1
xor esi, esi
mov eax, 1
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x20], ecx
shl eax, 4
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x74]
mov ebx, dword [eax + esi - 0x10]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x74], ebx
mov ecx, dword [eax + ebx*8]
mov ebx, dword [eax + ebx*8 + 4]
mov edx, dword [eax + edi*8]
mov esi, dword [eax + edi*8 + 4]
inc edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x6c], ecx
lea edx, [esi + 1]
mov dword [esp + 0x4c], edx
lea edx, [eax - 1]
imul edx, dword [0x58b9c4]
add edx, dword [0x58b8a8]
mov dword [esp + 0x48], edx
push 0x58b8ac
lea ecx, [esp + 0x4c]
push ecx
push 0x58b8a4
push 0x57c268
push 0x57c260
call fcn.0044cfc0
mov eax, dword [esp + 0x5c]
mov edx, dword [0x57c268]
add edx, dword [0x58b8a8]
mov ecx, dword [0x57c260]
lea eax, [eax - 1]
imul eax, dword [0x58b9c4]
add eax, edx
cdq
mov dword [esp], 0
mov dword [esp + 0x68], ecx
push 0x20
push edx
push eax
lea ecx, [esp + 0x74]
push ecx
push 0x55d308
push 0x8384ff00
push dword [0x58b8a4]
lea eax, [esp + 0x1c]
push eax
call fcn.004f2040
mov eax, dword [0x57c264]
lea edx, [esp + 0x90]
mov dword [esp + 0x90], eax
push edx
push 0x55d310
lea ecx, [esp + 0x28]
push ecx
call fcn.004f3330
push 0
push 0x55d318
lea eax, [esp + 0x34]
push eax
call fcn.004f3330
add esp, 0x38
cmp edi, dword [esp + 0x74]
jg 0x420feb
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x60]
lea ebx, [esp]
mov eax, dword [esi + edi*8]
lea edx, [esp + 0x78]
mov dword [esp + 0x78], eax
push edx
push 0x55d31c
push ebx
call fcn.004f3330
mov eax, dword [esi + edi*8 + 4]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], eax
push edx
push 0x55d324
push ebx
call fcn.004f3330
add esp, 0x18
inc edi
cmp edi, dword [esp + 0x74]
jle 0x420fa4
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
sub ebx, dword [esp + 0x4c]
shl esi, 3
xor edx, edx
inc ebx
lea ecx, [esp + 0x28]
cmovs ebx, edx
mov eax, 1
add esi, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 8
push ecx
push 0x55d32c
lea ebx, [esp + 8]
push ebx
call fcn.004f3330
push 0
push 0x55d334
lea eax, [esp + 0x14]
push eax
call fcn.004f3330
add esp, 0x18
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x50]
jl 0x42109c
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
lea esi, [esp]
mov eax, dword [ebx + edi*8 - 8]
lea edx, [esp + 0x88]
mov dword [esp + 0x88], eax
push edx
push 0x55d338
push esi
call fcn.004f3330
mov eax, dword [ebx + edi*8 - 4]
lea edx, [esp + 0x9c]
mov dword [esp + 0x9c], eax
push edx
push 0x55d340
push esi
call fcn.004f3330
add esp, 0x18
inc edi
cmp edi, dword [esp + 0x6c]
jle 0x421056
push 0
push 0x55d348
lea eax, [esp + 8]
push eax
call fcn.004f3330
add esp, 0xc
mov eax, dword [0x57c268]
inc eax
mov dword [0x57c268], eax
cmp eax, dword [esp + 0x54]
jle 0x420e9c
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
inc ebx
lea edx, [edx + ecx*8]
cmp ebx, dword [esp + 0x24]
jle 0x420e69
add esp, 0x94
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18