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

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x5bf118
sub esp, 0xf4
mov edx, dword [esp + 0x114]
cmp edx, 1
jle 0x5bf0f7
mov ebx, dword [esp + 0x108]
test ebx, ebx
jbe 0x5bf0ee
mov eax, dword [esp + 0x104]
mov ecx, dword [eax]
test ecx, 1
je 0x5be7b5
mov ecx, dword [esp + 0x11c]
cmp ecx, 1
je 0x5be74c
lea eax, [ecx + 0x1f]
shr eax, 5
mov dword [esp + 0x8c], eax
mov dword [esp], eax
call fcn.005bc2d0
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x40], ebx
lea edi, [esp + 0xac]
mov ebp, eax
xor eax, eax
call fcn.0045f340
xor eax, eax
jmp 0x5be817
nop
mov eax, dword [esp + 0x100]
test eax, eax
je 0x5be768
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x100]
jmp 0x5be78f
lea eax, [0x74b960]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448800
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], ecx
add esp, 0xf4
ret
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], 0
mov eax, dword [esp + 0x100]
mov dword [esp + 0x128], eax
add esp, 0xf4
ret
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.005bc2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [esp + ecx*4 + 0xac], eax
lea eax, [ecx + 1]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa0]
cmp eax, 0x10
jl 0x5be7e3
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 8]
mov esi, dword [0x724ee4]
mov dword [esp + 0x54], esi
mov edi, dword [0x724ee0]
cmp esi, ecx
jg 0x5be841
mov eax, dword [eax]
jmp 0x5be8d0
mov dword [esp + 0x9c], edi
cmp esi, 1
jne 0x5be891
lea eax, [0x74b960]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448800
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
mov esi, 1
mov ecx, 1
jmp 0x5be8d0
lea eax, [0x74b960]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.00448800
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x54]
cmp esi, ebp
jg 0x5be8da
mov ebp, esi
cmp eax, edi
je 0x5be917
mov dword [esp + 0x50], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x48], esi
mov dword [esp], eax
mov dword [esp + 4], edi
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045fa40
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0xac]
mov dword [ebp + 4], esi
mov dword [ebp + 8], ecx
mov ecx, dword [0x93d218]
test ecx, ecx
je 0x5be93b
call fcn.0045f0e0
mov dword [edi], eax
mov ecx, dword [ebp]
mov dword [edi + 4], ecx
mov dword [ebp], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x11c]
mov dword [esp + 0x18], ebx
call fcn.005bcc10
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0x93d218]
test ecx, ecx
je 0x5be9b8
call fcn.0045f0e0
mov dword [edi], ebx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ebx
mov eax, 2
jmp 0x5be9cd
mov dword [ebx], edx
mov edx, dword [esp + 0x88]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x5beba3
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp eax, 0x10
jae 0x5bf0e4
mov dword [esp + 0x88], edx
mov eax, dword [esp + eax*4 + 0xac]
mov ecx, dword [esp + edx*4 + 0xac]
mov dword [esp + 0xa8], ecx
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edx, dword [esp + edx*4 + 0xb0]
mov dword [esp + 0xa4], edx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.005bbb80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x93d218]
test ebp, ebp
je 0x5bea6d
call fcn.0045f0e0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.005bcc10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x93d218]
test ebp, ebp
je 0x5beac5
call fcn.0045f0e0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov ebx, dword [esp + 0xa4]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x104]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x20], edx
call fcn.005baba0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ebp, dword [0x93d218]
test ebp, ebp
je 0x5beb42
call fcn.0045f0e0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.005bcc10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov eax, dword [0x93d218]
test eax, eax
je 0x5be9c1
call fcn.0045f0e0
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
jmp 0x5be9c1
mov edx, dword [esp + 0x11c]
lea ecx, [edx - 1]
test ecx, 0x1f
je 0x5bebbf
mov ebx, 1
shl ebx, cl
dec ebx
jmp 0x5bebc4
mov ebx, 0xffffffff
mov ecx, dword [esp + 0x114]
lea ebp, [ecx - 1]
lea esi, [edx - 2]
shr esi, 5
cmp esi, ebp
jge 0x5bebdc
mov eax, esi
jmp 0x5bebe0
mov eax, esi
mov esi, ebp
mov dword [esp + 0x8c], eax
mov dword [esp + 0x5c], ebx
nop
mov ebp, dword [esp + 0x100]
test ebp, ebp
je 0x5bec00
mov edi, dword [esp + 0xf8]
jmp 0x5bec4a
mov dword [esp + 0x60], esi
lea eax, [0x74b960]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448800
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x11c]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, eax
mov ebp, 1
mov eax, dword [esp + 0x8c]
mov dword [edi], 1
mov dword [esp + 0x78], eax
mov eax, 1
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x78]
jmp 0x5bec8f
dec esi
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x110]
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
test esi, esi
jl 0x5beccd
cmp ecx, esi
jbe 0x5bf0dd
mov edx, dword [esp + 0x110]
mov edx, dword [edx + esi*4]
cmp esi, eax
jne 0x5becab
and edx, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x68]
jmp 0x5beeb2
mov dword [esp + 0x94], edi
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [0x93d218]
test eax, eax
jne 0x5bed00
mov edx, dword [esp + 0x90]
jmp 0x5bed13
call fcn.0045f0e0
mov edx, dword [esp + 0x90]
mov dword [edi], edx
mov ebx, dword [ecx]
mov dword [edi + 4], ebx
mov dword [ecx], edx
lea eax, [0x8fdee0]
mov dword [esp], eax
lea edx, [0x7859c0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00464b60
xor eax, eax
jmp 0x5bed67
mov ecx, dword [esp + eax*4 + 0xac]
inc eax
mov dword [esp + 0x88], eax
lea edx, [0x8fdee0]
mov dword [esp], edx
lea ebx, [0x7859c0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00464b60
mov eax, dword [esp + 0x88]
cmp eax, 0x10
jl 0x5bed35
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x44]
jmp 0x5bed7a
dec ebx
test ebx, ebx
jle 0x5bed86
mov ebp, dword [eax + ebx*4 - 4]
test ebp, ebp
je 0x5bed79
mov edx, dword [esp + 0x4c]
cmp ebx, edx
ja 0x5bedaa
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], edx
add esp, 0xf4
ret
mov ecx, ebx
call fcn.0045f190
mov dword [esp + 0xec], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], ebp
shr edx, 0x1c
mov edx, dword [esp + edx*4 + 0xac]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
call fcn.005baba0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.005bcc10
mov eax, dword [esp + 0x58]
add eax, 4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
shl edx, 4
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov ebx, 1
mov byte [esp + 0x33], bl
mov esi, dword [esp + 0x88]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0xec]
mov dword [esp + 0x90], esi
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x88], ecx
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x114]
mov ebx, dword [esp + 0x58]
cmp ebx, 0x20
jge 0x5bec69
mov dword [esp + 0x38], edx
movzx eax, byte [esp + 0x33]
test al, al
jne 0x5beed8
mov eax, dword [esp + 0x88]
jmp 0x5bedb1
mov dword [esp + 0xf0], edi
mov dword [esp + 0x84], ebp
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
call fcn.005bbb80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.005bcc10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005bbb80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.005bcc10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005bbb80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.005bcc10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0xec]
mov dword [esp], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005bbb80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], eax
call fcn.005bcc10
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
jmp 0x5bedb1
mov eax, esi
call fcn.0045f150
mov ecx, 0x10
call fcn.0045f150
xor eax, eax
mov ecx, eax
call fcn.0045f150
call fcn.005c5520
call fcn.0040a670
mov eax, dword [esp + 8]
lea ecx, [0x74af60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434270
nop
call fcn.0045dcb0
jmp fcn.005be6a0