Function at 0x10013eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x102f5e98]
add edx, 0x1948
mov dword [0x102f5e98], edx
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], bl
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1001415c
jmp 0x10014005
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
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 - 0x30], eax
mov word [ebp - 0x32], di
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov word [ebp - 0x3e], si
jb 0x10013f4c
mov ax, word [ebp - 0x32]
mov word [ebp - 0x3e], ax
mov ax, word [ebp - 0x3e]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
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 - 0x38]
mov al, bl
mov edi, dword [ebp - 0x3c]
mov byte [ebp - 0x3f], bl
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x45], al
mov dword [ebp - 0x4c], edi
jne 0x100140ec
jmp 0x100140b3
mov eax, 0x1cf7
mov ecx, dword [ebp - 0x50]
mov dx, word [ecx]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], eax
je 0x10014126
jmp 0x10013fd5
mov eax, dword [ebp - 0x5c]
mov dword [0x102f5e94], 0x206f
mov dword [0x102f5e98], 0x1cf7
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x1001415c
mov eax, 0x1cf7
mov ecx, 0x6c0
xor edx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edx
jmp 0x10013f06
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x5d], cl
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
jmp 0x10014076
mov eax, dword [0x102f5e94]
add eax, 0xfffff019
mov dword [0x102f5e98], eax
mov dword [0x102f5e94], 0x115
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x102f5e98], 0x2678
mov dword [0x102f5e94], 0x1405
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102f5e98], 0xe68
mov ecx, dword [ecx + 0x14]
mov dword [0x102f5e94], 0x3cf
cmp ecx, edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x1c], eax
je 0x1001415c
jmp 0x10013fef
mov eax, dword [ebp - 0x68]
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 - 0x5d]
and bh, bl
test bh, 1
mov edi, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x5c], edi
jne 0x10013fb1
jmp 0x10013f8c
mov eax, dword [ebp - 0x38]
add eax, 0xffffdfc1
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov edx, dword [ebp - 0x54]
cmp ecx, edx
mov esi, eax
mov edi, dword [ebp - 0x3c]
mov bl, byte [ebp - 0x3f]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bl
jb 0x10013f06
mov eax, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
mov edx, dword [ebp - 0x44]
test cl, 1
mov esi, edx
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x58], edx
jne 0x1001410d
jmp 0x10014126
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x80]
mov dword [0x102f5e94], eax
mov dword [0x102f5e98], edx
mov dword [ebp - 0x1c], ecx
jmp 0x1001415c
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x6c]
cmp edx, esi
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x84], eax
jne 0x10014076
mov eax, dword [ebp - 0x84]
xor ecx, ecx
mov dword [0x102f5e94], 0x16b1
mov dword [0x102f5e98], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret