Function at 0x101b9ba6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x101d2d18]
add esi, 0x975
mov dword [0x101d2d14], esi
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 0x101b9ddc
jmp 0x101b9c2d
mov dword [0x101d2d14], 0xffffff5b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x101b9ddc
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [0x101d2d18]
add edx, 0xa85
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
jmp 0x101b9c7d
mov dword [0x101d2d14], 0xab3
mov dword [0x101d2d18], 0x104a
mov ecx, dword fs:[0x18]
mov dword [0x101d2d14], 0x1cc0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x101d2d14], 0xffffffd2
mov eax, dword [eax + 0x14]
cmp eax, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
je 0x101b9dcb
jmp 0x101b9c08
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x101d2d18], ecx
mov dx, word [eax + 0x24]
mov ecx, dword [eax + 0x28]
mov dword [0x101d2d14], 0x128b
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x34], eax
mov word [ebp - 0x36], dx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], esi
jne 0x101b9cbe
jmp 0x101b9cd4
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
jmp 0x101b9ddc
xor eax, eax
mov dword [0x101d2d14], 0x4e4
mov cx, word [ebp - 0x36]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], eax
je 0x101b9da6
mov eax, dword [ebp - 0x48]
mov ecx, 0xb88
mov edx, dword [ebp - 0x3c]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x52], si
mov word [ebp - 0x54], bx
jb 0x101b9d38
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
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 esi, dword [ebp - 0x50]
mov byte [ebp - 0x55], bl
mov dword [ebp - 0x5c], esi
jne 0x101b9d88
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x60], eax
mov eax, 0x1367
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x44]
cmp ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x5c], eax
jb 0x101b9cfc
mov eax, dword [ebp - 0x5c]
mov dword [0x101d2d14], eax
mov dword [0x101d2d18], 0x1a43
mov cl, byte [ebp - 0x55]
test cl, 1
jne 0x101b9bf3
mov eax, 0x270e
mov dword [0x101d2d18], 0x1c89
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jne 0x101b9c7d
mov dword [0x101d2d14], 0x2307
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x101b9ddc
mov eax, dword [ebp - 0x18]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret