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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bf1c7
sub esp, 0x64
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x5be835
nop
nop
movzx edx, byte [0x7bd150]
test dl, dl
je 0x5be7d3
mov edx, dword [esp + 0x74]
mov dword [0x7bd154], edx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5be7c2
mov eax, dword [esp + 0x78]
mov dword [0x7bd158], eax
jmp 0x5be7d7
lea edi, [0x7bd158]
mov eax, dword [esp + 0x78]
call fcn.00463860
jmp 0x5be7d7
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x5be802
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5be7fe
or ebx, 0x80
mov ebp, eax
jmp 0x5be80a
mov ebp, eax
xor ebx, ebx
xor eax, eax
xor edx, edx
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
jne 0x5be83f
test esi, 0x200
jne 0x5be83f
test esi, 0x80
je 0x5be829
mov ebx, dword [eax]
jmp 0x5be82b
mov ebx, eax
test ebx, ebx
jne 0x5be83f
xor ecx, ecx
xor ebp, ebp
jmp 0x5be83f
mov ebp, dword [esp + 0x78]
xor esi, esi
xor edx, edx
xor eax, eax
test ecx, ecx
je 0x5bf066
test esi, esi
je 0x5bef18
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x68]
mov edi, dword [ebx]
mov esi, dword [edi]
mov edi, dword [edi + 4]
test esi, esi
je 0x5be8be
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
call fcn.005bdd70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test eax, eax
jne 0x5bee67
mov ecx, ebx
mov ebx, dword [esp + 0x68]
nop
mov eax, dword [esp + 0x84]
mov edx, eax
and eax, 0x1f
lea esi, [eax - 2]
nop
cmp esi, 4
ja 0x5be8db
mov eax, 2
jmp 0x5be8f7
lea esi, [eax - 7]
cmp esi, 4
ja 0x5be8ea
mov eax, 7
jmp 0x5be8f7
lea esi, [eax - 0xd]
cmp esi, 1
ja 0x5be8f7
mov eax, 0xd
mov dword [esp + 0x30], eax
cmp eax, 0x13
ja 0x5beaf1
cmp eax, 7
ja 0x5be9ff
cmp eax, 1
je 0x5be9b6
cmp eax, 2
je 0x5be96d
cmp eax, 7
jne 0x5bec06
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c0cc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c02c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c1910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
cmp eax, 0xd
je 0x5beaa8
cmp eax, 0x11
je 0x5bea5f
cmp eax, 0x13
jne 0x5bec06
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c52a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c6560
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c2200
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
cmp eax, 0x16
ja 0x5bebeb
cmp eax, 0x14
je 0x5beba2
cmp eax, 0x15
jne 0x5beb51
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c2bd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c4cf0
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, edx
mov edx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x5bed85
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005bf1e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
cmp eax, 0x17
je 0x5bed41
cmp eax, 0x18
je 0x5becfb
cmp eax, 0x19
je 0x5becb2
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0dc0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004095e0
mov eax, dword [esp + 4]
lea ecx, [0x5f33c0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x623972]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c7110
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005bf890
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5bed85
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.005c5690
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
test dl, dl
je 0x5bee53
mov edx, dword [esp + 0x68]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
test edx, edx
je 0x5bee53
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x5bee53
mov ebp, dword [edx + 4]
inc ebp
mov esi, dword [edx]
mov edi, ecx
mov ecx, dword [edx + 8]
cmp ecx, ebp
jae 0x5bee1f
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5f0dc0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov dword [edi + 8], edx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5bee08
mov dword [edi], eax
jmp 0x5bee0d
call fcn.00463860
mov edx, edi
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x48]
mov ebp, ecx
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], ebp
lea ecx, [esi + ebp*8 - 4]
mov dword [ecx], ebx
lea ecx, [esi + ebp*8 - 8]
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5bee3e
mov edx, dword [esp + 0x6c]
mov dword [ecx], edx
jmp 0x5bee55
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x6c]
call fcn.00463860
mov eax, ebx
mov edi, edx
jmp 0x5bee55
mov edi, ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x64
ret
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0dc0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5beec2
mov ecx, dword [eax + 4]
jmp 0x5beec4
mov ecx, eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
lea eax, [0x62343c]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x84]
test eax, eax
je 0x5bef36
test eax, 0x200
jne 0x5bef36
lea ecx, [0x676140]
mov edx, dword [esp + 0x7c]
jmp 0x5bef5d
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004c6120
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
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.004c43a0
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5bf04c
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x5bf04c
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp ebp, edx
jae 0x5bf023
mov dword [esp + 0x44], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5f0dc0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov dword [edi + 8], edx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5bf014
mov dword [edi], eax
jmp 0x5bf019
call fcn.00463860
mov edx, ecx
mov ebx, eax
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
lea ebp, [ebx + edx*8 - 4]
mov dword [ebp], ecx
lea edi, [ebx + edx*8 - 8]
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x5bf043
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
jmp 0x5bf04c
mov eax, dword [esp + 0x6c]
call fcn.00463860
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
movzx ecx, byte [ecx + 0xa]
test cl, cl
je 0x5bf1ad
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x5bf097
test ecx, 0x200
jne 0x5bf097
lea edx, [0x676140]
mov ebx, dword [esp + 0x7c]
jmp 0x5bf0be
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004c6120
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
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.004c43a0
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5bf1ad
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x5bf1ad
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp ebp, edx
jae 0x5bf184
mov dword [esp + 0x44], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5f0dc0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x44]
mov dword [edi + 8], edx
mov edx, dword [0x7e34c0]
test edx, edx
jne 0x5bf175
mov dword [edi], eax
jmp 0x5bf17a
call fcn.00463860
mov edx, ecx
mov ebx, eax
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
lea ebp, [ebx + edx*8 - 4]
mov dword [ebp], ecx
lea edi, [ebx + edx*8 - 8]
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x5bf1a4
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
jmp 0x5bf1ad
mov eax, dword [esp + 0x6c]
call fcn.00463860
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
call fcn.00462450
jmp fcn.005be770