Function at 0x101199e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10188a54], 0x1d0f
mov edx, dword [0x10188a58]
add edx, 0x1308
mov dword [0x10188a58], edx
cmp ecx, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], bl
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
sete dl
mov dh, byte [ebp - 0x15]
and dh, dl
test dh, 1
mov dword [ebp - 0x1c], eax
jne 0x10119c36
jmp 0x10119b2e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x28]
cmp ecx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
je 0x10119c30
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov esi, dword [ebp - 0x2c]
mov dword [0x10188a54], esi
mov edi, dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete al
mov ah, byte [ebp - 0x35]
and ah, al
mov byte [ebp - 0x36], ah
mov word [ebp - 0x38], cx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edi
mov al, byte [ebp - 0x36]
test al, 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
jne 0x10119ba1
jmp 0x10119bb1
mov eax, 0x40c8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x10119a44
mov eax, dword [ebp - 0x48]
mov ecx, 0x1c00
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 - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x52], si
mov word [ebp - 0x54], bx
jb 0x10119af4
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
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 - 0x50]
mov al, bl
mov byte [ebp - 0x55], bl
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x5d], al
jne 0x10119c15
jmp 0x10119bdd
mov dword [0x10188a58], 0x533
mov dword [0x10188a54], 0x10ed
mov ecx, dword fs:[0x18]
mov eax, 0x2546
mov dword [0x10188a54], 0xb3f
mov dword [0x10188a58], 0x25b1
mov ecx, dword [ecx + 0x30]
mov dword [0x10188a58], 0x714
mov ecx, dword [ecx + 0xc]
add ecx, 0x14
mov dword [0x10188a54], 0x1d7f
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x35], bl
mov dword [ebp - 0x20], eax
jmp 0x10119a44
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x10119c36
mov ax, word [ebp - 0x38]
shr ax, 1
mov dword [0x10188a58], 0x2296
movzx ecx, ax
cmp ax, 0
mov dword [ebp - 0x64], ecx
je 0x10119aa8
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x10119ab8
mov eax, dword [ebp - 0x4c]
add eax, 1
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
setb dl
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x69], dl
mov eax, 0x16c1
mov cl, byte [ebp - 0x69]
test cl, 1
mov edx, dword [ebp - 0x68]
mov ch, byte [ebp - 0x55]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], ch
jne 0x10119ab8
jmp 0x10119c15
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0x5c]
mov dword [0x10188a54], ecx
test al, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x34], ecx
jne 0x10119c30
jmp 0x10119aa8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret