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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5beedb
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0xc]
movzx ecx, byte [ecx + 0x2c]
test cl, cl
je 0x5bee80
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp], ecx
call fcn.005b7080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
test eax, eax
jne 0x5bee71
lea eax, [0x69a6a0]
cmp ebp, eax
je 0x5beae9
mov ebx, 0
mov dword [esp + 0x24], ebx
jne 0x5bedd1
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
test eax, eax
jne 0x5bebeb
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], eax
lea ecx, [0x68e6c0]
mov dword [esp], ecx
lea ecx, [eax + 0xa]
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b730
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x5beed1
mov byte [eax], 4
cmp ecx, 1
jbe 0x5beec5
mov edx, dword [esp + 0x20]
lea ebx, [edx + 6]
mov ebp, ebx
sar ebx, 0x10
mov byte [eax + 1], bl
cmp ecx, 2
jbe 0x5beeb9
mov ebx, ebp
sar ebp, 8
xchg ebp, ebx
mov byte [eax + 2], bl
xchg ebp, ebx
cmp ecx, 3
jbe 0x5beead
mov byte [eax + 3], bl
cmp ecx, 8
jbe 0x5beea3
mov ebx, edx
sar edx, 8
mov byte [eax + 8], dl
cmp ecx, 9
jbe 0x5bee97
mov byte [eax + 9], bl
mov edx, ebx
neg ebx
sar ebx, 0x1f
and ebx, 0xa
add ebx, eax
mov edi, dword [esp + 0x24]
mov ebp, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
cmp esi, edx
jl 0x5bebac
mov esi, edx
cmp ebp, ebx
je 0x5bebd0
mov dword [esp + 0x38], eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00463a10
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x5bebe4
mov dword [edi], eax
jmp 0x5bebe9
call fcn.00463080
mov edx, ecx
mov ebx, dword [esp + 0x78]
lea ebp, [ebx + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.005d9cf0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x5bec1a
lea ecx, [0x6e0cac]
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0x60]
lea esi, [esp]
call fcn.004637fe
lea edi, [esp + 0x4c]
lea esi, [esp + 0x60]
call fcn.004637fe
lea eax, [0x6b6a20]
mov dword [esp], eax
call fcn.0040b800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov eax, dword [0x8e84e0]
test eax, eax
jne 0x5bec6c
mov dword [edi], ecx
jmp 0x5bec73
mov eax, ecx
call fcn.00463080
mov ecx, dword [esp + 0x2c]
movzx edx, word [ecx + 0x24]
mov word [edi + 0xc], dx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x14]
movzx ebx, word [ebx]
mov word [edi + 0xe], bx
mov eax, dword [edx + 0x4c]
mov ebx, dword [edx + 0x50]
mov ebp, dword [edx + 0x54]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebp
mov ebx, dword [0x8e84e0]
test ebx, ebx
jne 0x5becab
mov dword [edi + 0x10], eax
jmp 0x5becb9
lea ebx, [edi + 0x10]
mov ebp, edi
mov edi, ebx
call fcn.00463080
mov edi, ebp
mov eax, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x50]
mov ebp, dword [ecx + 0x54]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebp
mov ebx, dword [0x8e84e0]
test ebx, ebx
jne 0x5becd7
mov dword [edi + 0x1c], eax
jmp 0x5bece5
lea ebx, [edi + 0x1c]
mov ebp, edi
mov edi, ebx
call fcn.00463080
mov edi, ebp
mov eax, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x5c]
mov ebp, dword [ecx + 0x60]
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebp
mov ebx, dword [0x8e84e0]
test ebx, ebx
jne 0x5bed03
mov dword [edi + 0x28], eax
jmp 0x5bed11
lea ebx, [edi + 0x28]
mov ebp, edi
mov edi, ebx
call fcn.00463080
mov edi, ebp
lea ebx, [edi + 0x34]
mov ebp, dword [0x8e84e0]
test ebp, ebp
jne 0x5bed2d
lea esi, [esp + 0x4c]
mov eax, edi
mov edi, ebx
call fcn.004637fe
jmp 0x5bed53
mov dword [esp + 0x34], edi
lea eax, [0x6c2f20]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00410e50
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx + 0x34]
mov ebp, dword [ecx + 0x38]
mov esi, dword [ecx + 0x3c]
mov dword [eax + 0x4c], ebp
mov dword [eax + 0x50], esi
mov ebp, dword [0x8e84e0]
test ebp, ebp
jne 0x5bed75
mov dword [eax + 0x48], ebx
jmp 0x5bed83
lea edi, [eax + 0x48]
mov ebp, eax
mov eax, ebx
call fcn.00463080
mov eax, ebp
mov ebx, dword [ecx + 0x40]
mov ebp, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0x58], ebp
mov dword [eax + 0x5c], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5beda4
mov dword [eax + 0x54], ebx
mov dword [edx + 0x58], eax
jmp 0x5bedba
lea edi, [eax + 0x54]
mov ecx, eax
mov eax, ebx
call fcn.00463080
lea edi, [edx + 0x58]
mov eax, ecx
call fcn.00463080
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x74
ret
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005b6370
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
lea eax, [0x69a6a0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
lea eax, [0x6d9f2d]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c2610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x74
ret
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x74
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x74
ret
mov eax, 9
mov ecx, eax
call fcn.00463100
mov eax, 8
call fcn.00463100
mov eax, 3
mov ecx, eax
call fcn.00463100
mov eax, 2
mov ecx, eax
call fcn.00463100
mov eax, 1
mov ecx, eax
call fcn.00463100
xor eax, eax
mov ecx, eax
call fcn.00463100
nop
call fcn.00461c70
jmp fcn.005bea80