Function at 0x100eda00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x10108458]
add esi, 0x2dd
mov dword [0x1010845c], esi
mov dword [0x10108458], 0xc52
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x100edc4b
jmp 0x100eda93
mov dword [0x1010845c], 0x12aa
mov eax, dword [ebp - 0x1c]
add eax, 1
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
setb dl
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x25], dl
mov al, byte [ebp - 0x25]
test al, 1
mov ecx, dword [ebp - 0x24]
mov dl, byte [ebp - 0x26]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x2d], dl
jne 0x100edba8
jmp 0x100edc0c
mov dword [0x1010845c], 0xffffdbfd
mov dword [0x10108458], 0xffffdfef
mov ecx, dword fs:[0x18]
mov eax, 0xa0f
mov dword [0x10108458], 0x2178
mov edx, dword [0x1010845c]
add edx, 0xffffdf4b
mov dword [0x10108458], edx
mov ecx, dword [ecx + 0x30]
mov dword [0x10108458], 0x147e
mov ecx, dword [ecx + 0xc]
add ecx, 0x14
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, ecx
mov byte [ebp - 0x2e], bl
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [0x1010845c], ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
cmp eax, ecx
mov dword [ebp - 0x40], eax
je 0x100edc3a
mov eax, dword [ebp - 0x40]
mov cx, word [eax + 0x24]
mov dword [0x10108458], 0x2324
mov edx, dword [eax + 0x28]
add eax, 0x10
mov dword [ebp - 0x44], edx
mov word [ebp - 0x46], cx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
cmp ecx, edx
sete bl
mov bh, byte [ebp - 0x2e]
and bh, bl
test bh, 1
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], esi
jne 0x100edb60
jmp 0x100edb70
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x100edc4b
mov dword [0x10108458], 0x511
mov ax, word [ebp - 0x46]
shr ax, 1
movzx ecx, ax
cmp ax, 0
mov dword [ebp - 0x20], ecx
jne 0x100edba1
mov eax, 0x12b
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
jmp 0x100edaff
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x100edba8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x56], dx
mov word [ebp - 0x58], di
jb 0x100edbdc
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov al, bl
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x2d], al
jne 0x100edc0c
jmp 0x100eda57
mov al, byte [ebp - 0x2d]
mov dword [0x10108458], 0x1d6a
test al, 1
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], ecx
jne 0x100edc28
jmp 0x100edb8e
mov eax, dword [ebp - 0x5c]
mov dword [0x10108458], 0xc0f
mov dword [ebp - 0x18], eax
jmp 0x100edc4b
mov dword [0x10108458], 0x13a9
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x100edc4b
mov eax, dword [ebp - 0x18]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret