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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x5ecee3
sub esp, 0xa8
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
mov eax, 0x621
xor ecx, ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
jmp 0x5ecb06
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xac]
mov edi, ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], edi
cmp eax, 0x6d3
jg 0x5eccce
lea ebp, [eax - 0x621]
cmp ebp, 0xb3
jae 0x5eced6
cmp ebx, 4
jae 0x5ececa
mov dword [esp + 0x28], eax
mov ecx, dword [edx]
mov ecx, dword [ecx]
mov ebp, dword [ecx]
lea esi, [0x930260]
lea edi, [esi + eax*8 - 0x3108]
movzx edi, word [edi + ebx*2]
mov dword [esp + 0x48], edi
mov ecx, dword [ecx + 4]
mov ebp, dword [ebp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call ebp
mov eax, dword [esp + 0xac]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ebx, dword [esp + 8]
mov dword [esp + 0x24], ebx
movzx ebp, byte [esp + 0xc]
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call edx
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x5eccb1
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x5eccb1
test cl, cl
je 0x5eccb1
mov edx, dword [esp + 0x24]
cmp eax, edx
je 0x5eccb1
cmp edx, 0xffff
ja 0x5eccb1
cmp eax, 0xffff
ja 0x5eccb1
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x38]
inc ebx
mov ebp, dword [esp + 0x3c]
cmp ebp, ebx
jb 0x5ecc01
mov esi, dword [esp + 0x50]
jmp 0x5ecc3b
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x69bdc0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov word [esi + ebx*2 - 2], dx
mov edx, dword [esp + 0x2c]
inc edx
mov ecx, ebx
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jb 0x5ecc55
mov edi, dword [esp + 0x4c]
jmp 0x5ecca7
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x69bdc0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov ebx, edi
mov edi, eax
mov eax, dword [esp + 0x34]
mov word [edi + edx*2 - 2], ax
jmp 0x5ecae9
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
jmp 0x5ecae9
test ecx, ecx
je 0x5eceb8
xor eax, eax
mov edx, edi
lea edi, [esp + 0x90]
call fcn.00465fea
mov dword [esp + 0x90], esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ebp
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], edx
lea edx, [0x6cdc00]
mov dword [esp], edx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call fcn.004095e0
mov ecx, dword [esp + 8]
lea edx, [0x786ab0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0048b460
mov word [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00465fea
lea ecx, [0x6ce1a0]
mov dword [esp], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.004095e0
mov ecx, dword [esp + 8]
lea edx, [0x786ca8]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x6ccd00]
mov dword [esp], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.004095e0
mov ecx, dword [esp + 8]
lea edx, [0x786708]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
lea ecx, [0x6d78c0]
mov dword [esp], ecx
call fcn.0040be50
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], ecx
mov word [ecx], 8
lea edx, [0x695ce0]
mov dword [esp], edx
call fcn.0040be50
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], ecx
lea edx, [0x6c1fc0]
mov dword [esp], edx
lea edx, [esp + 0x60]
mov dword [esp + 4], edx
call fcn.004095e0
mov eax, dword [esp + 8]
lea ecx, [0x7866d8]
mov edx, dword [esp + 0x54]
mov dword [edx], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x5ece77
mov dword [edx + 4], eax
jmp 0x5ece7f
lea edi, [edx + 4]
call fcn.00465d80
mov ecx, dword [esp + 0x58]
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x5ecea0
mov dword [ecx + 4], edx
jmp 0x5eceaa
lea edi, [ecx + 4]
mov eax, edx
call fcn.00465d80
mov dword [esp + 0xb4], ecx
add esp, 0xa8
ret
mov dword [esp + 0xb4], 0
add esp, 0xa8
ret
mov eax, ebx
mov ecx, 4
call fcn.00465e00
mov eax, ebp
mov ecx, 0xb3
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.005ecaa0