Function at 0x102dd9c6
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 edx, 0xffffffff
mov esi, dword [0x10322b70]
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
add esi, 0xffffe74c
mov dword [0x10322b70], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x102ddc1c
jmp 0x102ddb19
mov dword [0x10322b70], 0x1806
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [0x10322b74], 0x1756
mov dword [ebp - 0x18], eax
jmp 0x102ddc1c
mov eax, 0xc60
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jb 0x102dda94
mov eax, dword [ebp - 0x28]
mov ecx, 0x13e3
mov dl, byte [ebp - 0x31]
test dl, 1
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jne 0x102ddbf1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
mov edi, dword [ebp - 0x40]
cmp esi, edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], esi
je 0x102ddb03
jmp 0x102ddb84
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x50]
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 - 0x54], ecx
mov word [ebp - 0x56], si
mov word [ebp - 0x58], bx
jb 0x102ddace
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
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 - 0x54]
mov byte [ebp - 0x31], bl
mov dword [ebp - 0x28], esi
jne 0x102dda5a
jmp 0x102dda3a
mov eax, dword [ebp - 0x48]
mov dword [0x10322b70], eax
mov ecx, dword [ebp - 0x44]
mov dword [0x10322b74], ecx
jmp 0x102ddc0d
mov eax, dword [0x10322b74]
mov ecx, eax
add ecx, 0xffffd93f
mov dword [0x10322b74], ecx
add eax, 0xffffd07a
mov dword [0x10322b70], eax
mov ecx, dword fs:[0x18]
mov dword [0x10322b74], 0x18c2
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x10322b70], 0x1aca
cmp eax, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x5c], eax
je 0x102ddc0d
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 0x5d], cl
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
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 - 0x5d]
and bh, bl
test bh, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x68], esi
jne 0x102dda16
mov eax, 0x1806
mov ecx, 0x40cd
xor edx, edx
mov esi, dword [ebp - 0x64]
mov di, word [esi]
shr di, 1
movzx ebx, di
cmp di, 0
mov esi, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], edx
je 0x102dda74
jmp 0x102dda94
mov dword [0x10322b70], 0x13e3
mov dword [0x10322b74], 0xfffff442
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x18], eax
jmp 0x102ddc1c
xor eax, eax
mov dword [0x10322b70], 0x259f
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret