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

Disassembly:
push 0xffffffffffffffff
push 0x70a91d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
test byte [esp + 0x9c], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x1c], 0
jne 0x6007e9
xor eax, eax
jmp 0x600bcc
push eax
lea eax, [esp + 0x28]
push eax
call fcn.006000e0
add esp, 8
mov ebp, dword [esp + 0x34]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x90], 0
xor ecx, ecx
test ebp, ebp
je 0x600855
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
jmp 0x600820
cmp edx, 8
lea eax, [esp + 0x24]
cmovae eax, esi
movzx eax, word [eax + ecx*2]
cmp eax, 0x23
je 0x60083d
cmp eax, 0x2f
je 0x60083d
cmp eax, 0x3a
jne 0x600850
cmp edx, 8
lea eax, [esp + 0x24]
cmovae eax, esi
movzx ebx, word [eax + ecx*2]
test bx, bx
jne 0x600855
inc ecx
cmp ecx, ebp
jb 0x600820
mov ecx, dword [esp + 0x18]
mov edx, dword [0x82e964]
lea ebp, [ecx + 0x28]
mov dword [esp + 0x14], ebp
test edx, edx
je 0x6008a3
cmp word [edx], di
jne 0x600880
xor ecx, ecx
push ecx
push edx
mov ecx, ebp
call fcn.00419290
mov ecx, dword [esp + 0x18]
jmp 0x6008b8
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x600885
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebp
call fcn.00419290
mov ecx, dword [esp + 0x18]
jmp 0x6008b8
cmp dword [ebp + 0x14], 8
mov dword [ebp + 0x10], edi
jb 0x6008b1
mov eax, dword [ebp]
jmp 0x6008b3
mov eax, ebp
xor edx, edx
mov word [eax], dx
cmp bx, 0x3a
je 0x600a1c
mov esi, dword [0x87f39c]
test esi, esi
je 0x600baa
lea eax, [ecx + 8]
mov dword [esp + 0x20], eax
mov ebp, dword [esi + 8]
lea ecx, [esp + 0x24]
push ecx
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.005c7b10
add esp, 0xc
push eax
mov eax, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x94], 1
mov eax, dword [eax + 0x10]
call eax
push dword [esp + 0x7c]
mov bl, al
mov byte [esp + 0x94], 0
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x78], 8
jb 0x60092a
push dword [esp + 0x64]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
je 0x6009af
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push ebp
call fcn.00600640
mov ebp, dword [esp + 0x20]
mov edi, eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push ebp
push eax
call fcn.005c7b10
add esp, 0xc
mov edx, dword [edi]
mov ecx, edi
push eax
push ebx
mov byte [esp + 0x98], 2
call dword [edx + 0x14]
push dword [esp + 0x7c]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
mov edi, eax
mov byte [esp + 0x94], 0
call ebx
add esp, 4
cmp dword [esp + 0x78], 8
jb 0x600994
push dword [esp + 0x64]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
test edi, edi
jne 0x6009bf
mov esi, dword [esi + 0xc]
test esi, esi
je 0x600a14
mov eax, dword [esp + 0x20]
jmp 0x6008d7
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.005c7b10
add esp, 0xc
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x90], 3
cmp ebp, eax
je 0x6009ee
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.00419170
push dword [esp + 0x5c]
mov byte [esp + 0x94], 0
call ebx
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x600a18
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x600a18
mov ebp, dword [esp + 0x14]
test edi, edi
jne 0x600a89
mov esi, dword [0x87f39c]
test esi, esi
je 0x600baa
lea ebx, [ebx]
mov ebx, dword [esi + 8]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x600a64
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00600640
lea ecx, [esp + 0x24]
push ecx
push ebx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov edi, eax
test edi, edi
jne 0x600a6d
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x600a30
jmp 0x600a81
lea eax, [esp + 0x24]
cmp ebp, eax
je 0x600a81
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.00419170
test edi, edi
je 0x600baa
test byte [esp + 0x9c], 4
je 0x600baa
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x600baa
push 0x28
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x90], 4
test esi, esi
je 0x600b25
push str.wxbf
lea ecx, [esp + 0x48]
call fcn.00418140
mov eax, dword [edi + 8]
lea ecx, [esp + 0x44]
push ecx
push 0x4000
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 5
mov dword [esp + 0x28], 1
mov dword [edi + 8], 0
call fcn.0063dd80
lea eax, [esp + 0x14]
mov dword [esp + 0x90], 6
mov ebx, 3
mov ecx, esi
push eax
mov dword [esp + 0x20], ebx
call fcn.0063dd20
mov esi, eax
jmp 0x600b2b
mov ebx, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x90], 7
test bl, 2
je 0x600b4b
and ebx, 0xfffffffd
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0063df30
mov dword [esp + 0x90], 0
test bl, 1
je 0x600b92
push dword [esp + 0x5c]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x600b7b
push dword [esp + 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov ecx, esi
call fcn.0063e100
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x600ba7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 8], esi
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x38], 8
jb 0x600bca
push dword [esp + 0x24]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x80
ret 8