Function at 0x100137fe
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 [0x102f47b8]
add edx, 0x1948
mov dword [0x102f47b8], edx
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x16], bh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x10013983
jmp 0x1001398e
xor eax, eax
mov dword [0x102f47b4], 0x16b1
mov ecx, dword [ebp - 0x20]
mov dword [0x102f47b8], ecx
mov dword [ebp - 0x1c], eax
jmp 0x10013983
mov eax, dword [ebp - 0x24]
mov cl, byte [ebp - 0x25]
test cl, 1
mov edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
jne 0x10013a83
jmp 0x10013a9f
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
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 - 0x44], eax
mov word [ebp - 0x46], di
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x52], si
jb 0x100138d9
mov ax, word [ebp - 0x46]
mov word [ebp - 0x52], ax
mov ax, word [ebp - 0x52]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
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 - 0x4c]
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x24], esi
jne 0x10013877
jmp 0x10013a33
mov eax, dword [ebp - 0x58]
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 - 0x59]
and bh, bl
test bh, 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x68], esi
jne 0x10013a0f
mov eax, dword [ebp - 0x64]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
mov word [ebp - 0x6a], cx
mov dword [ebp - 0x70], edx
mov eax, 0x1cf7
mov ecx, 0x6c0
xor edx, edx
mov si, word [ebp - 0x6a]
cmp si, 0
mov edi, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
je 0x10013a9f
jmp 0x10013893
mov eax, dword [ebp - 0x1c]
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x102f47b4]
add eax, 0xfffff019
mov dword [0x102f47b8], eax
mov dword [0x102f47b4], 0x115
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x102f47b8], 0x2678
mov dword [0x102f47b4], 0x1405
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102f47b8], 0xe68
mov ecx, dword [ecx + 0x14]
mov dword [0x102f47b4], 0x3cf
cmp ecx, edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x1c], eax
je 0x10013983
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x59], cl
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
jmp 0x1001390e
mov dword [0x102f47b4], 0x206f
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff8
mov dword [0x102f47b8], 0x1cf7
mov dword [ebp - 0x1c], eax
jmp 0x10013983
mov eax, dword [ebp - 0x4c]
add eax, 0xffffdfc1
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x70]
cmp ecx, edx
setb bl
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
mov byte [ebp - 0x81], bl
mov al, byte [ebp - 0x81]
test al, 1
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
jne 0x10013893
jmp 0x10013877
mov eax, dword [ebp - 0x50]
mov dword [0x102f47b4], eax
mov ecx, dword [ebp - 0x2c]
mov dword [0x102f47b8], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
jmp 0x10013983
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x78]
cmp edx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], edx
je 0x1001385a
jmp 0x1001390e