Function at 0x10013812
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, 0
sete dl
cmp ecx, 0
sete dh
mov esi, dword [0x102f4658]
add esi, 0x1948
mov dword [0x102f4658], esi
and dh, dl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x10013a8a
jmp 0x100138bd
mov eax, dword [ebp - 0x20]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
mov word [ebp - 0x22], cx
mov dword [ebp - 0x28], edx
mov eax, 0x1cf7
mov ecx, 0x6c0
xor edx, edx
mov si, word [ebp - 0x22]
cmp si, 0
mov edi, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
je 0x10013a59
jmp 0x1001398c
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 0x3d], cl
mov dword [ebp - 0x44], edx
jmp 0x10013934
mov eax, dword [0x102f4654]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 0xfffff019
mov dword [0x102f4658], eax
mov dword [0x102f4654], 0x115
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x102f4658], 0x2678
mov dword [0x102f4654], 0x1405
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102f4658], 0xe68
mov ecx, dword [ecx + 0x14]
mov dword [0x102f4654], 0x3cf
cmp ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x1c], eax
je 0x10013a8a
jmp 0x100138a7
mov eax, dword [ebp - 0x44]
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 - 0x3d]
and bh, bl
test bh, 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], esi
jne 0x10013968
jmp 0x10013865
mov dword [0x102f4654], 0x206f
mov dword [0x102f4658], 0x1cf7
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x10013a8a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x54]
mov di, word [esi + eax*2]
add ecx, 0xffffff69
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x5e], di
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], ecx
mov word [ebp - 0x6a], si
jb 0x100139d2
mov ax, word [ebp - 0x5e]
mov word [ebp - 0x6a], ax
mov ax, word [ebp - 0x6a]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
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 - 0x64]
mov byte [ebp - 0x6b], bl
mov dword [ebp - 0x70], esi
jne 0x10013a2b
mov eax, dword [ebp - 0x64]
add eax, 0xffffdfc1
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov edx, dword [ebp - 0x28]
cmp ecx, edx
mov esi, eax
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x70], eax
jb 0x1001398c
mov eax, dword [ebp - 0x70]
mov cl, byte [ebp - 0x6b]
test cl, 1
mov edx, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x38], edx
jne 0x10013a40
jmp 0x10013a59
mov eax, dword [ebp - 0x68]
mov dword [0x102f4654], eax
mov ecx, dword [ebp - 0x74]
mov dword [0x102f4658], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x1c], edx
jmp 0x10013a8a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x4c]
cmp edx, esi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x44], edx
jne 0x10013934
xor eax, eax
mov dword [0x102f4654], 0x16b1
mov ecx, dword [ebp - 0x78]
mov dword [0x102f4658], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret