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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4ecb2c
sub esp, 0x9c
mov eax, dword [esp + 0xa8]
movzx ecx, byte [eax]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 8]
mov esi, dword [edx + 0xc]
test cl, cl
je 0x4ec796
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x4ec765
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x4ec765
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004ee530
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4ec753
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
jmp 0x4ec796
mov dword [esp + 0xb4], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004eb780
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
add esp, 0x9c
ret
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], ecx
mov edi, dword [eax + 4]
mov dword [esp + 0x6c], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xac]
test edx, edx
je 0x4ec9c8
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov eax, dword [esp + 0xa0]
cmp edx, eax
je 0x4ec809
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4ec9a9
mov edi, dword [edx + 0xc]
test edi, edi
je 0x4ec9a1
mov esi, dword [eax + 4]
mov ebp, dword [edx + 4]
lea ecx, [esi + ecx*4 - 4]
lea ebp, [ebp + edi*4 - 4]
cmp ebp, ecx
jne 0x4ec991
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [esp + 0x7c]
cmp edx, ecx
je 0x4ec9ab
mov dword [esp + 0x70], ebx
mov edi, dword [edx + 8]
mov dword [esp + 0x5c], edi
mov esi, dword [edx + 4]
test edi, edi
jg 0x4ec862
xor ecx, ecx
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x7c]
jmp 0x4ec91c
mov dword [esp + 0x74], esi
cmp edi, 1
jne 0x4ec8c6
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e560
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x7c]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
mov edi, 1
mov dword [esp + 0x68], eax
mov edx, 1
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
jmp 0x4ec91c
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [edi + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
call fcn.0044e560
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x7c]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x5c]
cmp edi, ebp
jg 0x4ec926
mov ebp, edi
mov ebx, dword [esp + 0x68]
cmp ebx, esi
je 0x4ec95f
mov dword [esp + 0x44], edi
mov dword [esp], ebx
mov dword [esp + 4], esi
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.004697f0
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x7c]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x84], edi
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x80], ebx
movzx edx, byte [edx]
mov byte [esp + 0x7c], dl
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
jmp 0x4ec9ab
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
mov ecx, edx
jmp 0x4ec9ab
mov edi, dword [esp + 0x6c]
mov ecx, edx
jmp 0x4ec9ab
mov ecx, edx
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x4c]
mov edx, edi
mov edi, dword [esp + 0x6c]
jmp 0x4ec9d8
xor edx, edx
xor edx, edx
mov dword [esp + 0x64], edx
xor edx, edx
mov dword [esp + 0x78], edx
xor edx, edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x2c], ebx
movzx ebp, byte [esp + 0xb0]
xchg ebp, eax
mov byte [esp + 0x30], al
xchg ebp, eax
call fcn.004f3810
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xa0]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x4eca72
call fcn.00468e70
mov dword [edi], edx
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov dword [ebx + 4], edx
test eax, eax
je 0x4eca9f
mov eax, dword [esp + 0xa4]
movzx eax, byte [eax]
test al, al
je 0x4eca9f
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4eca9f
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
test eax, 1
setne al
jmp 0x4ecaa1
xor eax, eax
mov byte [ebx], al
test al, al
je 0x4ecb1e
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4ecb1e
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ebp, dword [ebx + 4]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.004f01b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xa0]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x995310]
test eax, eax
je 0x4ecb18
call fcn.00468e70
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov byte [ebx], 0
mov dword [esp + 0xb4], ebx
add esp, 0x9c
ret
call fcn.00467a60
jmp fcn.004ec6a0