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

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 8], 6
mov ecx, dword [esp + 0x14]
push ebp
push esi
push edi
cmp byte [ecx + 0x3c], 0
lea ebp, [ebx + 0x3c]
jne 0x4276b7
push 0x60
call fcn.0045b119
mov esi, dword [0x48d2c8]
add esp, 4
mov ecx, eax
test esi, esi
je 0x42769a
movsx edx, word [esi + 0x5ee4]
lea eax, [esi + 0x5ee8]
mov edi, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x427690
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov word [esi + 0x5ee4], ax
cwde
add eax, 0xbdd
xor edx, edx
lea eax, [esi + eax*8]
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 4]
inc dword [esi + 0x5edc]
test ecx, ecx
je 0x4276a5
call fcn.00429ae0
jmp 0x4276a7
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, ebp
lea eax, [esp + 0x18]
push eax
call fcn.0041a750
mov esi, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x58]
cmp esi, ecx
jne 0x42777d
inc esi
test ecx, ecx
je 0x4276d5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x4276da
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x42777d
imul ecx, esi, 0x7c
call fcn.00407200
mov edx, dword [ebx + 0x5c]
mov ebp, eax
test edx, edx
je 0x427774
imul ecx, dword [ebx + 0x54], 0x7c
push ecx
push edx
push ebp
call fcn.0044efb0
mov edi, dword [ebx + 0x5c]
add esp, 0xc
test edi, edi
je 0x42776b
mov ecx, dword [0x48d2c8]
test ecx, ecx
je 0x42776b
movsx eax, word [ecx + 0x5ee4]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbdd
mov dword [esp + 0x18], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x427761
movsx eax, word [ecx + 0x5ee4]
inc eax
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov edx, dword [esp + 0x18]
mov word [ecx + 0x5ee4], ax
cwde
add eax, 0xbdd
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5ee0]
push edi
call fcn.004562b2
add esp, 4
mov dword [ebx + 0x5c], ebp
lea ebp, [ebx + 0x3c]
mov dword [ebx + 0x58], esi
imul edi, dword [ebx + 0x54], 0x7c
mov ecx, 0x1f
mov edx, dword [esp + 0x20]
mov esi, edx
add edi, dword [ebx + 0x5c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x54]
imul esi, dword [ebx + 0x54], 0x7c
add esi, dword [ebx + 0x5c]
cmp dword [esi - 4], 0
jne 0x4277ae
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi - 4], eax
cmp byte [esi - 0x74], 0
jne 0x4277d9
mov ecx, dword [esi - 0x78]
call fcn.00407200
mov ecx, dword [esp + 0x20]
push dword [esi - 0x78]
mov dword [esi - 0x7c], eax
mov byte [esi - 0x74], 1
push dword [ecx]
push eax
call fcn.0044efb0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esi - 4]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x4277ef
mov ax, word [edx + 0x4c]
mov word [ecx + 0x3c], ax
imul edi, dword [ebx + 0x54], 0x7c
mov eax, dword [ebx + 0x5c]
add edi, eax
cmp eax, edi
je 0x42781e
nop dword [eax]
cmp byte [eax + 0x3c], 0
mov edx, dword [eax + 0x78]
lea ecx, [edx + 0x38]
jne 0x427814
mov dword [edx + 0x34], eax
xor edx, edx
mov word [ecx], dx
inc word [ecx]
add eax, 0x7c
cmp eax, edi
jne 0x427800
mov ecx, ebx
mov byte [ebx + 0x18], 0
call fcn.00427320
mov eax, dword [esi - 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4