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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, edi
and ebx, 0x80000001
jns 0x100e89ab
dec ebx
or ebx, 0xfffffffe
inc ebx
mov ecx, dword [ebp + 0x10]
mov eax, ecx
and eax, 0x80000001
jns 0x100e89bc
dec eax
or eax, 0xfffffffe
inc eax
jne 0x100e89cc
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp + 0x10], esi
jmp 0x100e89e9
lea eax, [ecx + 1]
cdq
sub eax, edx
cmp dword [ebp + 0x24], 0
je 0x100e89df
sar eax, 1
lea esi, [eax - 1]
jmp 0x100e89e6
mov esi, eax
sar esi, 1
lea eax, [esi - 1]
mov dword [ebp + 0x10], eax
test ebx, ebx
jne 0x100e89fb
mov eax, edi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 4], edi
jmp 0x100e8a1d
lea eax, [edi + 1]
cdq
sub eax, edx
cmp dword [ebp + 0x20], 0
je 0x100e8a13
mov edx, eax
sar edx, 1
mov dword [ebp - 4], edx
lea edi, [edx - 1]
jmp 0x100e8a1d
mov edi, eax
sar edi, 1
lea eax, [edi - 1]
mov dword [ebp - 4], eax
mov eax, edi
and eax, 0x80000001
jns 0x100e8a2b
dec eax
or eax, 0xfffffffe
inc eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov word [ebx + ecx*8], ax
mov word [ebx + ecx*8 + 0x10], ax
mov eax, dword [ebp + 0x1c]
mov word [ebx + ecx*8 + 2], ax
mov word [ebx + ecx*8 + 0xa], ax
mov eax, esi
and eax, 0x80000001
jns 0x100e8a5b
dec eax
or eax, 0xfffffffe
inc eax
jne 0x100e8a80
mov eax, esi
cdq
sub eax, edx
sar eax, 1
movzx edx, ax
mov word [ebx + ecx*8 + 4], ax
mov dword [ebp - 0xc], edx
mov word [ebx + ecx*8 + 0xc], ax
mov word [ebx + ecx*8 + 0x14], ax
mov word [ebx + ecx*8 + 0x1c], ax
jmp 0x100e8aad
lea eax, [esi + 1]
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov word [ebx + ecx*8 + 4], ax
mov word [ebx + edx*8 + 0x14], ax
lea ecx, [eax - 1]
mov word [ebx + edx*8 + 0xc], cx
movzx ecx, ax
mov dword [ebp - 0xc], ecx
lea ecx, [eax - 1]
mov word [ebx + edx*8 + 0x1c], cx
mov ecx, edx
mov ax, word [ebx + ecx*8 + 4]
add ax, word [ebp + 0x18]
cmp dword [ebp - 8], 0
mov word [ebp + 0x16], ax
mov word [ebx + ecx*8 + 8], ax
mov word [ebx + ecx*8 + 0x18], ax
jne 0x100e8ae0
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov word [ebx + ecx*8 + 6], ax
movzx edx, ax
mov word [ebx + ecx*8 + 0xe], ax
jmp 0x100e8af6
lea eax, [edi + 1]
cdq
sub eax, edx
sar eax, 1
mov word [ebx + ecx*8 + 6], ax
movzx edx, ax
mov word [ebx + ecx*8 + 0xe], ax
dec eax
mov word [ebx + ecx*8 + 0x1e], ax
mov word [ebx + ecx*8 + 0x16], ax
mov ax, word [ebx + ecx*8 + 6]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0x1c]
add ax, dx
mov word [ebx + ecx*8 + 0x12], ax
mov word [ebx + ecx*8 + 0x1a], ax
mov ecx, dword [ebp + 0x18]
add ecx, esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
mov word [ebx + esi*8 + 0x20], cx
mov word [ebx + esi*8 + 0x30], cx
movzx ecx, word [ebx + esi*8 + 0x16]
mov word [ebx + esi*8 + 0x32], ax
mov word [ebx + esi*8 + 0x3a], ax
mov eax, dword [ebp - 8]
mov word [ebx + esi*8 + 0x26], ax
mov word [ebx + esi*8 + 0x2e], ax
mov eax, dword [ebp + 0x10]
mov word [ebx + esi*8 + 0x36], cx
mov word [ebx + esi*8 + 0x3e], cx
mov ecx, eax
mov word [ebx + esi*8 + 0x22], dx
mov word [ebx + esi*8 + 0x2a], dx
and ecx, 0x80000001
jns 0x100e8b6f
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x100e8b85
cdq
sub eax, edx
sar eax, 1
mov word [ebx + esi*8 + 0x24], ax
movzx edx, ax
mov word [ebx + esi*8 + 0x34], ax
jmp 0x100e8b9b
inc eax
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax - 1]
mov word [ebx + esi*8 + 0x24], cx
movzx edx, cx
mov word [ebx + esi*8 + 0x34], cx
mov ecx, dword [ebp + 0x18]
add edi, dword [ebp + 0x1c]
mov word [ebx + esi*8 + 0x3c], ax
mov word [ebx + esi*8 + 0x2c], ax
mov ax, word [ebx + esi*8 + 0x24]
add ax, word [ebp + 8]
mov word [ebp + 0xe], ax
mov word [ebx + esi*8 + 0x28], ax
mov word [ebx + esi*8 + 0x38], ax
mov ax, word [ebp + 0x16]
mov word [ebx + esi*8 + 0x40], cx
mov word [ebx + esi*8 + 0x50], cx
movzx ecx, word [ebx + esi*8 + 0xc]
mov word [ebx + esi*8 + 0x48], ax
mov word [ebx + esi*8 + 0x58], ax
mov eax, dword [ebp - 0xc]
mov word [ebx + esi*8 + 0x44], ax
mov word [ebx + esi*8 + 0x4c], cx
mov word [ebx + esi*8 + 0x54], ax
mov eax, dword [ebp - 4]
mov word [ebx + esi*8 + 0x5c], cx
mov ecx, eax
mov dword [ebp + 0x10], edx
mov word [ebx + esi*8 + 0x42], di
mov word [ebx + esi*8 + 0x4a], di
and ecx, 0x80000001
jns 0x100e8c15
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x100e8c28
cdq
sub eax, edx
sar eax, 1
mov word [ebx + esi*8 + 0x56], ax
mov word [ebx + esi*8 + 0x5e], ax
jmp 0x100e8c39
inc eax
cdq
sub eax, edx
sar eax, 1
mov word [ebx + esi*8 + 0x56], ax
mov word [ebx + esi*8 + 0x5e], ax
dec eax
mov ecx, dword [ebp + 8]
movzx edx, ax
mov word [ebx + esi*8 + 0x4e], ax
mov word [ebx + esi*8 + 0x46], ax
mov word [ebx + esi*8 + 0x60], cx
mov cx, word [ebp + 0xe]
lea eax, [edx + edi]
mov word [ebx + esi*8 + 0x52], ax
mov word [ebx + esi*8 + 0x5a], ax
mov eax, dword [ebp + 8]
mov word [ebx + esi*8 + 0x70], ax
lea eax, [edx + edi]
mov word [ebx + esi*8 + 0x72], ax
mov word [ebx + esi*8 + 0x7a], ax
movzx eax, word [ebx + esi*8 + 0x2c]
mov word [ebx + esi*8 + 0x6c], ax
mov word [ebx + esi*8 + 0x7c], ax
movzx eax, word [ebx + esi*8 + 0x56]
mov word [ebx + esi*8 + 0x68], cx
mov word [ebx + esi*8 + 0x78], cx
mov ecx, dword [ebp + 0x10]
mov word [ebx + esi*8 + 0x62], di
mov word [ebx + esi*8 + 0x6a], di
pop edi
mov word [ebx + esi*8 + 0x64], cx
mov word [ebx + esi*8 + 0x74], cx
mov word [ebx + esi*8 + 0x66], dx
mov word [ebx + esi*8 + 0x6e], dx
mov word [ebx + esi*8 + 0x76], ax
mov word [ebx + esi*8 + 0x7e], ax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret