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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x59905c
sub esp, 0xb8
mov eax, 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov byte [esp + 0x1b], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0046c0b0
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x14]
mov dword [esp], edx
lea edx, [esp + 0x40]
mov dword [esp + 4], edx
call fcn.00549440
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ebp, [0x5990b0]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], edx
lea edx, [esp + 0x40]
mov dword [esp + 0xac], edx
lea edx, [esp + 0xa4]
mov dword [esp + 0xb4], edx
mov byte [esp + 0x1b], 1
mov dword [esp], ebx
call fcn.005912f0
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x598a6f
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea ecx, [0x599070]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x1b], 3
mov ecx, dword [esp + 0xbc]
mov ebx, dword [ecx + 0x194]
mov ebp, dword [ebx]
mov dword [esp + 0x98], ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x3c], ebx
xor edx, edx
jmp 0x598abc
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov byte [esp + 0x1b], 0
mov edx, dword [esp + 0xb4]
mov eax, dword [edx]
call eax
add esp, 0xb8
ret
mov esi, dword [esp + 0x38]
lea edx, [esi + 1]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x98]
cmp edx, ebx
jge 0x598b1c
mov dword [esp + 0x38], edx
mov eax, dword [ebp + edx*4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 4]
lea ebx, [0x666100]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d6a0
mov eax, dword [esp + 8]
mov dword [esp + 0x94], eax
mov ecx, dword [eax + 0x7c]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
xor edx, edx
jmp 0x598e51
mov ebx, dword [0x8a6758]
test ebx, ebx
je 0x598b92
call fcn.0054a900
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [0x8a5ff4]
lea edx, [0x634320]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004128e0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x598b60
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x598b64
xor ecx, ecx
xor eax, eax
test ecx, ecx
jne 0x598b6e
xor eax, eax
xor ecx, ecx
jmp 0x598b8c
lea edx, [0x666100]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040d750
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
jmp 0x598bd3
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov byte [esp + 0x1b], 1
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x1b], 0
mov edx, dword [esp + 0xb4]
mov eax, dword [edx]
call eax
add esp, 0xb8
ret
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], ecx
test ebx, ebx
je 0x598c1b
test eax, eax
jne 0x598bed
mov edx, 1
jmp 0x598c1d
mov dword [esp + 0x20], ebx
mov edx, dword [eax + 0xc8]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x1c]
jmp 0x598c1d
xor edx, edx
test dl, dl
je 0x598c9a
mov dword [esp], ebx
call fcn.0054ac60
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [0x8a5ff4]
lea edx, [0x634320]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004128e0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x598c5f
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x598c63
xor ecx, ecx
xor eax, eax
test ecx, ecx
jne 0x598c77
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
jmp 0x598bcf
lea edx, [0x666100]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040d750
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x598bcf
test eax, eax
jne 0x598ca2
xor edx, edx
jmp 0x598d08
mov edx, dword [eax + 0xc8]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
test eax, eax
jne 0x598cc4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
xor edx, edx
jmp 0x598d08
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc8]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
cmp dword [ecx + 0x14], eax
sete al
mov ecx, dword [esp + 0x80]
mov edx, eax
mov eax, dword [esp + 0x1c]
test dl, dl
je 0x598b92
mov edx, dword [eax + 0x7c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
xor edx, edx
jmp 0x598d31
inc edx
cmp edx, eax
jge 0x598b92
lea ebx, [ecx + edx*8]
mov ebp, dword [ebx]
cmp dword [0x8a6758], ebp
jne 0x598d30
mov dword [esp + 0x38], edx
mov eax, dword [ebx + 4]
mov ecx, dword [0x8a675c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00407c30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x598d7d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x38]
jmp 0x598d30
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xc]
add eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0053e2a0
mov eax, dword [0x8a6758]
mov ecx, dword [0x8a675c]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x598e02
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x38]
jmp 0x598d30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov byte [esp + 0x1b], 1
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x1b], 0
mov edx, dword [esp + 0xb4]
mov eax, dword [edx]
call eax
add esp, 0xb8
ret
mov ebx, dword [esp + 0x30]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
cmp edx, eax
jge 0x598a9c
mov dword [esp + 0x30], edx
lea ebx, [ecx + edx*8]
mov ebp, dword [ebx]
mov dword [esp + 0x2c], ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x88], ebx
cmp dword [0x8a6750], ebp
jne 0x598eb1
mov eax, dword [0x8a6754]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00407c30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x598eff
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x2c]
cmp dword [0x8a6758], ebp
jne 0x598f99
mov eax, dword [0x8a675c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00407c30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x598e3f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x2c]
jmp 0x598f99
lea eax, [0x639ce0]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 8], edx
call fcn.0040d750
mov eax, dword [esp + 0xc]
test eax, eax
je 0x598f44
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x598e3f
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov dword [esp], eax
call fcn.0054b510
movzx eax, byte [esp + 4]
test al, al
jne 0x598f7d
mov eax, 1
jmp 0x598f91
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0054b5b0
movzx eax, byte [esp + 4]
xor eax, 1
test al, al
jne 0x598e3f
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xc]
add eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0053e2a0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x598e3f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov byte [esp + 0x1b], 1
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x1b], 0
mov edx, dword [esp + 0xb4]
mov eax, dword [edx]
call eax
add esp, 0xb8
ret
call fcn.0046aab0
jmp fcn.00598920