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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ec0a8
sub esp, 0x6c
mov ecx, dword [esp + 0x70]
test byte [ecx], al
mov edx, dword [ecx + 0x1044]
cmp edx, 1
jne 0x5ebde0
mov eax, dword [esp + 0x74]
shl eax, 3
test eax, eax
jge 0x5ebdd7
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x78]
shl ebx, 3
test ebx, ebx
jge 0x5ebdce
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
lea esi, [0x6b4b60]
mov dword [esp], esi
sub edx, eax
mov dword [esp + 0x1c], edx
sub ebp, ebx
imul ebp, edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
call fcn.00437440
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x4c]
mov ebx, eax
xor eax, eax
call fcn.0044a378
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x1020]
mov edx, dword [eax + 0x1024]
test ecx, ecx
jge 0x5ebdc5
xor ebx, ebx
test edx, edx
jge 0x5ebdbf
xor ebp, ebp
lea esi, [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.005e4670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5ebd71
mov eax, dword [eax + 4]
lea edx, [0x6ed200]
cmp edx, eax
jne 0x5ebda7
mov eax, dword [0x884700]
mov edx, dword [esp + 0x70]
lea ebx, [edx + 0x1028]
test eax, eax
jne 0x5ebd99
mov dword [edx + 0x1028], ecx
add esp, 0x6c
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
jmp 0x5ebd95
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x6c91e0]
mov dword [esp + 8], eax
call fcn.0040a700
ud2
mov ebp, edx
xor edx, edx
jmp 0x5ebd46
mov ebx, ecx
xor ecx, ecx
jmp 0x5ebd40
mov ebp, ebx
xor ebx, ebx
jmp 0x5ebca8
mov edx, eax
xor eax, eax
jmp 0x5ebc8f
mov eax, dword [ecx + 0x1050]
mov edx, dword [ecx + 0x1054]
mov dword [esp + 0x38], edx
mov ebx, dword [ecx + 0x105c]
test ebx, ebx
je 0x5ec0a1
mov ebp, eax
cmp ebx, 0xffffffff
je 0x5ec09a
cdq
idiv ebx
mov edx, dword [ecx + 0x1060]
test edx, edx
je 0x5ec093
mov ebx, eax
mov eax, dword [esp + 0x38]
mov esi, edx
mov edi, eax
cmp esi, 0xffffffff
je 0x5ec08c
cdq
idiv esi
shl ebx, 4
or eax, ebx
cmp eax, 0x21
jg 0x5ec05f
cmp eax, 0x11
jne 0x5ec003
xor eax, eax
shl ebp, 3
mov edx, dword [esp + 0x74]
imul ebp, edx
shl edi, 3
mov ebx, dword [esp + 0x78]
imul edi, ebx
test ebp, ebp
jge 0x5ebffa
xor esi, esi
test edi, edi
jge 0x5ebfef
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.005e6670
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x1020]
mov ebx, dword [ecx + 0x1024]
test edx, edx
jge 0x5ebfe6
xor ebp, ebp
test ebx, ebx
jge 0x5ebfdd
xor esi, esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.005e61e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5ebee8
mov ecx, dword [ecx + 4]
lea edx, [0x6eac00]
cmp edx, ecx
jne 0x5ebfc5
mov ecx, dword [0x884700]
mov edx, dword [esp + 0x70]
lea ebx, [edx + 0x102c]
test ecx, ecx
jne 0x5ebfb0
mov dword [edx + 0x102c], eax
mov eax, dword [edx + 0x1044]
cmp eax, 4
je 0x5ebf23
add esp, 0x6c
ret
mov eax, dword [edx + 0x1074]
mov ecx, dword [edx + 0x1078]
lea ebx, [0x6b4b60]
mov dword [esp], ebx
shl eax, 3
mov ebx, dword [esp + 0x74]
imul ebx, eax
mov dword [esp + 0x38], ebx
shl ebx, 3
imul ebx, ecx
mov ecx, dword [esp + 0x78]
imul ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00437440
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x1034], ecx
mov dword [ebx + 0x1038], eax
mov eax, dword [0x884700]
lea ecx, [ebx + 0x1030]
test eax, eax
jne 0x5ebf9e
mov dword [ebx + 0x1030], edx
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x103c], eax
jmp 0x5ebf1f
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0040d5a0
mov ebx, dword [esp + 0x70]
jmp 0x5ebf92
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d5a0
mov edx, dword [esp + 0x70]
jmp 0x5ebf14
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x6c91e0]
mov dword [esp + 8], eax
call fcn.0040a700
ud2
mov esi, ebx
xor ebx, ebx
jmp 0x5ebec1
mov ebp, edx
xor edx, edx
jmp 0x5ebeb7
mov dword [esp + 0x20], edi
xor edi, edi
jmp 0x5ebe7d
mov esi, ebp
xor ebp, ebp
jmp 0x5ebe67
cmp eax, 0x12
jne 0x5ec012
mov eax, 3
jmp 0x5ebe49
cmp eax, 0x21
jne 0x5ec021
mov eax, 1
jmp 0x5ebe49
lea eax, [0x706f42]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0xb
lea eax, [0x6b4960]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004254e0
ud2
cmp eax, 0x22
jne 0x5ec06e
mov eax, 2
jmp 0x5ebe49
cmp eax, 0x41
jne 0x5ec07d
mov eax, 4
jmp 0x5ebe49
cmp eax, 0x42
jne 0x5ec021
mov eax, 5
jmp 0x5ebe49
neg eax
jmp 0x5ebe30
call fcn.00424740
ud2
neg eax
jmp 0x5ebe0c
call fcn.00424740
ud2
call fcn.004486b0
jmp fcn.005ebc50