Function at 0x10240e44
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x102697cc]
add edx, 0xfffff404
mov dword [0x102697c8], 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 0x10241090
jmp 0x10240f77
mov dword [0x102697c8], 0x1514
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x10241090
mov eax, dword [ebp - 0x24]
mov ecx, 0x1cc4
mov edx, dword [ebp - 0x28]
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 - 0x30], ecx
mov word [ebp - 0x32], si
mov word [ebp - 0x34], bx
jb 0x10240ef6
mov ax, word [ebp - 0x32]
mov word [ebp - 0x34], ax
mov ax, word [ebp - 0x34]
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 esi, dword [ebp - 0x30]
mov byte [ebp - 0x35], bl
mov dword [ebp - 0x3c], esi
jne 0x10240f24
jmp 0x10240f41
mov eax, dword [ebp - 0x3c]
mov ecx, 0x1f0d
mov dword [0x102697cc], eax
mov dl, byte [ebp - 0x35]
test dl, 1
mov dword [ebp - 0x40], ecx
jne 0x10240f62
jmp 0x10241054
mov eax, 0x1d54
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov edx, dword [ebp - 0x44]
cmp ecx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], eax
jb 0x10240eba
jmp 0x10240f24
mov dword [0x102697c8], 0x19d9
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
jmp 0x10241090
mov dword [0x102697cc], 0x1c78
mov dword [0x102697c8], 0x7e4
mov ecx, dword fs:[0x18]
mov dword [0x102697c8], 0x2201
mov dword [0x102697cc], 0x2254
mov eax, dword [ecx + 0x30]
mov dword [0x102697c8], 0xfffff9d6
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x102697cc], 0xe68
cmp eax, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
je 0x10241081
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x51], cl
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
jmp 0x10240fef
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 - 0x51]
and bh, bl
test bh, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x48], esi
jne 0x10240ea0
mov eax, 0x18d7
xor ecx, ecx
mov edx, dword [ebp - 0x5c]
mov si, word [edx]
mov dword [0x102697cc], 0x10be
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
jne 0x10240eba
mov eax, dword [ebp - 0x40]
mov dword [0x102697cc], 0x1a05
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x4c]
cmp edx, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], edx
jne 0x10240fef
mov eax, dword [ebp - 0x60]
mov dword [0x102697c8], eax
jmp 0x10241081
xor eax, eax
mov dword [0x102697cc], 0x2016
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret