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

Disassembly:
mov ecx, dword [ebp + 0x1c]
xor edx, edx
cmp ecx, edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
je 0x4ec7260e
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
jmp 0x4ec7bc1d
xor edi, edi
inc edi
jmp 0x4ec7bb7e
cmp ecx, dword [ebx + 0x88]
ja 0x4eccdd92
jmp 0x4ec7bbc7
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
movsx edx, word [eax + 0x60]
movsx ecx, word [eax + 0x64]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
movsx esi, word [eax + 0x5e]
sub ecx, edx
movsx edx, word [eax + 0x62]
push edi
mov edi, dword [ebp + 8]
sub edx, esi
mov esi, dword [ebp + 0x18]
and dword [esi], 0
mov dword [esi + 4], edi
movsx edi, word [eax + 0x60]
cmp edi, dword [ebx + 0x7c]
jg 0x4ec72619
movsx edi, word [eax + 0x64]
cmp edi, dword [ebx + 0x78]
jl 0x4ec72619
movsx edi, word [eax + 0x62]
neg edi
cmp edi, dword [ebx + 0x84]
jg 0x4ec72619
movsx edi, word [eax + 0x5e]
neg edi
cmp edi, dword [ebx + 0x80]
jl 0x4ec72619
xor edi, edi
test ecx, ecx
je 0x4ec725f4
test edx, edx
je 0x4ec725f4
test edi, edi
jne 0x4ec725f4
movsx edi, word [eax + 0x5e]
neg edi
mov dword [esi + 0x34], edi
movsx edi, word [eax + 0x62]
neg edi
mov dword [esi + 0x2c], edi
movsx edi, word [eax + 0x60]
mov dword [esi + 0x28], edi
movsx edi, word [eax + 0x64]
mov dword [esi + 0x30], edi
cmp edx, dword [ebx + 0x8c]
jbe 0x4ec72621
jmp 0x4eccdd7c
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x4ec7bbd3
mov dword [edi], ecx
mov dword [edi + 4], edx
test byte [ebx + 0x16], 0x34
jne 0x4eccdda8
mov edi, dword [esi + 0x28]
lea ecx, [ebx + 0x98]
mov edx, dword [ecx]
mov edx, dword [edx + 0xb4]
sar edx, 0xf
inc edx
sar edx, 1
sub edi, edx
mov edx, dword [esi + 0x2c]
shl edi, 4
mov dword [esi + 0x20], edi
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xb8]
sar ecx, 0xc
and ecx, 0xfffffff8
add ecx, 8
and ecx, 0xfffffff0
shl edx, 4
add ecx, edx
mov dword [esi + 0x24], ecx
xor edx, edx
mov ecx, dword [ebx + 0x60]
test cl, 3
je 0x4eccde81
test cl, 1
je 0x4eccddec
mov ebx, dword [eax + 0x48]
cmp ebx, edx
jl 0x4eccddde
mov eax, dword [eax + 0xb0]
cmp eax, edx
jl 0x4eccdde5
mov ecx, dword [esi + 0x2c]
mov edi, eax
mov eax, dword [esi + 0x28]
shl eax, 4
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x30]
shl eax, 4
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
shl ecx, 4
sub ecx, eax
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x34]
shl ecx, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x3c], 0
jl 0x4eccde2f
cmp dword [ecx + 0x40], 0
jl 0x4eccde2f
mov eax, dword [ecx + 0x14]
test eax, 0x340000
jne 0x4eccde54
test eax, 0x400000
jne 0x4eccde62
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
push ecx
call fcn.4ec7bcd8
test eax, eax
je 0x4eccde6d
sar edi, 0xc
and edi, 0xfffffff8
add edi, 8
and edi, 0xfffffff0
mov dword [esi + 0x14], edi
pop edi
pop esi
pop ebx
leave
ret 0x18
mov edi, dword [ebx + 0x8c]
sub edi, edx
add dword [esi + 0x34], edi
mov edx, dword [ebx + 0x8c]
jmp 0x4ec72621
mov edi, dword [ebx + 0x88]
sub edi, ecx
add dword [esi + 0x30], edi
mov ecx, dword [ebx + 0x88]
jmp 0x4ec7bbc7
movzx ecx, word [eax + 0x6e]
mov edx, dword [eax + 0x7c]
movsx ecx, word [edx + ecx*2 - 2]
mov edx, dword [eax + 0x70]
mov ecx, dword [edx + ecx*4 + 0xc]
sar ecx, 2
mov dword [esi + 0x20], ecx
movzx ecx, word [eax + 0x6e]
mov edx, dword [eax + 0x7c]
movsx ecx, word [edx + ecx*2 - 2]
mov edx, dword [eax + 0x74]
mov ecx, dword [edx + ecx*4 + 0xc]
sar ecx, 2
neg ecx
jmp 0x4ec7bc18
neg ebx
jmp 0x4ec7bc3d
neg eax
jmp 0x4ec7bc4b
mov ebx, dword [eax + 0x4c]
cmp ebx, edx
jge 0x4eccddf5
neg ebx
mov eax, dword [eax + 0xac]
cmp eax, edx
jge 0x4eccde01
neg eax
mov ecx, dword [esi + 0x28]
mov edi, eax
mov eax, dword [esi + 0x34]
shl eax, 4
neg eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x2c]
shl eax, 4
neg eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
shl ecx, 4
sub ecx, eax
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x30]
jmp 0x4ec7bc70
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
neg edx
neg eax
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
neg edx
neg eax
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
jmp 0x4ec7bc8f
sar ebx, 0xc
mov dword [esi + 8], ebx
sar edi, 0xc
jmp 0x4ec7bcc9
test eax, 0x1000000
jne 0x4ec7bca8
sar ebx, 0xc
and ebx, 0xfffffff8
add ebx, 8
and ebx, 0xfffffff0
mov dword [esi + 8], ebx
jmp 0x4ec7bcbd
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.4ed1ece9
movsx eax, word [ebp - 6]
push eax
lea edi, [ebx + 0xa0]
push edi
call fcn.4ed1f583
mov dword [esi + 8], eax
movsx eax, word [ebp - 8]
push eax
push edi
call fcn.4ed1f583
mov dword [esi + 0xc], eax
movsx eax, word [ebp - 0xe]
push eax
push edi
call fcn.4ed1f583
mov dword [esi + 0x10], eax
test byte [ebx + 0x15], 0x20
je 0x4eccdee0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4eccded1
add ecx, 0x10
mov dword [esi + 8], ecx
movzx ecx, word [ebx + 0xac]
shl ecx, 4
add ecx, eax
mov dword [esi + 0x10], ecx
movsx eax, word [ebp - 2]
push eax
add ebx, 0xa4
push ebx
call fcn.4ed1f583
mov dword [esi + 0x14], eax
movsx eax, word [ebp - 4]
push eax
push ebx
call fcn.4ed1f583
movsx ecx, word [ebp - 0xa]
mov dword [esi + 0x18], eax
mov edi, eax
movsx eax, word [ebp - 0xc]
sub ecx, eax
push ecx
push ebx
call fcn.4ed1f583
mov ecx, dword [esi + 0x10]
add eax, edi
mov dword [esi + 0x1c], eax
add ecx, 0xf
push 0xfffffffffffffff0
pop eax
and dword [esi + 0xc], eax
and ecx, eax
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x1c]
and edi, eax
add ecx, 0xf
and ecx, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ecx
jmp 0x4ec7bccc