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

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push ebx
mov dword [esp + 0x3c], 0
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [0x72aed8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], 0
test eax, eax
je 0x62f0b2
call eax
test eax, eax
je 0x62f0ae
mov eax, dword [esp + 0x78]
pop ebx
mov dword [eax], 0x55
xor eax, eax
add esp, 0x64
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x84]
push ebp
push esi
push edi
mov edi, dword [esp + 0xac]
mov ebp, 0xfffffffe
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x20], 0
mov eax, dword [edi + 0x20]
sub eax, dword [edi + 0x10]
mov dword [esp + 0x58], eax
lea eax, [ebx + 6]
mov dword [esp + 0x10], eax
cmp byte [edx], 0x85
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], ebp
jne 0x62f130
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x64], eax
xor eax, eax
mov word [esp + 0x6a], ax
lea eax, [esp + 0x64]
mov dword [esp + 0x4c], ecx
mov word [esp + 0x68], cx
mov dword [edi + 0x24], eax
lea eax, [edx + 1]
add ebx, 3
mov byte [eax], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], eax
add ebx, edx
lea eax, [edx + 2]
xor edx, edx
mov byte [eax], 0
cmp dword [esp + 0xb0], edx
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x40]
cmove ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x1c], ebx
je 0x62f179
mov dword [edi + 0x40], eax
cmp dword [esp + 0x88], 0
je 0x62f19e
lea esi, [ebx + 1]
mov byte [ebx], 0x7c
lea eax, [esi + 2]
mov word [esi], 0
add dword [esp + 0x10], 3
mov dword [esp + 0x48], esi
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x6c]
push ecx
push edi
push dword [esp + 0x9c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
push esi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0062a790
add esp, 0x30
test eax, eax
je 0x62f3c8
mov eax, dword [edi + 0x40]
cmp eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
cmovbe eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x62f328
cmp byte [edx], 0x77
je 0x62f23b
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
jmp 0x62f2c7
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
test ecx, ecx
js 0x62f27c
cmp ecx, esi
jne 0x62f255
cmp dword [esp + 0x30], ebp
je 0x62f294
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x34], 0xffffffff
cmovns ecx, eax
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x30]
cmovge eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
test esi, esi
js 0x62f294
mov ecx, dword [esp + 0x24]
test ecx, ecx
jns 0x62f298
mov ecx, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], ecx
jmp 0x62f298
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov eax, ecx
xor eax, ebp
test eax, 0xfffffffd
jne 0x62f2b9
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x20], eax
jne 0x62f2b9
mov dword [esp + 0x20], eax
or ebp, ecx
jmp 0x62f2bc
or ebp, 0xffffffff
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x88], 0
mov dword [esp + 0x14], ebp
je 0x62f321
push 0
mov eax, ecx
mov byte [ebx], 0
push edi
shr eax, 0xb
push 0
and eax, 1
push eax
push edx
call fcn.0062fcb0
mov ecx, eax
add esp, 0x14
cmp ecx, 0xfffffffd
jne 0x62f2ff
mov dword [edi + 0x74], 1
jmp 0x62f31d
test ecx, ecx
js 0x62f393
cmp ecx, dword [edi + 0x48]
jle 0x62f30f
mov dword [edi + 0x48], ecx
mov edx, dword [esp + 0x48]
mov eax, ecx
sar eax, 8
mov byte [edx], al
mov byte [edx + 1], cl
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0x28]
cmp byte [esi], 0x7c
jne 0x62f3df
test eax, eax
je 0x62f362
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x90]
add dword [esp + 0x10], 3
add ebx, 3
mov ecx, dword [esp + 0x54]
mov eax, dword [eax]
add ebx, eax
mov eax, dword [esp + 0x50]
inc esi
mov dword [esp + 0x28], esi
jmp 0x62f168
mov ecx, dword [esp + 0x54]
mov eax, ebx
sub eax, edx
mov byte [ebx], 0x77
sar eax, 8
mov byte [ebx + 1], al
mov al, bl
sub al, dl
mov dword [esp + 0x18], ebx
mov byte [ebx + 2], al
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], ebx
add ebx, 3
inc esi
mov dword [esp + 0x28], esi
jmp 0x62f168
cmp ecx, 0xfffffffe
jne 0x62f3b6
mov ecx, dword [esp + 0x80]
mov eax, 0x24
mov dword [esi], eax
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x64
ret
cmp ecx, 0xfffffffc
mov eax, 0x19
mov edx, 0x46
cmove eax, edx
mov dword [esi], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x64
ret
test eax, eax
jne 0x62f414
mov dword [esp + 0x54], ebx
sub ebx, edx
nop dword [eax]
movzx ecx, byte [edx + 1]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
mov byte [edx + 2], bl
mov eax, ebx
mov ebx, ecx
sar eax, 8
mov byte [edx + 1], al
sub edx, ebx
test ecx, ecx
jne 0x62f3f0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
sub eax, ecx
mov byte [ebx], 0x78
sar eax, 8
mov byte [ebx + 1], al
mov al, bl
sub al, cl
mov byte [ebx + 2], al
add ebx, 3
cmp dword [esp + 0x4c], 0
jbe 0x62f4c6
mov eax, dword [edi + 0x24]
cmp word [eax + 6], 0
je 0x62f4bb
push dword [esp + 0x58]
mov eax, dword [esp + 0x7c]
shr eax, 0xb
push edi
and eax, 1
mov byte [ebx], 0
push eax
push 3
push ecx
call fcn.00628cc0
mov ecx, dword [esp + 0x40]
mov eax, ebx
sub eax, ecx
push eax
push ecx
lea eax, [ecx + 3]
push eax
call fcn.005f9170
mov eax, dword [esp + 0x4c]
lea edx, [ebx + 3]
mov ebx, dword [esp + 0x4c]
mov ecx, edx
sub ecx, eax
add esp, 0x20
sar ecx, 8
mov byte [eax], 0x81
mov eax, dword [esp + 0x5c]
mov byte [eax], cl
mov al, dl
sub al, bl
mov ebx, dword [esp + 0x60]
mov byte [ebx], al
lea ebx, [edx + 3]
mov byte [edx], 0x78
mov byte [edx + 1], cl
mov byte [edx + 2], al
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x24]
add ecx, 6
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov dword [edi + 0x24], eax
jmp 0x62f4ca
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x24], eax
jmp 0x62f4ca
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x7c]
mov dword [eax], ebx
mov eax, dword [esp + 0x80]
mov dword [eax], esi
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov dword [eax], edx
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x20]
mov dword [eax], esi
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0xb0]
mov dword [eax], edx
mov eax, dword [esp + 0xa4]
mov dword [eax], ebp
test esi, esi
je 0x62f544
mov edx, dword [esi]
mov eax, 0x7fffffeb
sub eax, edx
cmp eax, ecx
jge 0x62f53f
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword [eax], 0x14
xor eax, eax
pop ebx
add esp, 0x64
ret
lea eax, [edx + ecx]
mov dword [esi], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret