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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5be57e
sub esp, 0x6c
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.0053f900
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be168
jmp 0x5be171
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5be29e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
nop
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 3
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.0053f900
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be295
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0053f900
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be295
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
inc ebp
cmp ebx, ebp
jae 0x5be25f
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6378a0]
mov dword [esp + 0x10], eax
call fcn.00447550
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
mov dword [edi + 8], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5be254
mov dword [edi], eax
jmp 0x5be259
call fcn.0045efc0
mov edx, eax
mov ebp, ecx
mov ecx, edi
mov dword [ecx + 4], ebp
lea ebx, [ebp + ebp*2]
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov dword [edx + ebx*4 - 8], ebp
mov dword [edx + ebx*4 - 4], esi
mov ebp, dword [0xe996c0]
lea edi, [edx + ebx*4 - 0xc]
test ebp, ebp
jne 0x5be28e
mov dword [edx + ebx*4 - 0xc], eax
jmp 0x5be2a9
call fcn.0045efc0
jmp 0x5be2a9
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 1
add esp, 0x6c
ret
mov ecx, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5be171
mov word [esp + 0x22], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
cmp edx, 2
jge 0x5be2e9
xor eax, eax
jmp 0x5be305
add edx, 0xfffffffe
mov dword [esp + 0x40], edx
lea edx, [ebx - 2]
mov dword [esp + 0x44], edx
neg edx
sar edx, 0x1f
and edx, 2
add edx, eax
mov dword [esp + 0x3c], edx
test eax, eax
je 0x5be31c
movzx edx, byte [eax]
shl edx, 8
movzx ebx, byte [eax + 1]
or edx, ebx
mov word [esp + 0x22], dx
test eax, eax
je 0x5be46c
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.0053f900
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be46c
mov eax, dword [esp + 0x74]
cmp dword [eax + 4], 1
jg 0x5be2a7
movzx ecx, word [esp + 0x22]
cmp cx, 5
jne 0x5be3f4
mov byte [esp + 0x21], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
test ecx, ecx
jne 0x5be381
xor edx, edx
jmp 0x5be39b
dec ecx
mov dword [esp + 0x4c], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x50], ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add ecx, edx
mov dword [esp + 0x48], ecx
test edx, edx
je 0x5be3a6
movzx ecx, byte [edx]
mov byte [esp + 0x21], cl
je 0x5be3e2
cmp byte [esp + 0x21], 1
je 0x5be3b6
mov ecx, 1
jmp 0x5be3e7
nop
lea ecx, [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], 3
lea ecx, [eax + 0x20]
mov dword [esp + 8], ecx
call fcn.0053f900
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x74]
jmp 0x5be3e7
mov ecx, 1
test cl, cl
jne 0x5be45a
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x5be449
jmp 0x5be45a
cmp cx, 0x12
jne 0x5be2a7
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0053f900
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be463
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5be475
jmp 0x5be463
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x5be2a7
jmp 0x5be575
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5be445
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
nop
lea eax, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.0053f900
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be56c
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x5be56c
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x30]
inc edx
mov ebx, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x34]
cmp ebp, edx
jae 0x5be531
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6378a0]
mov dword [esp + 0x10], eax
call fcn.00447550
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x34], edx
mov edx, dword [0xe996c0]
test edx, edx
jne 0x5be521
mov dword [ebx + 0x2c], eax
jmp 0x5be529
lea edi, [ebx + 0x2c]
call fcn.0045efc0
mov ebx, eax
mov edx, ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x30], edx
lea edx, [edx + edx*2]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov dword [ebx + edx*4 - 8], ebp
mov dword [ebx + edx*4 - 4], esi
mov ebp, dword [0xe996c0]
lea edi, [ebx + edx*4 - 0xc]
test ebp, ebp
jne 0x5be562
mov dword [ebx + edx*4 - 0xc], eax
jmp 0x5be475
call fcn.0045efc0
jmp 0x5be475
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
call fcn.0045dbb0
jmp fcn.005be110