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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ec3ed
sub esp, 0x6c
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0045e706
mov edi, dword [esp + 0x70]
movzx ecx, byte [edi + 0x24]
mov byte [esp + 0x68], cl
mov ecx, dword [0x7e0970]
test ecx, ecx
jne 0x5ec105
lea esi, [esp + 0x44]
call fcn.0045ebbc
jmp 0x5ec11f
lea eax, [0x629a20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0040ff30
mov edx, dword [esp + 0x74]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x28], ebp
cmp ebx, 2
jge 0x5ec142
xor eax, eax
xor edx, edx
jmp 0x5ec163
add ebx, 0xfffffffe
mov dword [esp + 0x24], ebx
lea ebx, [ebp - 2]
mov dword [esp + 0x28], ebx
neg ebx
sar ebx, 0x1f
and ebx, 2
add ebx, edx
mov dword [esp + 0x20], ebx
mov eax, 2
test edx, edx
je 0x5ec18f
test eax, eax
jbe 0x5ec3e3
movzx ebx, byte [edx]
cmp eax, 1
jbe 0x5ec3d7
shl ebx, 8
movzx ebp, byte [edx + 1]
or ebp, ebx
mov ebx, dword [esp + 0x70]
mov word [ebx], bp
test edx, edx
jmp 0x5ec193
mov ebx, dword [esp + 0x70]
je 0x5ec1fd
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
cmp ebp, 2
jge 0x5ec1ac
xor eax, eax
xor edx, edx
jmp 0x5ec1d1
add ebp, 0xfffffffe
mov dword [esp + 0x24], ebp
lea ebp, [esi - 2]
mov dword [esp + 0x28], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, edx
mov dword [esp + 0x20], ebp
mov eax, 2
test edx, edx
je 0x5ec1f8
test eax, eax
jbe 0x5ec3ce
movzx ebp, byte [edx]
cmp eax, 1
jbe 0x5ec3c2
shl ebp, 8
movzx eax, byte [edx + 1]
or eax, ebp
mov word [ebx + 2], ax
test edx, edx
setne al
jmp 0x5ec1ff
xor eax, eax
test al, al
jne 0x5ec207
xor eax, eax
jmp 0x5ec254
lea eax, [esp + 0x20]
mov dword [esp], eax
lea ecx, [ebx + 4]
mov dword [esp + 4], ecx
call fcn.005c99a0
movzx eax, byte [esp + 8]
test al, al
jne 0x5ec22b
mov ebx, dword [esp + 0x70]
xor eax, eax
jmp 0x5ec254
nop
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 2
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0xc]
mov dword [esp + 8], ecx
call fcn.0056ff40
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x70]
test al, al
je 0x5ec2a8
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5ec2a8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0056ff40
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5ec2b4
mov byte [esp + 0x80], 0
add esp, 0x6c
ret
mov byte [esp + 0x80], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5ec3ae
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
nop
lea eax, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 3
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.0056ff40
movzx eax, byte [esp + 0xc]
test al, al
je 0x5ec3a2
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x1c]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x18]
mov esi, dword [ecx + 0x20]
cmp esi, ebx
jae 0x5ec364
lea eax, [0x60c760]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00447760
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x20], edx
mov edx, dword [0x7e0970]
test edx, edx
jne 0x5ec356
mov dword [ebx + 0x18], eax
jmp 0x5ec35e
lea edi, [ebx + 0x18]
call fcn.0045e4b0
mov ebp, eax
mov edx, ecx
mov ecx, ebx
lea ebx, [edx + 1]
mov dword [ecx + 0x1c], ebx
lea edx, [edx + edx*2]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [ebp + edx*4 + 4], ebx
mov dword [ebp + edx*4 + 8], esi
mov ebx, dword [0x7e0970]
lea edi, [ebp + edx*4]
test ebx, ebx
jne 0x5ec398
mov dword [ebp + edx*4], eax
jmp 0x5ec2b4
call fcn.0045e4b0
jmp 0x5ec2b4
mov byte [esp + 0x80], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x24]
test eax, eax
sete al
mov byte [esp + 0x80], al
add esp, 0x6c
ret
mov ecx, eax
mov eax, 1
call fcn.0045e530
mov ecx, eax
xor eax, eax
call fcn.0045e530
mov ecx, eax
mov eax, 1
call fcn.0045e530
mov ecx, eax
xor eax, eax
call fcn.0045e530
nop
call fcn.0045d0a0
jmp fcn.005ec0c0