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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1000
or dword [esp], 0
sub esp, 0x1000
or dword [esp], 0
sub esp, 0x5ac
mov edi, dword [esp + 0x25c4]
mov esi, dword [esp + 0x25cc]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x25c8]
mov ebx, eax
mov ebp, ecx
mov ecx, dword [0x7bb044]
mov dword [esp + 0x259c], ecx
xor ecx, ecx
mov dword [esp + 0x20], esi
mov eax, edx
mov esi, dword [esp + 0x25d0]
mov dword [esp + 0x40], edi
mov edx, dword [esp + 0x25c0]
test ebx, ebx
je 0x6066a7
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x6066a0
test ebp, ebp
jne 0x6065f1
test edx, edx
jne 0x6066a0
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x606605
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x6066a0
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x6066a0
test esi, esi
je 0x606710
lea edi, [esp + 0x98]
mov ecx, 0x116
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xdc]
test eax, eax
jne 0x606700
mov edi, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov eax, edi
or eax, esi
je 0x606700
test byte [esp + 0xac], 0x61
jne 0x606740
mov eax, dword [esp + 0x28]
and eax, 0x400
mov dword [esp + 0x44], eax
jne 0x606750
test word [esp + 0xae], 0xfff7
jne 0x606890
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
jmp 0x606758
mov dword [ebx + 0x1c], 0x18
xor eax, eax
mov edx, dword [esp + 0x259c]
sub edx, dword [0x7bb044]
jne 0x606b46
add esp, 0x25ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call dword [ebx + 0x38]
xor esi, eax
or esi, dword [esp + 0x30]
jne 0x606880
lea esi, [esi]
nop
mov eax, 1
jmp 0x6066a9
lea ecx, [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], ebx
mov dword [esp + 0x30], edx
call fcn.00606bd0
mov edx, dword [esp + 0x30]
test eax, eax
jne 0x606626
jmp 0x6066a7
mov dword [ebx + 0x1c], 5
jmp 0x6066a7
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], edx
cmp edx, eax
mov eax, dword [esp + 0x3c]
sbb eax, dword [esp + 0x30]
jb 0x6068a0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x10], 0x1e
mov edx, eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call dword [ebx + 0x38]
cmp eax, 0x1e
jne 0x606880
cmp dword [esp + 0x78], 0x4034b50
jne 0x6068b0
movzx edx, word [esp + 0x92]
movzx eax, word [esp + 0x94]
mov ecx, dword [ebx + 4]
lea eax, [edx + eax + 0x1e]
xor edx, edx
add eax, dword [esp + 0x38]
adc edx, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
add eax, esi
mov dword [esp + 0x54], edx
adc edx, edi
cmp dword [ebx], eax
sbb ecx, edx
jb 0x6068b0
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x6066c7
cmp word [esp + 0xae], 0
jne 0x6068bc
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call dword [ebx + 0x38]
xor eax, esi
or eax, dword [esp + 0x30]
jne 0x606880
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], ebp
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.00602390
cmp dword [esp + 0xb0], eax
je 0x606700
mov dword [ebx + 0x1c], 0xe
jmp 0x6066a7
mov dword [ebx + 0x1c], 0x14
jmp 0x6066a7
mov dword [ebx + 0x1c], 4
jmp 0x6066a7
mov dword [ebx + 0x1c], 0x1a
jmp 0x6066a7
mov dword [ebx + 0x1c], 9
jmp 0x6066a7
mov dword [esp + 0x4f0], 0
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x606af1
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
add eax, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x5c], ebx
jmp 0x6069c6
mov eax, dword [esp + 0x58]
mov edx, esi
mov esi, dword [esp + 0x30]
add eax, esi
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x4f0]
mov esi, edx
xor edx, edx
mov dword [esp + 0xc], ebp
or esi, ecx
lea esi, [esp + 0x74]
mov dword [esp], eax
setne dl
add ebx, ebp
mov dword [esp + 0x14], esi
add edx, edx
mov dword [esp + 0x10], ebx
or edx, 4
mov dword [esp + 0x18], edx
lea edx, [esp + 0x70]
mov dword [esp + 8], edx
call fcn.006158b0
xor edx, edx
mov ecx, eax
mov eax, dword [esp + 0x70]
sub dword [esp + 0x20], eax
sbb dword [esp + 0x24], edx
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
adc dword [esp + 0x34], edx
xor edx, edx
add dword [esp + 0x28], eax
adc dword [esp + 0x2c], edx
cmp ecx, 1
jne 0x606aab
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
sub eax, ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
or eax, esi
jne 0x606940
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x48]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x606a03
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
xor edx, edx
add eax, esi
jmp 0x60694c
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x60], eax
sbb esi, edx
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
cmovae esi, eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x64]
cmovae esi, dword [esp + 0x3c]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], esi
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0xc], esi
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x38]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
xor eax, edi
or eax, ecx
jne 0x606b4b
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, esi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add dword [esp + 0x50], edx
mov dword [esp + 0x20], edx
adc dword [esp + 0x54], ecx
mov dword [esp + 0x30], esi
sub dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
sbb dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], ecx
jmp 0x60694c
mov ebx, dword [esp + 0x5c]
mov edi, ecx
test ecx, ecx
jne 0x606ad8
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
mov edx, 0xd
mov eax, dword [esp + 0x28]
xor ecx, esi
mov esi, dword [esp + 0x44]
xor eax, esi
or eax, ecx
je 0x606b24
mov dword [ebx + 0x1c], edx
or edi, 0xffffffff
mov eax, dword [ebx + 0x48]
mov esi, dword [esp + 0x40]
or esi, dword [eax + 0x48]
je 0x606b59
test edi, edi
sete al
movzx eax, al
jmp 0x6066a9
mov eax, dword [esp + 0x40]
test eax, eax
je 0x606b6f
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x6066a7
mov dword [esp + 0x60], ecx
xor ecx, ecx
mov dword [esp + 0x38], esi
xor esi, esi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], eax
jmp 0x6068f7
xor eax, eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00602390
cmp dword [esp + 0xb0], eax
je 0x606ad8
mov edx, 0xe
jmp 0x606ad2
call fcn.00401690
mov ebx, dword [esp + 0x5c]
mov edx, 0xb
jmp 0x606ad2
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call dword [ebx + 0x2c]
jmp 0x606ae4
xor eax, eax
mov ecx, 0x10000
mov dword [esp + 4], 1
mov edx, eax
cmp ecx, esi
sbb edx, edi
cmovae ecx, esi
cmovae eax, edi
mov dword [esp + 8], ecx
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x60], ecx
mov dword [esp], eax
call dword [ebx + 0x28]
mov dword [esp + 0x58], eax
test eax, eax
je 0x606bb8
mov dword [esp + 0x38], esi
xor esi, esi
mov dword [esp + 0x3c], edi
xor edi, edi
jmp 0x6068f7
mov dword [ebx + 0x1c], 0x10
jmp 0x6066a7