Function at 0x101bc210
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 dword [0x101d2954], 0x1d0f
mov esi, dword [0x101d2958]
add esi, 0x1308
mov dword [0x101d2958], 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 0x101bc442
jmp 0x101bc2f6
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, 0x16c1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov bl, byte [ebp - 0x25]
mov byte [ebp - 0x26], bl
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
jb 0x101bc3af
jmp 0x101bc421
mov eax, dword [ebp - 0x34]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov esi, dword [ebp - 0x38]
mov dword [0x101d2954], esi
mov edi, dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete al
mov ah, byte [ebp - 0x39]
and ah, al
test ah, 1
mov esi, dword [ebp - 0x34]
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edi
jne 0x101bc2e6
jmp 0x101bc386
mov eax, 0x40c8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jmp 0x101bc363
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x101bc442
mov dword [0x101d2958], 0x533
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov dword [0x101d2954], 0x10ed
mov edx, dword fs:[0x18]
mov eax, 0x2546
mov dword [0x101d2954], 0xb3f
mov dword [0x101d2958], 0x25b1
mov edx, dword [edx + 0x30]
mov dword [0x101d2958], 0x714
mov edx, dword [edx + 0xc]
add edx, 0x14
mov dword [0x101d2954], 0x1d7f
mov esi, edx
mov byte [ebp - 0x39], cl
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [eax]
mov esi, dword [ebp - 0x54]
cmp eax, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], edx
je 0x101bc43c
jmp 0x101bc299
mov dword [0x101d2958], 0x2296
mov ax, word [ebp - 0x3c]
shr ax, 1
movzx ecx, ax
cmp ax, 0
mov dword [ebp - 0x24], ecx
je 0x101bc2d6
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x101bc3af
mov eax, dword [ebp - 0x2c]
mov ecx, 0x1c00
mov edx, dword [ebp - 0x40]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x5e], si
mov word [ebp - 0x60], bx
jb 0x101bc3eb
mov ax, word [ebp - 0x5e]
mov word [ebp - 0x60], ax
mov ax, word [ebp - 0x60]
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 esi, dword [ebp - 0x5c]
mov byte [ebp - 0x25], bl
mov byte [ebp - 0x26], al
mov dword [ebp - 0x30], esi
jne 0x101bc421
jmp 0x101bc26a
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp - 0x26]
mov dword [0x101d2954], eax
test cl, 1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
jne 0x101bc43c
jmp 0x101bc2d6
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret