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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb8]
cmp eax, dword [ecx + 8]
jbe 0x5bf747
sub esp, 0x138
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea eax, [0x5d2e40]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0xa8], eax
test byte [eax], al
lea ecx, [eax + 0xa8]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call fcn.00462cb0
mov eax, dword [esp + 0x140]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
test ecx, ecx
je 0x5bf735
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x8c], edx
nop
mov eax, dword [ecx + 0x1c]
mov dword [esp], edx
lea ebx, [0x646ce0]
mov dword [esp + 4], ebx
lea ebx, [0x7e32f0]
mov dword [esp + 8], ebx
call eax
mov eax, dword [esp + 0x10]
lea ecx, [0x6502a0]
cmp dword [esp + 0xc], ecx
jne 0x5bf72e
mov ecx, dword [esp + 0x140]
mov edx, dword [ecx + 8]
test edx, edx
je 0x5bf6d2
mov ebx, dword [ecx + 0x1c]
test ebx, ebx
je 0x5bf676
mov ebp, dword [edx]
mov edx, dword [edx + 4]
cmp edx, 4
jne 0x5bf651
cmp dword [ebp], 0x70747468
jne 0x5bf651
mov esi, 1
mov dword [esp + 0x68], eax
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x5bed92
lea edi, [esp + 0x108]
xor eax, eax
call fcn.0045cbb4
lea ecx, [0x66eee0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea ecx, [esp + 0x108]
mov dword [esp + 8], ecx
call fcn.0040e530
jmp 0x5bec88
mov ecx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jle 0x5bec79
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov dword [esp + 0x60], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x38], edx
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00593670
movzx eax, byte [esp + 8]
test al, al
jne 0x5beb39
nop
mov eax, dword [esp + 0x140]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
jne 0x5bec6c
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x643700]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x643700]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x689ba2]
mov dword [esp], eax
mov dword [esp + 4], 0x32
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004abbc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
add esp, 0x138
ret
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
jmp 0x5beb8f
lea eax, [esp + 0x108]
mov dword [esp], eax
call fcn.0040e7a0
mov eax, dword [esp + 0x108]
test eax, eax
je 0x5bed92
mov ecx, dword [esp + 0x10c]
mov edx, dword [eax]
mov dword [esp + 0x7c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov ebx, dword [ecx]
mov dword [esp + 0x58], ebx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005935c0
movzx eax, byte [esp + 8]
test al, al
je 0x5becd4
xor eax, eax
jmp 0x5beb40
nop
mov eax, dword [esp + 0x140]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
jne 0x5bed85
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x643700]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [0x6867fd]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004abbc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
add esp, 0x138
ret
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
jmp 0x5becea
mov eax, dword [esp + 0x140]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x5bedb5
je 0x5bf594
lea edx, [0x65dec0]
cmp dword [ecx + 4], edx
jne 0x5bf594
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x13c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005be900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5bf4cb
movzx eax, byte [esp + 0x2f]
test al, al
mov eax, dword [esp + 0x54]
je 0x5bf3d1
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
test ecx, ecx
jne 0x5bf3a2
xor ecx, ecx
test cl, cl
je 0x5beec0
nop
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
test ecx, ecx
jne 0x5beeaf
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x643700]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [0x6823b9]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004abbc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
add esp, 0x138
ret
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x70]
jmp 0x5bee17
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x5bef26
nop
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
jne 0x5bef1c
lea eax, [0x64d2c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x6829a8]
mov dword [eax], ecx
mov dword [esp + 0x144], 0
lea ecx, [0x6cadb0]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], eax
add esp, 0x138
ret
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
jmp 0x5beed5
lea ecx, [esp + 8]
mov dword [esp + 0x94], ecx
lea edx, [esp + 4]
mov dword [esp + 0x90], edx
jmp 0x5bef40
mov eax, ecx
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
call edx
mov dword [esp], 0
call fcn.00406ec0
movzx eax, byte [esp + 8]
test al, al
jne 0x5bf34f
lea eax, [0x674b80]
mov dword [esp], eax
call fcn.0040c800
mov edi, dword [esp + 4]
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x5bf320
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov edx, dword [esp + 0x68]
mov dword [edi + 8], edx
mov ebx, dword [esp + 0x140]
mov dword [edi + 0xc], ebx
mov dword [esp + 0x64], edi
lea edi, [esp + 0xd4]
xor eax, eax
call fcn.0045cbba
mov ecx, dword [esp + 0x13c]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.005c01f0
lea edi, [esp + 0xd4]
mov esi, dword [esp + 0x94]
call fcn.0045d094
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x24]
lea edi, [esp + 0xbc]
lea esi, [esp + 0xd4]
call fcn.0045d094
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x5bf2d5
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edi, dword [esp + 0x94]
lea esi, [esp + 0xbc]
call fcn.0045d094
call fcn.005c22f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
test ecx, ecx
jne 0x5bf264
mov dword [esp + 0x78], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x5bf243
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov ecx, dword [esp + 0x140]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.005c1a30
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x5bf1f4
mov dword [esp + 0x44], ecx
mov dword [esp + 0x88], edx
lea eax, [0x644a20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040a2a0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5bf17b
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.005c16a0
movzx eax, byte [esp + 8]
test al, al
jne 0x5bf141
mov edx, dword [0x61bea0]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.005bf7d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x5bef3e
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ebx
add esp, 0x138
ret
mov eax, dword [esp + 0x78]
lea esi, [eax + 0xc]
lea edi, [esp + 0xec]
call fcn.0045d08a
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov edi, dword [esp + 0x90]
lea esi, [esp + 0xec]
call fcn.0045d08a
call fcn.005c3180
jmp 0x5bf0f7
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xc], edx
call fcn.005bf990
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5bf0f7
mov eax, dword [esp + 0x44]
lea ecx, [0x6cb830]
cmp eax, ecx
jne 0x5bf1e9
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], eax
add esp, 0x138
ret
mov ecx, eax
mov eax, dword [esp + 0x88]
jmp 0x5bf1c9
test byte [eax], al
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5bf22e
mov ecx, dword [esp + 0x140]
mov dword [eax + 0x44], ecx
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
add esp, 0x138
ret
lea edi, [eax + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x140]
call fcn.0045c920
mov eax, ecx
jmp 0x5bf20a
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.005c7c80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
jmp 0x5bf0a1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.005c1a30
nop
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
jne 0x5bf2cb
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14c], eax
add esp, 0x138
ret
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
jmp 0x5bf2a0
nop
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ebx, ebx
jne 0x5bf304
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], edx
add esp, 0x138
ret
mov dword [esp + 0x80], edx
mov ecx, dword [ebx + 0x10]
mov dword [esp], eax
call ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x80]
jmp 0x5bf2e4
mov eax, dword [esp + 0x74]
call fcn.0045c920
lea ecx, [edi + 8]
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x68]
call fcn.0045c920
lea edi, [edx + 0xc]
mov eax, dword [esp + 0x140]
call fcn.0045c920
mov edi, edx
jmp 0x5befa7
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
jne 0x5bf398
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
add esp, 0x138
ret
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
jmp 0x5bf35d
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x692824]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004bb210
cmp dword [esp + 0x10], 0xffffffff
sete cl
xor ecx, 1
mov eax, dword [esp + 0x70]
jmp 0x5bee00
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ecx, ecx
jne 0x5bf4be
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [0x6825ba]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x643700]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x643700]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x679e05]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004abbc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
add esp, 0x138
ret
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
jmp 0x5bf3df
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
cmp dword [0x7cceb0], eax
je 0x5bf50b
mov dword [esp + 0x144], edx
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
add esp, 0x138
ret
mov dword [esp + 0x84], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0x7cceb4]
mov dword [esp + 8], edx
call fcn.00404120
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5bf54a
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x6c]
jmp 0x5bf4ef
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.005bf7d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5bf574
movzx edx, byte [esp + 0x2f]
test dl, dl
mov eax, ecx
jmp 0x5bede7
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], edx
add esp, 0x138
ret
lea eax, [0x670320]
mov dword [esp], eax
call fcn.0040c800
mov edi, dword [esp + 4]
mov dword [esp + 0x98], edi
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x5bf62f
mov esi, dword [esp + 0x140]
call fcn.0045cf90
lea eax, [0x65bcc0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x140]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x20]
mov dword [eax], ebx
mov ebx, dword [0x7e34e0]
test ebx, ebx
jne 0x5bf61f
mov dword [eax + 4], edx
lea edx, [0x6ccb10]
mov ebx, dword [esp + 0x98]
mov dword [ebx + 0x20], edx
mov edx, dword [0x7e34e0]
test edx, edx
jne 0x5bf615
mov dword [ebx + 0x24], eax
mov eax, ebx
jmp 0x5bedb5
lea edi, [ebx + 0x24]
call fcn.0045c920
jmp 0x5bf60e
lea edi, [eax + 4]
mov ebx, eax
mov eax, edx
call fcn.0045c920
mov eax, ebx
jmp 0x5bf5f1
lea eax, [0x670320]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x140]
mov dword [esp + 8], eax
call fcn.00411d70
jmp 0x5bf5c3
cmp edx, 5
jne 0x5bf66f
cmp dword [ebp], 0x70747468
jne 0x5bf66f
cmp byte [ebp + 4], 0x73
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x5beaed
xor esi, esi
jmp 0x5beaed
nop
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
test eax, eax
jne 0x5bf6c8
lea eax, [0x64d2c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x18
lea ecx, [0x680dee]
mov dword [eax], ecx
mov dword [esp + 0x144], 0
lea ecx, [0x6cadb0]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], eax
add esp, 0x138
ret
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
jmp 0x5bf681
nop
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
test eax, eax
jne 0x5bf724
lea eax, [0x64d2c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x67f737]
mov dword [eax], ecx
mov dword [esp + 0x144], 0
lea ecx, [0x6cadb0]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], eax
add esp, 0x138
ret
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
jmp 0x5bf6dd
xor eax, eax
jmp 0x5beab0
nop
mov edx, dword [0x7cc06c]
lea ecx, [0x6cd440]
jmp 0x5bea74
call fcn.0045b380
jmp fcn.005be9f0