Function at 0x1000d6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10071070], 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0
sete dl
mov esi, dword [ebp - 0x10]
cmp esi, 0
sete dh
and dl, dh
test dl, 1
mov dword [ebp - 0x18], eax
jne 0x1000d91f
jmp 0x1000d725
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], edx
jmp 0x1000d7b3
mov dword [0x10071074], 0x259f
mov dword [0x10071070], 0x1312
mov ecx, dword fs:[0x18]
mov eax, dword [0x10071074]
add eax, 0xffffee1d
mov dword [0x10071074], eax
mov eax, dword [0x10071070]
mov ecx, dword [ecx + 0x30]
mov edx, eax
add edx, 0xfffff30c
mov dword [0x10071070], edx
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
add eax, 0xffffdee7
mov dword [0x10071074], eax
cmp ecx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
jne 0x1000d70c
xor eax, eax
mov dword [0x10071070], 0x7be
mov dword [ebp - 0x18], eax
jmp 0x1000d91f
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 0xffffe216
mov dword [0x10071070], eax
mov dword [0x10071074], ecx
jmp 0x1000d787
mov eax, dword [ebp - 0x24]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x1d]
and bh, bl
test bh, 1
mov edi, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
jne 0x1000d7e9
jmp 0x1000d80d
mov eax, dword [ebp - 0x40]
mov dword [0x10071070], 0x3267
mov dword [0x10071074], 0x1fa8
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1000d91f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, 0x181
mov ecx, dword [ebp - 0x44]
mov dx, word [ecx]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], eax
je 0x1000d901
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x1000d83d
mov eax, dword [ebp - 0x50]
mov ecx, 0x1ff9
mov edx, dword [ebp - 0x38]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x5a], si
mov word [ebp - 0x5c], bx
jb 0x1000d879
mov ax, word [ebp - 0x5a]
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
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 - 0x58]
mov byte [ebp - 0x5d], bl
mov byte [ebp - 0x5e], al
mov dword [ebp - 0x64], esi
jne 0x1000d8cf
mov eax, 0x21e
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x48]
cmp ecx, edx
mov bl, byte [ebp - 0x5d]
mov byte [ebp - 0x5e], bl
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x64], eax
jb 0x1000d83d
mov eax, dword [ebp - 0x64]
mov cl, byte [ebp - 0x5e]
test cl, 1
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x4c], eax
jne 0x1000d8e5
jmp 0x1000d901
mov eax, dword [ebp - 0x68]
mov dword [0x10071074], 0x24c3
mov dword [0x10071070], 0x1baa
mov dword [ebp - 0x18], eax
jmp 0x1000d91f
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x28]
cmp edx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edx
je 0x1000d79b
jmp 0x1000d7b3
mov eax, dword [ebp - 0x18]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret