Function at 0x100113c8
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 [0x1008805c], 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 0x100115fe
mov dword [0x1008805c], 0xc01
mov ecx, dword fs:[0x18]
mov dword [0x1008805c], 0x1973
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x10088060], 0x177a
mov eax, dword [eax + 0x14]
mov dword [0x1008805c], 0x1eb7
cmp eax, ecx
sete dl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], dl
xor eax, eax
mov cl, byte [ebp - 0x21]
test cl, 1
mov dword [ebp - 0x18], eax
jne 0x100115fe
jmp 0x1001153b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
je 0x100115e6
jmp 0x1001154f
mov dword [0x1008805c], 0xdfa
mov dword [0x10088060], 0xa7
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x100115fe
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, eax
add edx, 1
add ecx, 0x264a
mov esi, dword [ebp - 0x40]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x4e], di
mov word [ebp - 0x50], si
jb 0x100114fc
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x54]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x55], bl
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], eax
jne 0x100114b1
jmp 0x100115ba
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x56], cl
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
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 - 0x56]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x60], esi
jne 0x1001148d
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, 0xdfa
xor ecx, ecx
mov edx, dword [ebp - 0x64]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x38], ecx
je 0x1001146f
jmp 0x100114b1
mov al, byte [ebp - 0x55]
test al, 1
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], ecx
jne 0x100115cc
jmp 0x1001146f
mov eax, dword [ebp - 0x4c]
mov dword [0x1008805c], eax
mov dword [0x10088060], 0x671
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x18], ecx
jmp 0x100115fe
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dword [0x1008805c], ecx
mov dword [0x10088060], 0x671
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret