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

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
xor ebp, ebp
mov eax, dword [ebx - 0xa0]
mov edx, edi
shr edx, 0x18
mov esi, 0x11
and edx, 0x1f
mov dword [esp + 0x10], eax
lea eax, [edx - 0xf]
cmp eax, 4
ja 0x100ec6b5
lea esi, [ebp + 9]
jmp 0x100ec6ca
mov ecx, edi
and ecx, 0x1f000000
cmp ecx, 0xe000000
jne 0x100ec6f3
mov esi, 0xe
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 4]
add ecx, ecx
or ecx, dword [eax]
neg ecx
sbb ecx, ecx
shl esi, 4
neg ecx
add esi, dword [edx]
mov dword [esp + 0x1c], ecx
mov ebp, ecx
mov ecx, dword [esp + 0x28]
jmp 0x100eca82
lea eax, [edx - 1]
cmp eax, 1
ja 0x100ec717
xor edx, edx
cmp ecx, 0x2000000
mov ecx, ebx
sete dl
call fcn.100c69e0
mov esi, 3
jmp 0x100ec89c
test ecx, ecx
jne 0x100ec72c
push ecx
push 0x18
push ebx
call fcn.100c7180
add esp, 0xc
jmp 0x100ec89c
cmp ecx, 0xc000000
jne 0x100ec7c2
mov eax, dword [esp + 0x2c]
movzx ecx, di
mov dword [esp + 0x28], ecx
mov eax, dword [eax]
cmp byte [eax + 6], 1
jne 0x100ec792
mov word [ebx + 0x74], cx
mov ecx, ebx
mov dword [ebx + 0x76], 0x4310000a
call fcn.100e43f0
mov edx, 1
mov ecx, ebx
mov edi, eax
call fcn.100c69e0
movzx ecx, ax
mov eax, 0x893
mov word [ebx + 0x76], cx
mov ecx, ebx
mov word [ebx + 0x78], ax
mov word [ebx + 0x74], di
call fcn.100e43f0
mov ecx, 0xb
mov eax, 0x4305
jmp 0x100ec7a6
mov edx, 0x18
mov ecx, ebx
call fcn.100c69e0
movzx ecx, ax
mov eax, 0x2805
mov word [ebx + 0x78], ax
mov eax, dword [esp + 0x28]
mov word [ebx + 0x74], ax
mov word [ebx + 0x76], cx
mov ecx, ebx
call fcn.100e43f0
jmp 0x100ec89c
cmp ecx, 0x4000000
jne 0x100ec8b4
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x50000000
jne 0x100ec85e
mov eax, dword [esp + 0x2c]
push 0
mov edi, dword [eax]
lea eax, [esp + 0x18]
push eax
push edi
push ecx
push dword [esp + 0x20]
call fcn.100b1530
push 4
push edi
push ebx
mov dword [esp + 0x3c], eax
call fcn.100c6e90
mov edx, dword [esp + 0x48]
add esp, 0x20
movzx ecx, ax
mov eax, 0x884
mov word [ebx + 0x76], cx
mov ecx, ebx
mov word [ebx + 0x78], ax
mov word [ebx + 0x74], dx
call fcn.100e43f0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100ec8a2
mov eax, dword [edi]
and eax, 0xf0000000
cmp eax, 0xb0000000
jne 0x100ec8a2
mov edx, dword [esp + 0x14]
xor eax, eax
test edx, edx
mov ecx, ebx
setne al
mov dword [esp + 0x1c], eax
call fcn.100c69e0
movzx esi, word [edi]
mov ebp, dword [esp + 0x1c]
jmp 0x100ec89c
and edx, 0xfc000000
cmp edx, 0x30000000
je 0x100ecabd
mov edx, 0x10
mov ecx, ebx
call fcn.100c69e0
mov ecx, 0x2805
movzx eax, ax
mov word [ebx + 0x78], cx
mov ecx, ebx
mov word [ebx + 0x74], di
mov word [ebx + 0x76], ax
call fcn.100e43f0
mov esi, 0x14
mov edx, eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
shl esi, 4
add esi, dword [edx]
jmp 0x100eca82
push dword [esp + 0x2c]
push edi
push ebx
call fcn.100ea500
mov ebp, dword [esp + 0x1c]
add esp, 0xc
movzx esi, word [eax + 6]
mov edx, dword [ebp]
shl esi, 4
add esi, edx
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x100ec8fa
movzx esi, cx
shl esi, 4
add esi, edx
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x100ec8e2
mov eax, dword [esp + 0x2c]
push esi
push ebp
mov eax, dword [eax]
add eax, 8
mov dword [esp + 0x24], eax
call fcn.100ebe50
mov ecx, dword [esi]
mov edi, eax
mov eax, ecx
add esp, 8
shr eax, 0x1c
cmp eax, 2
jne 0x100ec99b
mov edx, dword [esp + 0x28]
mov eax, 0xd
or edi, 0x4300
mov word [ebx + 0x74], dx
mov ecx, ebx
mov word [ebx + 0x78], di
mov word [ebx + 0x76], ax
call fcn.100e43f0
mov edx, dword [esi]
mov ecx, eax
mov ebp, dword [esp + 0x1c]
mov eax, edx
and eax, 0xf0800000
mov dword [esp + 0x28], ecx
cmp eax, 0x20800000
jne 0x100eca7e
mov ecx, dword [esp + 0x10]
mov ebp, dword [ebp]
mov edi, dword [ecx]
movzx esi, dx
shl esi, 4
add esi, edi
mov edx, dword [esi]
mov eax, edx
shr eax, 0x1c
cmp eax, 8
je 0x100ec968
cmp eax, 5
jne 0x100ec989
movzx esi, dx
shl esi, 4
add esi, edi
push esi
push ecx
call fcn.100ebe50
mov ecx, dword [esp + 0x30]
add esp, 8
mov edi, eax
jmp 0x100ec9e8
cmp edi, 0x15
je 0x100eca4c
cmp edi, 0x16
je 0x100eca4c
cmp edi, 0x13
je 0x100eca1a
cmp edi, 0x14
je 0x100eca1a
mov edx, 8
mov ecx, ebx
call fcn.100c69e0
mov edx, dword [esp + 0x28]
mov ecx, 0x2805
movzx eax, ax
mov word [ebx + 0x78], cx
mov ecx, ebx
mov word [ebx + 0x74], dx
mov word [ebx + 0x76], ax
call fcn.100e43f0
mov ebp, dword [esp + 0x1c]
mov ecx, eax
cmp dword [esi], 0x10000000
jae 0x100eca7e
cmp edi, 0xa
je 0x100eca7e
or edi, 0x4400
mov word [ebx + 0x74], cx
xor eax, eax
mov word [ebx + 0x78], di
mov ecx, ebx
mov word [ebx + 0x76], ax
call fcn.100e43f0
jmp 0x100eca7c
cmp eax, 5
jne 0x100eca28
movzx esi, cx
shl esi, 4
add esi, dword [ebp]
mov edx, dword [esp + 0x28]
or edi, 0x4300
mov eax, 0xe
mov word [ebx + 0x78], di
mov ecx, ebx
mov word [ebx + 0x74], dx
mov word [ebx + 0x76], ax
call fcn.100e43f0
jmp 0x100eca78
mov edx, dword [esp + 0x28]
or edi, 0x4300
mov eax, 0xf
mov word [ebx + 0x78], di
mov ecx, ebx
mov word [ebx + 0x74], dx
mov word [ebx + 0x76], ax
call fcn.100e43f0
mov dword [ebx + 0xfc], 1
mov ebp, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, edi
and eax, 0xf0000000
cmp eax, 0x50000000
jne 0x100ecaa0
movzx eax, di
shl eax, 4
add eax, dword [edx]
jmp 0x100ecaa4
mov eax, dword [esp + 0x20]
push ebp
push ecx
push dword [esp + 0x2c]
push esi
push eax
push ebx
call fcn.100ebef0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 9
push ebx
call fcn.100aca80
int3