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

Disassembly:
push 0xffffffffffffffff
push 0x65a6d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov edx, dword [esp + 0x11c]
push ebx
push ebp
push esi
push edi
xor eax, eax
cmp edx, eax
mov edi, ecx
mov dword [esp + 0x18], edi
je 0x600e52
cmp dword [esp + 0x130], eax
je 0x600e52
mov ecx, dword [edi + 8]
cmp dword [ecx + 8], 0xffffffff
je 0x600e52
mov ebp, dword [esp + 0x13c]
mov cl, byte [ebp + 0x2b]
test cl, cl
jne 0x600ab7
cmp dword [ebp + 0x18], eax
je 0x600e52
mov ecx, dword [ebp + 0x34]
test cl, 0xc
mov esi, dword [esp + 0x138]
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
je 0x600b1f
push eax
push eax
push eax
mov eax, dword [esp + 0x13c]
push eax
push edx
mov ecx, ebp
call fcn.005f4890
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x14], eax
mov eax, ecx
shr eax, 8
and eax, 3
xor edx, edx
cmp eax, 1
jne 0x600b0a
mov edx, dword [esp + 0x14]
sar edx, 1
jmp 0x600b13
cmp eax, 2
jne 0x600b13
mov edx, dword [esp + 0x14]
mov eax, ebx
sub eax, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
shr ecx, 1
test cl, 1
jne 0x600e24
mov ecx, dword [edi + 4]
call fcn.005f7280
test al, 8
jne 0x600e24
mov ecx, ebp
call fcn.005f4820
mov dword [esp + 0x44], eax
mov eax, dword [edi + 4]
push eax
push ebp
call fcn.005fb230
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push 0xa0
lea edx, [esp + 0x88]
push edx
push ebp
push eax
push ecx
mov dword [esp + 0x140], 0
call fcn.00604090
mov dword [esp + 0x94], eax
mov ecx, dword [edi + 4]
lea eax, [esp + 0x44]
push eax
push esi
push ebx
push ecx
mov byte [esp + 0x150], 1
call dword [edi + 0xc]
mov edx, dword [ebp + 0x34]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
add esp, 0x2c
test dh, 3
mov eax, esi
mov ecx, ebx
je 0x600c0a
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.00600e70
mov edx, dword [ebp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
and edx, 0x300
add esp, 0x14
cmp edx, 0x100
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jne 0x600bfa
sar eax, 1
sar ecx, 1
jmp 0x600c02
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub esi, eax
sub ebx, ecx
mov eax, esi
mov ecx, ebx
mov edx, dword [edi + 8]
add ecx, 0x8000
lea ebx, [eax + 0x8000]
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x48], edx
mov edx, dword [edi + 0x10]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
jae 0x600dc4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x12c]
push eax
push ecx
call dword [esp + 0x4c]
mov esi, eax
mov dx, word [esi + 0x12]
add esp, 8
test dx, dx
je 0x600d97
movsx eax, word [esi + 0x18]
mov ecx, dword [esp + 0x24]
movzx edi, word [esi + 0x14]
sar ecx, 0x10
add eax, ecx
movsx ecx, word [esi + 0x1a]
sar ebx, 0x10
add ecx, ebx
mov ebx, dword [esp + 0x40]
movzx edx, dx
add edx, ecx
add edi, eax
test ebx, ebx
mov ebx, dword [esp + 0x48]
mov word [esp + 0x34], cx
mov word [esp + 0x36], ax
mov word [esp + 0x38], dx
mov word [esp + 0x3a], di
jne 0x600d15
cmp dword [ebx + 8], 0
jne 0x600d15
cmp ecx, edx
jge 0x600d15
cmp eax, edi
jge 0x600d15
push edi
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00601070
test al, al
je 0x600d15
mov eax, dword [esi]
test eax, eax
jne 0x600ce9
mov ecx, dword [esp + 0x10]
push esi
call fcn.005fb100
test eax, eax
je 0x600d93
mov cl, byte [esi + 0x1c]
mov dx, word [esi + 0x16]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x42], cl
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
mov word [esp + 0x40], dx
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
jmp 0x600d93
lea ecx, [esp + 0x34]
push ecx
push ebx
lea ecx, [esp + 0x5c]
call fcn.005feb10
mov al, byte [esp + 0x74]
test al, al
jne 0x600d93
mov edi, dword [esi]
test edi, edi
jne 0x600d42
mov ecx, dword [esp + 0x10]
push esi
call fcn.005fb100
mov edi, eax
test edi, edi
je 0x600d93
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x600d59
push ebx
lea edx, [esp + 0x70]
push edx
call fcn.006018d0
test al, al
je 0x600d93
mov ax, word [esi + 0x16]
mov cl, byte [esi + 0x1c]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x20]
mov word [esp + 0x3c], ax
mov byte [esp + 0x3e], cl
mov edx, dword [edi]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call dword [edx + 0x14]
lea ecx, [esp + 0x54]
call fcn.005feb80
mov al, byte [esp + 0x74]
test al, al
je 0x600d71
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + 0xc]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x12c]
add ebx, eax
mov eax, dword [esp + 0x28]
add esi, edx
cmp ecx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], esi
jb 0x600c50
mov esi, dword [esp + 0x14]
test esi, esi
je 0x600df5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x600de5
push eax
call fcn.005fb470
add esp, 4
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x4c]
push ecx
push esi
push ebp
push edi
call fcn.00600ec0
add esp, 0x10
lea ecx, [esp + 0x78]
mov byte [esp + 0x124], 0
call fcn.005ff650
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x124], 0xffffffff
je 0x600e52
push eax
call fcn.005fb470
add esp, 4
jmp 0x600e52
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x12c]
push ebp
push esi
push ebx
push edx
push eax
mov ecx, edi
call fcn.00600950
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push ecx
push edx
push ebp
push edi
call fcn.00600ec0
add esp, 0x10
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 0x14