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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x598be4
sub esp, 0xac
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x64], edx
mov ebx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x60], ebp
mov esi, dword [eax + 0x40]
mov ecx, dword [ecx + 0x14]
mov dword [esp], esi
call ecx
lea eax, [0x79e380]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [esp + 4]
mov ecx, dword [0x8abdc4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov byte [eax + 3], cl
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 0x3c]
mov ebp, dword [edx + 0x40]
mov ebx, dword [ebx + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.0059d860
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 0x60]
test dx, dx
jne 0x598b78
movzx ecx, word [ecx + 0x80]
test cx, cx
je 0x598b13
mov edx, dword [eax + 8]
mov ebx, dword [edx + 0x50]
mov edx, dword [edx + 0x54]
xor ebp, ebp
jmp 0x598243
inc ebp
cmp ebp, edx
jge 0x598aae
movzx esi, word [ebx + ebp*2]
cmp si, cx
jne 0x598242
mov word [esp + 0x32], cx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
movzx eax, word [esp + 0x32]
cmp word [esp + 4], ax
jne 0x5982d8
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x39
mov eax, dword [0xb91180]
test eax, eax
jne 0x5982cb
lea eax, [0x82ddd0]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xac
ret
lea eax, [0x82ddd0]
call fcn.0044f0d0
jmp 0x5982b0
mov word [esp], ax
call fcn.005aed50
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x32]
cmp cx, 0x1d
je 0x5982f9
test al, al
je 0x598a49
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x24]
nop
mov ebx, dword [edx + 4]
mov edx, dword [edx]
test edx, edx
je 0x598a38
mov dword [esp], edx
mov dword [esp + 4], ebx
mov word [esp + 8], cx
call fcn.005aeaf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x598a02
mov ebx, dword [esp + 0xb0]
mov dword [ebx + 0xc], edx
mov ebp, dword [0xb91180]
test ebp, ebp
jne 0x5989f3
mov dword [ebx + 0x10], ecx
mov eax, dword [edx + 0x14]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
lea ebx, [0x79b380]
mov dword [esp], ebx
call fcn.00409f80
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x32]
mov word [eax], cx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x5989de
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 8]
mov dword [edx + 0xcc], 1
mov dword [edx + 0xd0], 1
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x5989ce
mov dword [edx + 0xc8], eax
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ebx + 0x7c]
mov esi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x74]
mov dword [edx + 0xc0], esi
mov dword [edx + 0xc4], ebp
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x5989be
mov dword [edx + 0xbc], eax
mov edi, dword [ecx + 8]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov edx, dword [0xb91180]
test edx, edx
jne 0x5989b2
mov dword [edi], 0
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xe8]
test eax, eax
jg 0x598681
mov eax, dword [ecx + 8]
mov dword [esp], eax
call fcn.0059b6a0
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call fcn.0059b6a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0058f1f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x59866c
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0058f2c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x598657
lea ebx, [0x7c7800]
cmp ebx, edx
jne 0x59864b
mov eax, ecx
jne 0x598556
mov edx, dword [0xb91180]
test edx, edx
jne 0x598541
mov eax, dword [esp + 0xb0]
mov dword [eax + 4], ecx
mov dword [esp], eax
call fcn.00597c20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x598524
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xac
ret
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xac
ret
mov edx, dword [esp + 0xb0]
lea edi, [edx + 4]
mov eax, ecx
call fcn.0044f0d0
mov eax, edx
jmp 0x5984fb
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.0058e890
nop
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x78], eax
lea eax, [0x7c7800]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
nop
lea eax, [0x82fc2f]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bd7c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x598640
mov eax, dword [esp + 0x58]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xac
ret
mov eax, dword [esp + 0x58]
call fcn.0044f0d0
jmp 0x598625
mov eax, ecx
mov ecx, 0
jmp 0x5984e5
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ebx
add esp, 0xac
ret
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0xac
ret
mov eax, dword [ecx + 0x14]
movzx eax, word [eax + 0xe]
mov word [esp], ax
call fcn.00588d40
mov eax, dword [esp + 4]
test eax, eax
je 0x598984
mov ecx, dword [esp + 0xb0]
mov ebx, dword [ecx + 0x38]
mov ebx, dword [ebx + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x59890b
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 0x24]
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0044f1cb
nop
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x598900
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0x84]
mov esi, esp
call fcn.0044f6ae
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x14]
test byte [ecx], al
lea esi, [ecx + 0x34]
lea edi, [esp + 0x98]
call fcn.0044f6ae
mov edi, esp
lea esi, [esp + 0x84]
call fcn.0044f6ae
lea edi, [esp + 0x14]
lea esi, [esp + 0x98]
call fcn.0044f6ae
call fcn.004a57c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call fcn.0044a350
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx + 0xe8]
mov ecx, dword [ecx + 0xe4]
add ebp, dword [ebx + 0x68]
test esi, esi
jbe 0x598bdd
mov dword [ecx + 0xc], ebp
mov ecx, dword [eax + 0x38]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.004ff1c0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x38], ecx
lea edx, [0x79e380]
mov dword [esp], edx
call fcn.00409f80
mov eax, dword [esp + 4]
mov ecx, dword [0x8abdc8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov byte [eax + 3], cl
mov edx, dword [esp + 0x38]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.0059d860
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call fcn.0059b940
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
mov ebp, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
call fcn.005ae830
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
lea ebx, [0x79b2c0]
mov dword [esp], ebx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5988f5
mov eax, dword [esp + 0x70]
mov dword [edi], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0059b9d0
mov ecx, dword [esp + 0xb0]
jmp 0x598446
mov eax, dword [esp + 0x70]
call fcn.0044f0d0
jmp 0x5988c3
lea ecx, [0x835f5c]
jmp 0x5986d4
mov edx, dword [ecx + 8]
mov dword [edx + 0xe8], 0
mov dword [edx + 0xec], 0
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x598975
mov dword [edx + 0xe4], 0
mov edx, dword [ecx + 8]
mov dword [edx + 0xf4], 0
mov dword [edx + 0xf8], 0
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x598963
mov dword [edx + 0xf0], 0
jmp 0x5988e9
lea edi, [edx + 0xf0]
xor eax, eax
call fcn.0044f0d0
jmp 0x5988e9
lea edi, [edx + 0xe4]
xor eax, eax
call fcn.0044f0d0
jmp 0x598936
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xac
ret
xor eax, eax
call fcn.0044f0d0
jmp 0x598435
lea edi, [edx + 0xbc]
call fcn.0044f0d0
jmp 0x598410
lea edi, [edx + 0xc8]
call fcn.0044f0d0
jmp 0x5983e1
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.0044f0d0
mov eax, ecx
jmp 0x5983af
lea edi, [ebx + 0x10]
mov eax, ecx
call fcn.0044f0d0
jmp 0x598352
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb8], eax
add esp, 0xac
ret
mov ebx, dword [0xb7d444]
mov edx, dword [0xb7d440]
jmp 0x59830e
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x30
mov eax, dword [0xb91180]
test eax, eax
jne 0x598aa1
lea eax, [0x82aed9]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xac
ret
lea eax, [0x82aed9]
call fcn.0044f0d0
jmp 0x598a86
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x26
mov eax, dword [0xb91180]
test eax, eax
jne 0x598b06
lea eax, [0x826a1b]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xac
ret
lea eax, [0x826a1b]
call fcn.0044f0d0
jmp 0x598aeb
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x6d
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x36
mov eax, dword [0xb91180]
test eax, eax
jne 0x598b6b
lea eax, [0x82d135]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xac
ret
lea eax, [0x82d135]
call fcn.0044f0d0
jmp 0x598b50
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2b
mov eax, dword [0xb91180]
test eax, eax
jne 0x598bd0
lea eax, [0x82903d]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xac
ret
lea eax, [0x82903d]
call fcn.0044f0d0
jmp 0x598bb5
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.005980f0