Function at 0x101e6825
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x1024ccfc], 0x6e2
mov dword [0x1024cd00], 0x61f
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x101e6acc
jmp 0x101e68c2
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], edx
jmp 0x101e6924
mov eax, dword [ebp - 0x28]
add eax, 1
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
setb dl
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], dl
mov eax, 0x1b0e
mov cl, byte [ebp - 0x31]
test cl, 1
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], eax
jne 0x101e69b1
jmp 0x101e6a55
mov dword [0x1024cd00], 0x20b5
mov dword [0x1024ccfc], 0x198c
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x1024ccfc], 0x263a
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x1024ccfc], 0x5c2
mov ecx, dword [ecx + 0x14]
mov dword [0x1024cd00], 0xffffe77d
cmp ecx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x18], eax
je 0x101e6acc
jmp 0x101e6874
mov eax, dword [ebp - 0x24]
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 - 0x1d]
and bh, bl
test bh, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], esi
jne 0x101e6955
jmp 0x101e6979
mov dword [0x1024ccfc], 0x13c8
mov dword [0x1024cd00], 0xa39
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x101e6acc
mov eax, dword [ebp - 0x48]
mov cx, word [eax]
mov word [ebp - 0x52], cx
mov eax, 0x1b1
mov ecx, 0xa39
xor edx, edx
mov si, word [ebp - 0x52]
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x5c], ecx
je 0x101e6a8a
mov eax, dword [ebp - 0x38]
mov ecx, 0x381
mov edx, 0x1bd0
mov esi, dword [ebp - 0x4c]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x28], eax
mov word [ebp - 0x5e], bx
mov dword [ebp - 0x64], edx
mov word [ebp - 0x66], si
mov word [ebp - 0x68], di
mov dword [ebp - 0x6c], ecx
jb 0x101e69f7
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov cx, word [ebp - 0x5e]
cmp cx, 0x1a
mov dx, word [ebp - 0x66]
mov dword [ebp - 0x70], eax
mov word [ebp - 0x72], dx
jb 0x101e6a18
mov ax, word [ebp - 0x68]
mov word [ebp - 0x72], ax
mov ax, word [ebp - 0x72]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2], ax
sete bl
mov esi, dword [ebp - 0x70]
add esi, 0x1b2a
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x78], esi
mov byte [ebp - 0x79], bl
mov dword [ebp - 0x3c], edi
jne 0x101e6a55
jmp 0x101e688d
mov eax, dword [ebp - 0x3c]
mov cl, byte [ebp - 0x79]
test cl, 1
mov edx, eax
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], esi
jne 0x101e6a70
jmp 0x101e6a8a
mov eax, dword [ebp - 0x80]
mov dword [0x1024ccfc], eax
mov dword [0x1024cd00], 0x1fbb
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x18], ecx
jmp 0x101e6acc
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x44]
mov esi, dword [edx]
mov edi, dword [ebp - 0x40]
cmp esi, edi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x24], esi
jne 0x101e6924
xor eax, eax
mov ecx, dword [ebp - 0x88]
mov dword [0x1024ccfc], ecx
mov edx, dword [ebp - 0x84]
mov dword [0x1024cd00], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret