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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5becd1
sub esp, 0x7c
lea eax, [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
call fcn.00451960
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
cmp eax, 0x20
jne 0x5bea83
lea eax, [ecx + 8]
mov dword [esp + 0x70], eax
lea ebx, [edx - 8]
lea ebp, [ecx + 0xc]
lea esi, [edx - 0xc]
lea edi, [ecx + 0x10]
lea eax, [edx - 0x10]
mov dword [esp + 0x2c], eax
lea eax, [ecx + 0x14]
mov dword [esp + 0x64], eax
lea eax, [edx - 0x14]
jmp 0x5beb32
cmp eax, 0x24
je 0x5beab2
cmp eax, 0x26
jne 0x5bec87
cmp byte [ecx], 0x7b
jne 0x5bea9c
cmp byte [ecx + 0x25], 0x7d
je 0x5beaab
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
inc ecx
dec edx
mov eax, 0x24
cmp eax, 8
jbe 0x5becc4
cmp byte [ecx + 8], 0x2d
jne 0x5beaee
cmp eax, 0xd
jbe 0x5becb8
cmp byte [ecx + 0xd], 0x2d
jne 0x5beaee
cmp eax, 0x12
jbe 0x5becac
cmp byte [ecx + 0x12], 0x2d
jne 0x5beaee
cmp eax, 0x17
jbe 0x5beca0
cmp byte [ecx + 0x17], 0x2d
je 0x5beafd
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
cmp edx, 0x24
jb 0x5bec96
lea eax, [ecx + 9]
mov dword [esp + 0x70], eax
lea ebx, [edx - 9]
lea ebp, [ecx + 0xe]
lea esi, [edx - 0xe]
lea edi, [ecx + 0x13]
lea eax, [edx - 0x13]
mov dword [esp + 0x2c], eax
lea eax, [edx - 0x18]
mov dword [esp + 0x28], eax
lea eax, [ecx + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], edi
lea eax, [0x5f2a80]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], 8
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.005bece0
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x27], al
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x78]
mov dword [edx], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.005beea0
movzx eax, word [esp + 0xc]
movzx ecx, byte [esp + 0xe]
mov byte [esp + 0x26], cl
mov edx, dword [esp + 0x78]
mov word [edx + 4], ax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.005beea0
movzx eax, word [esp + 0xc]
movzx ecx, byte [esp + 0xe]
mov byte [esp + 0x25], cl
mov edx, dword [esp + 0x78]
mov word [edx + 6], ax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.005bef80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
movzx eax, byte [esp + 0x27]
test al, al
je 0x5bec78
movzx eax, byte [esp + 0x26]
test al, al
je 0x5bec78
movzx eax, byte [esp + 0x25]
test al, al
je 0x5bec78
test dl, dl
je 0x5bec78
mov dword [esp + 0x88], ebx
add esp, 0x7c
ret
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
mov ecx, 0x24
call fcn.004684a0
mov ecx, eax
mov eax, 0x17
call fcn.00468460
mov ecx, eax
mov eax, 0x12
call fcn.00468460
mov ecx, eax
mov eax, 0xd
call fcn.00468460
mov ecx, eax
mov eax, 8
call fcn.00468460
nop
call fcn.00467000
jmp fcn.005bea10