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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ec9f1
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005ebf20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5ec3f6
mov ecx, dword [esp + 0x84]
jmp 0x5ec41b
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5ec40c
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x20], eax
jmp 0x5ec41b
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x20]
call fcn.0045f670
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005ebf20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5ec442
mov ecx, dword [esp + 0x84]
jmp 0x5ec467
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5ec458
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x1c], eax
jmp 0x5ec467
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x1c]
call fcn.0045f670
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x6b6d36]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.0051ddc0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5ec4be
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x5ec9ed
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0051f390
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0051e8b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5ec50d
mov ecx, dword [esp + 0x84]
lea esi, [0x895dc4]
jmp 0x5ec4af
cmp eax, 1
jne 0x5ec51b
cmp byte [ecx], 0x2a
je 0x5ec94b
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0056ef30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5ec5e5
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x28]
inc edx
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
cmp ebp, edx
jae 0x5ec5b6
mov dword [esp + 0x48], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6876a0]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x2c], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5ec59f
mov dword [ebx + 0x24], eax
jmp 0x5ec5a7
lea edi, [ebx + 0x24]
call fcn.0045f670
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x28], edx
lea ebp, [ebx + edx*8 - 8]
lea esi, [0x895dc4]
mov dword [ebp], esi
lea edi, [ebx + edx*8 - 4]
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5ec5db
mov dword [edi], eax
jmp 0x5ec4af
call fcn.0045f670
jmp 0x5ec4af
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.005700d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
test eax, eax
jne 0x5ec656
test ecx, ecx
jne 0x5ec62f
mov ecx, dword [esp + 0x84]
lea esi, [0x895dc4]
jmp 0x5ec4af
cmp byte [edx], 0x5b
jne 0x5ec652
lea eax, [ecx + edx - 1]
cmp byte [eax], 0x5d
jne 0x5ec64e
add ecx, 0xfffffffe
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add edx, ecx
jmp 0x5ec65e
mov eax, ecx
jmp 0x5ec65e
mov eax, ecx
jmp 0x5ec65e
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0056eda0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5ec85d
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x5ec6a0
mov ecx, dword [esp + 0x84]
lea esi, [0x895dc4]
jmp 0x5ec4af
cmp eax, 2
jge 0x5ec6ad
mov edx, dword [esp + 0x4c]
mov ecx, eax
jmp 0x5ec6f6
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
lea ecx, [0x6b6d55]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x5ec6ee
mov ecx, dword [esp + 0x34]
lea eax, [ecx - 1]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x4c]
lea edx, [ebx + eax]
jmp 0x5ec6f6
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
movzx eax, byte [edx]
mov byte [esp + 0x27], al
cmp al, 0x2e
je 0x5ec730
mov dword [esp], 0
lea eax, [0x893888]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0044afd0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005ecbb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5ec766
movzx ebx, byte [esp + 0x27]
cmp bl, 0x2e
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
jmp 0x5ec76e
movzx ebx, byte [esp + 0x27]
cmp bl, 0x2e
mov dword [esp + 0x4c], ecx
setne bl
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045f76b
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x68], bl
lea ecx, [0x69c7a0]
mov dword [esp], ecx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
call fcn.00408750
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x30]
mov ebx, dword [ecx + 0x38]
mov ebp, dword [ecx + 0x34]
inc ebp
mov eax, dword [esp + 8]
cmp ebx, ebp
jae 0x5ec82c
mov dword [esp + 0x54], eax
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6876a0]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x38], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5ec81a
mov dword [ebx + 0x30], eax
jmp 0x5ec822
lea edi, [ebx + 0x30]
call fcn.0045f670
mov ebp, ecx
mov edx, eax
mov eax, dword [esp + 0x54]
mov ecx, ebx
mov dword [ecx + 0x34], ebp
lea ebx, [edx + ebp*8 - 8]
lea esi, [0x895dd8]
mov dword [ebx], esi
lea edi, [edx + ebp*8 - 4]
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5ec84d
mov dword [edi], eax
jmp 0x5ec852
call fcn.0045f670
lea esi, [0x895dc4]
jmp 0x5ec4af
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x6c]
mov ebx, eax
xor eax, eax
call fcn.0045f76b
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
lea ecx, [0x697fe0]
mov dword [esp], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00408750
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x24]
mov ebx, dword [ecx + 0x2c]
mov ebp, dword [ecx + 0x28]
inc ebp
mov eax, dword [esp + 8]
cmp ebx, ebp
jae 0x5ec91a
mov dword [esp + 0x54], eax
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6876a0]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x2c], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5ec908
mov dword [ebx + 0x24], eax
jmp 0x5ec910
lea edi, [ebx + 0x24]
call fcn.0045f670
mov ebp, ecx
mov edx, eax
mov eax, dword [esp + 0x54]
mov ecx, ebx
mov dword [ecx + 0x28], ebp
lea ebx, [edx + ebp*8 - 8]
lea esi, [0x895dec]
mov dword [ebx], esi
lea edi, [edx + ebp*8 - 4]
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5ec93b
mov dword [edi], eax
jmp 0x5ec940
call fcn.0045f670
lea esi, [0x895dc4]
jmp 0x5ec4af
lea eax, [0x679d20]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
lea ecx, [0x895db0]
mov dword [eax], ecx
lea edx, [0xa43ac4]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0xa43e50]
test ebp, ebp
jne 0x5ec992
mov dword [ebx + 0x24], eax
jmp 0x5ec99a
lea edi, [ebx + 0x24]
call fcn.0045f670
lea eax, [0x679d20]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
lea ecx, [0x895db0]
mov dword [eax], ecx
lea ecx, [0xa43ac4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5ec9e1
mov dword [ecx + 0x30], eax
jmp 0x5ec9e9
lea edi, [ecx + 0x30]
call fcn.0045f670
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
call fcn.0045e260
jmp fcn.005ec3b0