Function at 0x100ef374
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x100ef59e
jmp 0x100ef4ad
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, eax
add edx, 0x24
mov esi, dword [eax + 0x28]
mov edi, ecx
add edi, 0xfffff2d7
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp ebx, eax
sete al
mov ah, byte [ebp - 0x25]
and ah, al
test ah, 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
jne 0x100ef54a
jmp 0x100ef517
mov eax, dword [ebp - 0x40]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x38]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov word [ebp - 0x4a], si
mov word [ebp - 0x4c], bx
jb 0x100ef43a
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x50]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x51], bl
mov dword [ebp - 0x40], esi
jne 0x100ef3fb
jmp 0x100ef491
mov eax, 0x1c32
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x58]
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jmp 0x100ef3b2
mov eax, dword [ebp - 0x5c]
mov dword [0x1014bec4], eax
mov cl, byte [ebp - 0x51]
test cl, 1
mov dword [ebp - 0x60], eax
jne 0x100ef566
jmp 0x100ef576
mov dword [0x1014bec4], 0xfffff235
mov dword [0x1014bec8], 0x191f
mov ecx, dword fs:[0x18]
xor eax, eax
mov edx, dword [0x1014bec4]
add edx, 0xffffe4cd
mov dword [0x1014bec4], edx
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x1014bec8], 0x702
mov ecx, dword [ecx + 0x14]
mov dword [0x1014bec4], 0x1c32
cmp ecx, edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x18], eax
je 0x100ef59e
jmp 0x100ef46f
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x60], esi
je 0x100ef576
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 0xffffd8fa
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x40], eax
jmp 0x100ef3fb
mov eax, dword [ebp - 0x3c]
mov dword [0x1014bec8], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff8
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
jmp 0x100ef59e
mov eax, dword [ebp - 0x3c]
mov dword [0x1014bec8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
jmp 0x100ef59e
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x64]
cmp edx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
jne 0x100ef3b2
mov eax, dword [ebp - 0x3c]
mov dword [0x1014bec8], eax
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x100ef59e
mov eax, dword [ebp - 0x18]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret