Function at 0x10010bfd
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x102784d8]
add edx, 0x446
mov dword [0x102784d8], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0
sete dl
mov esi, dword [ebp - 0x10]
cmp esi, 0
sete dh
and dl, dh
test dl, 1
mov dword [ebp - 0x18], eax
jne 0x10010cbc
jmp 0x10010cc7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10010cbc
mov dword [0x102784d8], 0xef1
mov dword [0x102784dc], 0x1b45
mov eax, 0xef1
mov cl, byte [ebp - 0x1d]
test cl, 1
mov dword [ebp - 0x24], eax
jne 0x10010df8
jmp 0x10010e0d
mov eax, 0x240
xor ecx, ecx
mov dword [0x102784d8], 0x240
mov dx, word [ebp - 0x26]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], eax
je 0x10010e0d
jmp 0x10010d81
mov eax, dword [ebp - 0x18]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x102784dc]
add eax, 0xffffd93b
mov dword [0x102784dc], eax
mov dword [0x102784d8], 0x268e
mov ecx, dword fs:[0x18]
mov eax, 0x25c3
mov dword [0x102784d8], 0xbfb
mov ecx, dword [ecx + 0x30]
mov dword [0x102784dc], 0x19f0
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102784d8], 0x25c3
mov ecx, dword [ecx + 0x14]
cmp ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], eax
je 0x10010e34
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x3d], cl
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
jmp 0x10010d42
mov eax, dword [ebp - 0x44]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [0x102784d8], 0x1e46
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 - 0x1c], eax
mov word [ebp - 0x26], cx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], esi
jne 0x10010c4d
jmp 0x10010c87
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov edx, dword [ebp - 0x48]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x56], si
mov word [ebp - 0x58], bx
jb 0x10010dc0
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x30]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x2c], esi
jne 0x10010d81
jmp 0x10010c5a
mov dword [0x102784d8], 0x1542
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
jmp 0x10010cbc
mov eax, dword [ebp - 0x24]
mov ecx, eax
add ecx, 0xfffffed7
mov dword [0x102784dc], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x38]
cmp edx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], eax
jne 0x10010d42
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
add eax, 0xffffe5ec
mov dword [0x102784dc], eax
mov dword [ebp - 0x18], ecx
jmp 0x10010cbc