Function at 0x101d6216
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
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 0x101d624d
jmp 0x101d62b6
mov eax, dword [ebp - 0x18]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
je 0x101d640a
jmp 0x101d62a1
mov eax, dword [ebp - 0x2c]
mov dword [0x1034e648], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff8
mov dword [ebp - 0x18], ecx
jmp 0x101d624d
mov eax, dword [ebp - 0x2c]
mov dword [0x1034e648], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
jmp 0x101d624d
mov eax, dword [ebp - 0x20]
add eax, 0xffffd8fa
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
jmp 0x101d6381
mov dword [0x1034e644], 0xfffff235
mov dword [0x1034e648], 0x191f
mov ecx, dword fs:[0x18]
xor eax, eax
mov edx, dword [0x1034e644]
add edx, 0xffffe4cd
mov dword [0x1034e644], edx
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x1034e648], 0x702
mov ecx, dword [ecx + 0x14]
mov dword [0x1034e644], 0x1c32
cmp ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x18], eax
je 0x101d624d
mov eax, 0x1c32
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x45], dl
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
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 - 0x30], eax
mov eax, dword [ebp - 0x10]
cmp ebx, eax
sete al
mov ah, byte [ebp - 0x45]
and ah, al
test ah, 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x2c], edi
jne 0x101d627b
jmp 0x101d6258
mov eax, dword [ebp - 0x3c]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x54]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x5e], si
mov word [ebp - 0x60], bx
jb 0x101d63c0
mov ax, word [ebp - 0x5e]
mov word [ebp - 0x60], ax
mov ax, word [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x24]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x61], bl
mov dword [ebp - 0x3c], esi
jne 0x101d6381
mov eax, dword [ebp - 0x38]
mov dword [0x1034e644], eax
mov cl, byte [ebp - 0x61]
test cl, 1
mov dword [ebp - 0x28], eax
jne 0x101d6291
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x44]
cmp edx, esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x101d6338
mov eax, dword [ebp - 0x2c]
mov dword [0x1034e648], eax
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x101d624d