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

Disassembly:
cmp ecx, dword [esi + 0x80]
jl 0x4eccebf3
cmp eax, dword [esi + 0x84]
jg 0x4ecb1dba
jmp 0x4ecb1dc0
push esi
call fcn.4eca49ea
mov eax, dword [ebp - 4]
jmp 0x4ecb1da7
call fcn.4eca5a4d
jmp 0x4ecb1ef8
xor edi, edi
jmp 0x4ecb1cd3
neg eax
cmp ecx, eax
je 0x4ecb1e69
jmp 0x4ecb1e7d
neg eax
cmp ecx, eax
je 0x4ecb1e77
jmp 0x4ecb1e7d
xor eax, eax
jmp 0x4ecb1f28
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x9c]
mov edx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x40]
add eax, edx
test ecx, ecx
push edi
je 0x4eca5a1c
lea edi, [edx + ecx]
test edi, edi
je 0x4ecceb76
test byte [esi + 0x60], 3
je 0x4ecceb76
movzx edx, byte [edi + 0x4b]
xor ecx, ecx
mov ch, byte [edi + 0x4a]
movsx ecx, cx
or ecx, edx
xor edx, edx
mov dh, byte [edi + 0x4c]
movzx edi, byte [edi + 0x4d]
neg ecx
mov dword [ebp + 8], ecx
movsx edx, dx
or edx, edi
mov dword [ebp - 4], edx
cmp ecx, edx
jge 0x4ecceba7
push ebx
xor ebx, ebx
mov bh, byte [eax + 0x24]
movsx edi, bx
movzx ebx, byte [eax + 0x25]
or edi, ebx
xor ebx, ebx
mov bh, byte [eax + 0x28]
movzx eax, byte [eax + 0x29]
movsx ebx, bx
or ebx, eax
mov eax, dword [esi + 0x14]
test ax, 0x4000
jne 0x4eccebae
test eax, 0x4000000
jne 0x4eccebcc
xor eax, eax
cmp edi, ebx
jge 0x4ecb1f28
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x60]
test al, 1
je 0x4eccec31
test al, 8
jne 0x4eccec31
mov eax, dword [esi + 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x4c]
push ecx
push eax
mov dword [ebp - 0xc], eax
call fcn.4ecadddb
push dword [ebp - 4]
mov dword [ebp + 8], eax
push dword [ebp - 0xc]
call fcn.4ecadddb
cmp dword [ebp - 0xc], 0
mov dword [ebp - 4], eax
jle 0x4eccebfe
test dword [esi + 0x14], 0x340000
je 0x4eca49d7
test byte [esi + 0x60], 4
mov ecx, dword [ebp + 8]
jne 0x4eca0888
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x80]
neg eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x84]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x64], 0
jne 0x4ecb1df8
mov eax, dword [esi + 4]
movsx eax, word [eax + 0x116]
push eax
push dword [ebp - 0xc]
call fcn.4ecadddb
test eax, eax
mov dword [esi + 0x64], eax
jl 0x4eccec1c
push dword [esi + 0x1c]
mov eax, dword [esi + 0x64]
push 0x48
shl eax, 0x10
push eax
call fcn.4ecb163d
push dword [ebp - 8]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x84]
sub eax, dword [esi + 0x80]
shl edi, 4
push edi
mov dword [ebp - 0x10], eax
call fcn.4ecadddb
push dword [ebp - 8]
shl ebx, 4
push ebx
mov edi, eax
call fcn.4ecadddb
cmp dword [ebp - 8], 0
jl 0x4eccec26
sar edi, 4
dec edi
add eax, 0xf
dec edi
sar eax, 4
inc eax
mov dword [esi + 0x7c], eax
sub eax, edi
mov dword [esi + 0x78], edi
mov edi, eax
test byte [esi + 0x60], 3
je 0x4ecb1e7d
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x4c]
cmp ecx, eax
jne 0x4eca5a23
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
cmp ecx, eax
jne 0x4eca5a32
push esi
call fcn.4ecb1f34
test word [esi + 0x14], 0x2000
jne 0x4ecced99
and word [esi + 0xac], 0
test edi, edi
je 0x4eca5a41
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4eca5a41
mov ecx, dword [esi + 0x14]
test cx, 0x2000
jne 0x4ecceda4
add edi, 7
and edi, 0xfffffff8
lea eax, [edi + 0x1f]
and eax, 0xffffffe0
cdq
and edx, 7
add eax, edx
sar eax, 3
mul ebx
test edx, edx
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], ebx
ja 0x4eca5a41
cmp eax, 0xffffffff
ja 0x4eca5a41
test ecx, 0x600000
push esi
jne 0x4eca5a12
call fcn.4ecb6404
mov eax, dword [esi + 0x14]
test eax, 0x10000
je 0x4eccedc1
test eax, 0x700000
je 0x4eccedb4
mov eax, edi
imul eax, ebx
add eax, 3
and eax, 0xfffffffc
add eax, 0x18
mov dword [esi + 0x90], eax
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret 4
movzx edx, byte [eax + 0x2b]
xor ecx, ecx
mov ch, byte [eax + 0x2a]
movsx ecx, cx
or ecx, edx
movzx edx, byte [eax + 0x27]
neg ecx
mov dword [ebp + 8], ecx
xor ecx, ecx
mov ch, byte [eax + 0x26]
movsx ecx, cx
or ecx, edx
neg ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
jmp 0x4ecb1d09
xor eax, eax
jmp 0x4ecb1f29
push 0x5700
push edx
call fcn.4ecadddb
push 0x5700
push dword [ebp + 8]
sub edi, eax
call fcn.4ecadddb
sub ebx, eax
jmp 0x4eccebe8
push 0x5700
push edi
call fcn.4ecadddb
add dword [ebp + 8], eax
push 0x5700
push ebx
call fcn.4ecadddb
add dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x4ecb1d46
mov dword [esi + 0x80], ecx
jmp 0x4eca0894
mov ecx, dword [ebp + 8]
mov edx, eax
neg edx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
jmp 0x4ecb1dd4
neg eax
mov dword [esi + 0x64], eax
jmp 0x4ecb1df8
mov ecx, edi
mov edi, eax
mov eax, ecx
jmp 0x4ecb1e3f
mov eax, dword [esi + 4]
movzx eax, word [eax + 0xe4]
shr eax, 6
sub ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], ecx
push 4
lea ecx, [ebp - 0x38]
push ecx
add edx, eax
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x24]
push ecx
push eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edx
call fcn.4ed48ebf
test eax, eax
je 0x4eca5a41
mov ebx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
xor ecx, ecx
inc ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
mov edx, ecx
mov eax, dword [ebp + edx*8 - 0x58]
cmp eax, dword [ebp - 8]
jge 0x4eccec98
mov dword [ebp - 8], eax
cmp eax, ebx
jle 0x4eccec9e
mov ebx, eax
mov eax, dword [ebp + edx*8 - 0x54]
cmp eax, dword [ebp - 0xc]
jge 0x4eccecaa
mov dword [ebp - 0xc], eax
cmp eax, edi
jle 0x4eccecb0
mov edi, eax
inc edx
cmp edx, 4
jl 0x4eccec8c
sar dword [ebp - 8], 4
sar dword [ebp - 0xc], 4
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
or dword [ebp - 0x2c], 0xffffffff
add ebx, 0xf
sar ebx, 4
mov eax, ebx
sub eax, dword [ebp - 8]
add edi, 0xf
mov dword [ebp - 0x18], eax
sar edi, 4
mov eax, edi
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xa0]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.4ed48fc9
mov dword [ebp - 0x14], eax
lea eax, [esi + 0xa4]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.4ed48fc9
mov ecx, dword [ebp - 0x14]
test ecx, eax
je 0x4eca5a41
push dword [ebp + 8]
lea eax, [esi + 0xa4]
push eax
call fcn.4ed49141
push dword [ebp - 4]
neg eax
mov dword [esi + 0x70], eax
lea eax, [esi + 0xa4]
push eax
call fcn.4ed49141
mov ecx, dword [esi + 0x70]
add eax, 0xf
sar eax, 4
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 8]
add ecx, 0xf
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0xc]
sar ecx, 4
push esi
mov dword [esi + 0x70], ecx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edi
call fcn.4ed493b9
push 0x48
push dword [esi + 0x1c]
mov dword [esi + 0x68], eax
push eax
call fcn.4ecb163d
mov edi, dword [ebp - 0x18]
add eax, 0x8000
sar eax, 0x10
movzx eax, ax
mov dword [esi + 0x64], eax
jmp 0x4ecb1e55
push esi
call fcn.4ed4930e
jmp 0x4ecb1e91
movzx eax, word [esi + 0xac]
add edi, eax
add ebx, eax
jmp 0x4ecb1eb2
lea eax, [edi + 1]
cdq
sub eax, edx
sar eax, 1
jmp 0x4ecb1f13
lea eax, [edi + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
jmp 0x4ecb1f13