Function at 0x100117bc
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
mov dword [0x10030e94], 0x122e
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 0x100119e3
jmp 0x10011834
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x10030e94], ecx
mov dword [0x10030e98], 0x671
mov dword [ebp - 0x18], eax
jmp 0x100119e3
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x1d], cl
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
jmp 0x10011895
mov dword [0x10030e94], 0xc01
mov ecx, dword fs:[0x18]
mov dword [0x10030e94], 0x1973
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x10030e98], 0x177a
mov eax, dword [eax + 0x14]
mov dword [0x10030e94], 0x1eb7
cmp eax, ecx
sete dl
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x2d], dl
xor eax, eax
mov cl, byte [ebp - 0x2d]
test cl, 1
mov dword [ebp - 0x18], eax
jne 0x100119e3
jmp 0x1001181e
mov eax, dword [ebp - 0x28]
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 dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], esi
jne 0x100118c6
jmp 0x100118ea
mov dword [0x10030e94], 0xdfa
mov dword [0x10030e98], 0xa7
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x100119e3
mov eax, 0xdfa
xor ecx, ecx
mov edx, dword [ebp - 0x38]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], eax
je 0x100119c5
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
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 0x10011951
mov ax, word [ebp - 0x5a]
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add ecx, 0x264a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x54]
cmp word [edx + esi*2], ax
sete bl
add esi, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov edi, dword [ebp - 0x4c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, ecx
mov byte [ebp - 0x5d], bl
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
jne 0x10011917
mov al, byte [ebp - 0x5d]
test al, 1
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], ecx
jne 0x100119ab
jmp 0x100119c5
mov eax, dword [ebp - 0x64]
mov dword [0x10030e94], eax
mov dword [0x10030e98], 0x671
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x18], ecx
jmp 0x100119e3
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], edx
je 0x10011801
jmp 0x10011895
mov eax, dword [ebp - 0x18]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret