Function at 0x101367e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
mov esi, dword [0x102b408c]
cmp eax, 0
sete bh
add esi, 0xfffff1b5
mov dword [0x102b4088], esi
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10136a9f
jmp 0x101368eb
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x101369a8
mov eax, dword [ebp - 0x28]
xor ecx, ecx
add eax, 0x48
mov dword [0x102b4088], eax
mov dword [ebp - 0x18], ecx
jmp 0x10136a9f
mov eax, dword [ebp - 0x2c]
add eax, 1
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
setb dl
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], dl
mov eax, 0x1e0f
mov cl, byte [ebp - 0x35]
test cl, 1
mov edx, eax
mov esi, dword [ebp - 0x34]
mov ch, byte [ebp - 0x36]
mov byte [ebp - 0x37], ch
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x3c], eax
jne 0x101369a8
jmp 0x10136a18
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov edx, eax
add edx, 0x24
mov esi, dword [eax + 0x28]
mov edi, ecx
add edi, 0xcc2
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
cmp ebx, eax
sete al
mov ah, byte [ebp - 0x49]
and ah, al
test ah, 1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x64], eax
jne 0x1013698f
jmp 0x10136963
mov dword [0x102b4088], 0x1cd8
mov ecx, dword fs:[0x18]
mov eax, 0x282c
mov dword [0x102b4088], 0x1c20
mov dword [0x102b408c], 0x2974
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x102b4088], 0x282c
cmp ecx, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x28], eax
je 0x10136843
mov eax, 0x282c
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x68]
mov byte [ebp - 0x49], dl
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], esi
jmp 0x1013689a
mov eax, dword [ebp - 0x5c]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], edi
je 0x10136a5c
jmp 0x10136833
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff8
mov dword [0x102b408c], eax
mov dword [ebp - 0x18], ecx
jmp 0x10136a9f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x60]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x78], ecx
mov word [ebp - 0x7a], si
mov word [ebp - 0x7c], bx
jb 0x101369e2
mov ax, word [ebp - 0x7a]
mov word [ebp - 0x7c], ax
mov ax, word [ebp - 0x7c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
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 al, bl
mov esi, dword [ebp - 0x78]
mov byte [ebp - 0x36], bl
mov byte [ebp - 0x37], al
mov dword [ebp - 0x3c], esi
jne 0x10136a18
jmp 0x1013685a
mov eax, dword [ebp - 0x3c]
mov cl, byte [ebp - 0x37]
mov edx, 0x1e92
mov dword [0x102b4088], 0x1e92
test cl, 1
mov esi, eax
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x74], edx
jne 0x10136a48
jmp 0x10136a5c
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
mov dword [0x102b408c], ecx
mov dword [ebp - 0x18], eax
jmp 0x10136a9f
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x48]
mov esi, dword [edx]
mov edi, dword [ebp - 0x6c]
cmp esi, edi
mov ebx, eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x8c], ecx
jne 0x1013689a
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov dword [0x102b408c], eax
mov dword [ebp - 0x28], ecx
jmp 0x10136843
mov eax, dword [ebp - 0x18]
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret