Function at 0x100dabf4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x101cf8c8]
mov edi, esi
add edi, 0xfffff82b
mov dword [0x101cf8c4], edi
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], esi
mov dword [ebp - 0x1c], edx
jne 0x100dae71
jmp 0x100dace0
mov eax, 0x1079
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jb 0x100dade9
jmp 0x100dacc8
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [0x101cf8c8]
add edx, 0xffffdfbd
mov esi, dword [ebp - 0x30]
mov byte [ebp - 0x31], cl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edx
jmp 0x100dad8a
xor eax, eax
mov dword [0x101cf8c4], 0x1726
mov dword [ebp - 0x1c], eax
jmp 0x100dae71
mov eax, dword [ebp - 0x40]
add eax, 0x2078
mov dword [0x101cf8c8], 0x14b5
mov dword [0x101cf8c4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
jmp 0x100dae71
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp - 0x45]
test cl, 1
mov edx, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], edx
jne 0x100daca6
jmp 0x100dad69
mov eax, dword [ebp - 0x18]
add eax, 0xffffff19
mov dword [0x101cf8c8], eax
mov dword [0x101cf8c4], 0x1807
mov ecx, dword fs:[0x18]
mov dword [0x101cf8c4], 0x17d3
mov dword [0x101cf8c8], 0xca9
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x101cf8c4], 0x1e4e
cmp eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x30], eax
je 0x100dac92
jmp 0x100dac6a
mov eax, dword [ebp - 0x54]
mov dword [0x101cf8c4], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff8
mov dword [0x101cf8c8], 0x14b5
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
jmp 0x100dae71
mov eax, dword [ebp - 0x4c]
mov ecx, 0xfffff472
mov edx, dword [ebp - 0x58]
mov esi, dword [edx]
mov edi, dword [ebp - 0x50]
cmp esi, edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ecx
je 0x100dae5a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, ecx
add edx, 0x24
mov esi, dword [ecx + 0x28]
mov edi, dword [ecx + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete bl
mov bh, byte [ebp - 0x31]
and bh, bl
test bh, 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x44], edi
jne 0x100dad40
mov eax, dword [ebp - 0x64]
mov cx, word [eax]
shr cx, 1
mov word [ebp - 0x6a], cx
xor eax, eax
mov cx, word [ebp - 0x6a]
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], eax
je 0x100dad69
mov eax, dword [ebp - 0x2c]
mov ecx, 0x5fe
mov edx, dword [ebp - 0x68]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x70], ecx
mov word [ebp - 0x72], si
mov word [ebp - 0x74], bx
jb 0x100dae25
mov ax, word [ebp - 0x72]
mov word [ebp - 0x74], ax
mov ax, word [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
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 - 0x70]
mov byte [ebp - 0x45], bl
mov dword [ebp - 0x28], esi
jne 0x100dacc8
jmp 0x100dac49
mov eax, dword [ebp - 0x60]
mov dword [0x101cf8c4], eax
mov dword [0x101cf8c8], 0x14b5
jmp 0x100dac92
mov eax, dword [ebp - 0x1c]
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret