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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x5bf2c7
sub esp, 0x9c
mov edx, dword [0xe71808]
mov ebx, dword [0xe7180c]
test ebx, ebx
jle 0x5bf2ad
mov ecx, dword [esp + 0xa0]
xor eax, eax
xor ebp, ebp
xor esi, esi
jmp 0x5be96e
lea eax, [esi + 0x20]
mov esi, edi
mov edi, edx
mov edx, eax
mov eax, edi
mov dword [esp + 0x30], esi
lea edi, [esp + 0x7c]
mov esi, edx
call fcn.00457240
lea edi, [esp + 0x5c]
lea esi, [esp + 0x7c]
call fcn.00457240
mov ecx, dword [esp + 0xa0]
cmp dword [esp + 0x5c], ecx
jne 0x5bf2a2
mov ebp, dword [esp + 0x78]
mov esi, edx
mov edx, dword [esp + 0x74]
mov edi, edx
lea edx, [eax + 1]
cmp edx, ebx
jl 0x5be963
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], edi
test ebp, ebp
jne 0x5bf194
cmp edi, 4
jne 0x5bf173
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
mov esi, dword [esp + 0xbc]
test esi, esi
je 0x5bed85
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov ebp, dword [esi + 8]
cmp ebp, 0x2fd00e80
ja 0x5bedcf
cmp ebp, 0x188a5798
jne 0x5bedc4
lea ecx, [0x92e2c0]
cmp ecx, esi
jne 0x5bedb0
mov ecx, dword [esp + 0xc0]
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
jne 0x5beb2c
cmp edi, 4
jne 0x5beae1
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x20], eax
call fcn.005a2360
movzx eax, byte [esp + 0x24]
test al, al
je 0x5beaa5
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x9c
ret
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x9e5436]
mov dword [eax], ecx
lea ecx, [0xaa4cf0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.00408810
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
lea ecx, [0x92e2c0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005be850
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
cmp ebp, 0x2fd00e80
jne 0x5bed85
lea ecx, [0x98b340]
mov edx, dword [esp + 0xbc]
cmp ecx, edx
jne 0x5beda6
mov edx, dword [esp + 0xc0]
jne 0x5bed85
cmp edi, 3
jne 0x5bed58
mov dword [esp + 0x44], edx
lea eax, [0x9572a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
lea ecx, [0x8f1bc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.005787f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x5bed43
test eax, eax
jne 0x5bed07
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5becec
xor edx, edx
test edx, edx
jg 0x5bec2f
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x37
lea ecx, [0x9f057c]
mov dword [eax], ecx
lea ecx, [0xaa4cf0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
test edx, edx
jne 0x5becd1
xor edx, edx
test edx, edx
jle 0x5bebf3
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.0058dbc0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5bec95
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x9c
ret
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x9e3bee]
mov dword [eax], ecx
lea ecx, [0xaa4cf0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
movzx edx, byte [eax]
test dl, dl
je 0x5bece2
mov edx, 0xffffffff
jmp 0x5bec3f
mov edx, 1
jmp 0x5bec3f
movzx edx, byte [ecx]
test dl, dl
je 0x5becfd
mov edx, 0xffffffff
jmp 0x5bebef
mov edx, 1
jmp 0x5bebef
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x9e9e9a]
mov dword [eax], ecx
lea ecx, [0xaa4cf0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0x9c
ret
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005be850
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov eax, dword [0xe7a6cc]
mov ecx, dword [0xe7a6c8]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov edx, 0
jmp 0x5beb54
mov esi, 0
mov edx, 0
mov ecx, 0
jmp 0x5bea2f
cmp ebp, 0x2fd00e80
jmp 0x5beb32
cmp ebp, 0x6a2fd0b3
jne 0x5bf02b
lea edx, [0x8f0f00]
cmp edx, esi
jne 0x5bf15f
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x48], edx
lea edx, [0x8f0f00]
jne 0x5bf02b
cmp edi, 2
jne 0x5beffa
lea eax, [0x957240]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
lea ecx, [0x8f1b40]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.005787f0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
test ecx, ecx
jne 0x5befe5
test edx, edx
jne 0x5befa9
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5bef8e
xor edx, edx
test edx, edx
jg 0x5beed1
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x9ef670]
mov dword [eax], ecx
lea ecx, [0xaa4cf0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
test edx, edx
jne 0x5bef73
xor edx, edx
test edx, edx
jle 0x5bee95
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.005aa730
movzx eax, byte [esp + 0x18]
test al, al
je 0x5bef37
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x9c
ret
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1e
lea ecx, [0x9e24d9]
mov dword [eax], ecx
lea ecx, [0xaa4cf0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
movzx edx, byte [eax]
test dl, dl
je 0x5bef84
mov edx, 0xffffffff
jmp 0x5beee1
mov edx, 1
jmp 0x5beee1
movzx edx, byte [ecx]
test dl, dl
je 0x5bef9f
mov edx, 0xffffffff
jmp 0x5bee91
mov edx, 1
jmp 0x5bee91
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x9e8970]
mov dword [eax], ecx
lea ecx, [0xaa4cf0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov dword [esp], edi
mov dword [esp + 4], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call fcn.005be850
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
cmp ebp, 0xcc456746
jne 0x5bed85
lea edx, [0x93aca0]
cmp edx, esi
jne 0x5bf155
mov ebp, dword [esp + 0xc0]
jne 0x5bed85
cmp edi, 1
jne 0x5bf128
nop
add ecx, 0xfffffff3
cmp ecx, 2
ja 0x5bf0ca
mov dword [esp], ebp
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0xffffffff
call fcn.005703a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov dword [esp], ebp
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
call fcn.0056efa0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.005be850
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov ebp, 0
jmp 0x5bf04c
mov edx, 0
mov dword [esp + 0x48], edx
lea edx, [0x8f0f00]
jmp 0x5bedfa
mov eax, dword [0xe7a6cc]
mov ecx, dword [0xe7a6c8]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
cmp ebp, 2
je 0x5bf27b
cmp ebp, 0x14
jae 0x5bf274
mov edx, dword [0xe7b1cc]
mov ebx, dword [0xe7b1c8]
cmp ebp, edx
jae 0x5bf2bd
mov eax, dword [ebx + ebp*4]
test eax, eax
setne al
test al, al
je 0x5bf253
mov dword [esp], ebp
call fcn.0053b060
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
jmp 0x5be9dc
mov eax, dword [0xe7a6c8]
mov ecx, dword [0xe7a6cc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0x9c
ret
xor eax, eax
jmp 0x5bf1c2
mov dword [esp], ecx
call fcn.004086c0
mov eax, dword [esp + 4]
lea ecx, [0xaa5c10]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x9c
ret
mov esi, edx
mov edx, dword [esp + 0x30]
jmp 0x5be9a5
mov ecx, dword [esp + 0xa0]
xor ebp, ebp
xor edi, edi
jmp 0x5be9ae
mov eax, ebp
mov ecx, edx
call fcn.00456b40
nop
call fcn.00455270
jmp fcn.005be920