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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4895f0]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x4c], eax
push ebp
mov ebp, dword [esp + 0x90]
test ebp, ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push esi
mov dword [esp + 0x60], eax
jbe 0x427995
movzx ecx, word [ebx + eax*2]
inc word [esp + ecx*2 + 0x44]
lea ecx, [esp + ecx*2 + 0x44]
inc eax
cmp eax, ebp
jb 0x427983
mov esi, dword [esp + 0x9c]
mov ecx, dword [esi]
mov eax, 0xf
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jmp 0x4279b0
cmp word [esp + eax*2 + 0x44], 0
jne 0x4279be
dec eax
cmp eax, 1
jae 0x4279b0
cmp ecx, eax
mov dword [esp + 0x18], eax
jbe 0x4279cc
mov dword [esp + 0x10], eax
mov ecx, eax
test eax, eax
jne 0x427a12
mov word [esp + 0xe], ax
mov eax, dword [esp + 0x98]
mov edx, dword [eax]
mov byte [esp + 0xc], 0x40
mov byte [esp + 0xd], 1
mov ecx, dword [esp + 0xc]
mov dword [edx], ecx
mov edx, dword [eax]
add edx, 4
mov dword [eax], edx
mov dword [edx], ecx
add dword [eax], 4
mov dword [esi], 1
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
call fcn.0044ce74
add esp, 0x7c
ret
mov esi, 1
cmp word [esp + esi*2 + 0x44], 0
jne 0x427a59
cmp word [esp + esi*2 + 0x46], 0
jne 0x427a49
cmp word [esp + esi*2 + 0x48], 0
jne 0x427a4c
cmp word [esp + esi*2 + 0x4a], 0
jne 0x427a51
cmp word [esp + esi*2 + 0x4c], 0
jne 0x427a56
add esi, 5
cmp esi, 0xf
jbe 0x427a17
jmp 0x427a59
inc esi
jmp 0x427a59
add esi, 2
jmp 0x427a59
add esi, 3
jmp 0x427a59
add esi, 4
cmp ecx, esi
jae 0x427a61
mov dword [esp + 0x10], esi
mov edx, 1
mov eax, edx
jmp 0x427a70
movzx ecx, word [esp + eax*2 + 0x44]
add edx, edx
sub edx, ecx
js 0x427ab3
inc eax
cmp eax, 0xf
jbe 0x427a70
test edx, edx
push edi
mov edi, dword [esp + 0x90]
jle 0x427ac6
test edi, edi
je 0x427a9f
movzx eax, word [esp + 0x48]
mov ecx, ebp
sub ecx, eax
cmp ecx, 1
je 0x427ac6
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x78]
call fcn.0044ce74
add esp, 0x7c
ret
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x78]
call fcn.0044ce74
add esp, 0x7c
ret
mov word [esp + 0x6a], 0
mov eax, 2
jmp 0x427ae0
mov dx, word [esp + eax + 0x68]
add dx, word [esp + eax + 0x48]
mov cx, word [esp + eax + 0x4a]
add cx, dx
mov word [esp + eax + 0x6a], dx
mov word [esp + eax + 0x6c], cx
add eax, 4
cmp eax, 0x1e
jb 0x427ae0
xor eax, eax
test ebp, ebp
jbe 0x427b3d
lea ebx, [ebx]
cmp word [ebx + eax*2], 0
je 0x427b38
movzx edx, word [ebx + eax*2]
movzx ecx, word [esp + edx*2 + 0x68]
mov edx, dword [esp + 0xa4]
mov word [edx + ecx*2], ax
movzx edx, word [ebx + eax*2]
inc word [esp + edx*2 + 0x68]
lea edx, [esp + edx*2 + 0x68]
inc eax
cmp eax, ebp
jb 0x427b10
mov eax, edi
sub eax, 0
mov edx, 0xffffffff
je 0x427b84
dec eax
je 0x427b62
mov dword [esp + 0x38], 0x470920
mov dword [esp + 0x3c], 0x470960
mov dword [esp + 0x2c], edx
jmp 0x427b9b
mov eax, 0x4708a0
sub eax, 0x202
mov dword [esp + 0x38], eax
mov eax, 0x4708e0
sub eax, 0x202
mov dword [esp + 0x2c], 0x100
jmp 0x427b97
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0x13
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov eax, 1
shl eax, cl
mov dword [esp + 0x30], edx
xor ebp, ebp
xor ebx, ebx
cmp edi, 1
lea edx, [eax - 1]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edx
jne 0x427bde
cmp eax, 0x506
jae 0x427e56
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x24], eax
lea esp, [esp]
mov cl, byte [esp + 0x18]
mov esi, dword [esp + 0x24]
mov ax, word [esi]
mov edx, dword [esp + 0x2c]
sub cl, bl
mov byte [esp + 0x11], cl
movzx ecx, ax
cmp ecx, edx
jge 0x427c18
mov byte [esp + 0x10], 0
mov word [esp + 0x12], ax
jmp 0x427c45
jle 0x427c39
movzx eax, word [esi]
mov edx, dword [esp + 0x3c]
shl eax, 1
mov cl, byte [eax + edx]
mov edx, dword [esp + 0x38]
mov ax, word [eax + edx]
mov byte [esp + 0x10], cl
mov word [esp + 0x12], ax
jmp 0x427c45
mov byte [esp + 0x10], 0x60
mov word [esp + 0x12], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
sub ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, ebx
mov edi, ebp
shr edi, cl
mov ecx, dword [esp + 0x20]
lea esi, [eax*4]
add edi, edx
lea ecx, [ecx + edi*4]
mov edi, dword [esp + 0x10]
sub edx, eax
sub ecx, esi
test edx, edx
mov dword [ecx], edi
jne 0x427c70
mov edx, dword [esp + 0x18]
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
test ebp, eax
je 0x427c96
lea esp, [esp]
shr eax, 1
test ebp, eax
jne 0x427c90
test eax, eax
je 0x427ca5
lea ecx, [eax - 1]
and ecx, ebp
add ecx, eax
mov ebp, ecx
jmp 0x427ca7
xor ebp, ebp
mov esi, dword [esp + 0x24]
add esi, 2
dec word [esp + edx*2 + 0x48]
cmp word [esp + edx*2 + 0x48], 0
mov dword [esp + 0x24], esi
jne 0x427cdd
cmp edx, dword [esp + 0x1c]
je 0x427da9
mov ecx, dword [esp + 0x94]
mov edx, esi
movzx eax, word [edx]
movzx edx, word [ecx + eax*2]
mov dword [esp + 0x18], edx
cmp edx, dword [esp + 0x14]
jbe 0x427bf0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
and esi, ebp
cmp esi, eax
mov dword [esp + 0x44], esi
je 0x427bf0
test ebx, ebx
jne 0x427d05
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
sub ecx, ebx
mov dword [esp + 0x20], edx
mov eax, 1
lea edx, [ebx + ecx]
shl eax, cl
cmp edx, edi
jae 0x427d4c
lea esi, [esp + edx*2 + 0x48]
movzx edi, word [esi]
sub eax, edi
test eax, eax
jle 0x427d48
mov edi, dword [esp + 0x1c]
inc ecx
inc edx
add esi, 2
shl eax, 1
cmp edx, edi
jb 0x427d30
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov eax, 1
shl eax, cl
add edx, eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x90], 1
mov dword [esp + 0x28], edx
jne 0x427d78
mov eax, edx
cmp eax, 0x506
jae 0x427e56
mov edx, esi
mov esi, dword [esp + 0x9c]
mov eax, dword [esi]
mov byte [eax + edx*4], cl
mov ecx, dword [esi]
mov al, byte [esp + 0x14]
mov byte [ecx + edx*4 + 1], al
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x30], edx
mov word [eax + edx*4 + 2], cx
jmp 0x427bf0
mov edi, dword [esp + 0x9c]
mov al, dl
sub al, bl
test ebp, ebp
mov byte [esp + 0x10], 0x40
mov byte [esp + 0x11], al
mov word [esp + 0x12], 0
je 0x427e25
mov esi, dword [esp + 0x20]
lea esp, [esp]
test ebx, ebx
je 0x427df4
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
and ecx, ebp
cmp ecx, eax
je 0x427df4
mov eax, dword [esp + 0x14]
mov esi, dword [edi]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov byte [esp + 0x11], al
mov edx, eax
mov ecx, ebx
mov eax, ebp
shr eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esi + eax*4], ecx
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
test ebp, eax
je 0x427e16
nop
shr eax, 1
test ebp, eax
jne 0x427e10
test eax, eax
je 0x427e25
lea ecx, [eax - 1]
and ecx, ebp
add ecx, eax
mov ebp, ecx
jne 0x427dd0
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
lea eax, [edx*4]
mov edx, dword [esp + 0x14]
add ecx, eax
mov dword [edi], ecx
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
call fcn.0044ce74
add esp, 0x7c
ret
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
call fcn.0044ce74
add esp, 0x7c
ret