Function at 0x19de590
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov al, byte [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov byte [esi + 2], al
mov byte [esi + 7], cl
mov ax, word [edi + 0x54]
xor ax, word [ebp + 0x14]
mov word [esi + 4], ax
cmp dword [edx + 0x18], edx
je 0x19de6e4
mov ebx, esi
sub ebx, edx
shr ebx, 0x10
inc ebx
test ebx, ebx
jle 0x1a3de4a
cmp ebx, 0xfe
jge 0x1a3de4a
mov edx, dword [ebp + 0x18]
mov byte [esi + 6], bl
mov byte [esi + 3], cl
mov word [esi], dx
lea ebx, [esi + edx*8]
mov ecx, dword [edi + 0x4c]
movzx eax, byte [edi + 0x52]
shr ecx, 0x14
and ecx, eax
movzx eax, byte [ebx + 2]
xor ecx, eax
test cl, 1
je 0x19de6eb
mov ax, word [edi + 0x54]
mov edx, dword [ebp + 0x18]
xor ax, dx
cmp byte [ebp + 0x10], 0
mov word [ebx + 4], ax
movzx eax, dx
jne 0x19de8d0
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov byte [esi + 2], cl
lea ebx, [edi + 0xc0]
mov byte [esi + 7], cl
cmp dword [edi + 0xb4], ecx
je 0x19de8c9
mov edx, eax
mov ecx, edi
call fcn.019de9b4
mov ecx, eax
cmp ebx, ecx
je 0x19de677
mov edx, dword [edi + 0x4c]
test edx, edx
je 0x1a3e02f
mov eax, dword [ecx - 8]
mov edx, dword [edi + 0x4c]
test eax, edx
je 0x19de668
xor eax, dword [edi + 0x50]
movzx eax, ax
movzx eax, ax
cmp dword [ebp - 0xc], eax
ja 0x1a3e038
mov eax, dword [ecx + 4]
lea ebx, [esi + 8]
cmp dword [eax], ecx
jne 0x1a3e047
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov dword [ecx + 4], ebx
movzx eax, word [esi]
add dword [edi + 0x74], eax
mov edx, dword [edi + 0xb4]
test edx, edx
je 0x19de6c3
movzx ecx, word [esi]
cmp ecx, dword [edx + 4]
jb 0x19de6b5
mov eax, dword [edx]
test eax, eax
je 0x19de83e
mov edx, eax
jmp 0x19de6a2
mov eax, ecx
push ecx
push eax
push ebx
push 1
mov ecx, edi
call fcn.019de8ff
cmp dword [edi + 0x4c], 0
je 0x19de6d9
mov al, byte [esi + 1]
xor al, byte [esi]
xor al, byte [esi + 2]
mov byte [esi + 3], al
mov eax, dword [edi + 0x50]
xor dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov bl, cl
jmp 0x19de5df
cmp dword [edi + 0x4c], 0
je 0x19de707
mov eax, dword [edi + 0x50]
xor dword [ebx], eax
mov al, byte [ebx + 1]
xor al, byte [ebx + 2]
xor al, byte [ebx]
cmp byte [ebx + 3], al
jne 0x1a3de60
mov edx, dword [ebx + 0xc]
lea ecx, [ebx + 8]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 4]
cmp dword [edx], eax
jne 0x1a3de80
cmp dword [edx], ecx
jne 0x1a3de80
movzx eax, word [ebx]
sub dword [edi + 0x74], eax
mov edx, dword [edi + 0xb4]
test edx, edx
je 0x19de755
movzx ecx, word [ebx]
cmp ecx, dword [edx + 4]
jae 0x19de847
mov eax, ecx
push ecx
push eax
lea eax, [ebx + 8]
mov ecx, edi
push eax
push 1
call fcn.019e0895
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov dword [eax + 4], ecx
test byte [ebx + 2], 8
jne 0x19de85d
mov dl, byte [ebp + 0x10]
test dl, dl
jne 0x19de873
mov al, byte [ebx + 2]
mov ecx, dword [ebp + 0x18]
mov byte [esi + 2], al
movzx eax, word [ebx]
add ecx, eax
cmp ecx, 0xfe00
ja 0x19de8ba
mov word [esi], cx
mov ax, word [edi + 0x54]
xor ax, cx
mov word [esi + ecx*8 + 4], ax
movzx eax, cx
test dl, dl
jne 0x19de88b
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov byte [esi + 2], cl
lea ebx, [edi + 0xc0]
mov byte [esi + 7], cl
cmp dword [edi + 0xb4], ecx
je 0x19de884
mov edx, eax
mov ecx, edi
call fcn.019de9b4
mov ecx, eax
cmp ebx, ecx
je 0x19de7fc
mov edx, dword [edi + 0x4c]
test edx, edx
je 0x1a3df48
mov eax, dword [ecx - 8]
mov edx, dword [edi + 0x4c]
test eax, edx
je 0x19de7ed
xor eax, dword [edi + 0x50]
movzx eax, ax
movzx eax, ax
cmp dword [ebp - 0xc], eax
ja 0x1a3df51
mov eax, dword [ecx + 4]
lea ebx, [esi + 8]
cmp dword [eax], ecx
jne 0x1a3df60
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov dword [ecx + 4], ebx
movzx eax, word [esi]
add dword [edi + 0x74], eax
mov edx, dword [edi + 0xb4]
test edx, edx
je 0x19de6c3
movzx ecx, word [esi]
cmp ecx, dword [edx + 4]
jb 0x19de6b5
mov eax, dword [edx]
test eax, eax
je 0x19de83e
mov edx, eax
jmp 0x19de82b
mov eax, dword [edx + 4]
dec eax
jmp 0x19de6b7
mov eax, dword [edx]
test eax, eax
je 0x19de854
mov edx, eax
jmp 0x19de73b
mov eax, dword [edx + 4]
dec eax
jmp 0x19de746
mov edx, ebx
mov ecx, edi
call fcn.019edfaf
test al, al
jne 0x19de76a
jmp 0x1a3de6f
mov cl, byte [ebx + 2]
test cl, 4
je 0x19de775
jmp 0x1a3dea6
mov ecx, dword [ebx]
jmp 0x19de7d1
and byte [esi + 2], 0xf0
mov byte [esi + 7], 0
test byte [edi + 0x40], 0x40
mov dword [ebp - 4], eax
jne 0x1a3df76
cmp dword [edi + 0xb4], 0
lea ebx, [edi + 0xc0]
jne 0x1a3df98
mov ecx, dword [ebx]
jmp 0x1a3dfa3
push ecx
mov edx, esi
mov ecx, edi
call fcn.019df6d0
jmp 0x19de6d9
mov ecx, dword [ebx]
jmp 0x19de64c
and byte [esi + 2], 0xf0
mov byte [esi + 7], 0
test byte [edi + 0x40], 0x40
mov dword [ebp - 4], eax
jne 0x1a3e05d
cmp dword [edi + 0xb4], 0
lea ebx, [edi + 0xc0]
jne 0x1a3e07f
mov ecx, dword [ebx]
jmp 0x1a3e08a
push ecx
push ecx
push edx
mov edx, dword [edx + 0x18]
push esi
push 3
pop ecx
call fcn.01a36033
xor ecx, ecx
jmp 0x19de5df
push ecx
mov edx, ebx
mov ecx, edi
call fcn.01a915a8
jmp 0x19de707
movzx eax, word [ebx]
mov edx, ebx
push 1
push eax
mov ecx, edi
call fcn.019df188
jmp 0x1a3de90
push 0
push dword [edx]
mov edx, edi
push eax
push ecx
push 0xc
pop ecx
call fcn.01a36033
cmp dword [ebp - 4], 0
jne 0x1a3e028
mov dword [ebp - 4], 1
jmp 0x19de5ee
movzx eax, word [ebx]
lea eax, [eax*8 - 0x10]
mov dword [ebp - 4], eax
test cl, 2
je 0x1a3dec3
cmp eax, 4
jbe 0x1a3dec3
sub eax, 4
mov dword [ebp - 4], eax
push 0xfeeefeee
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.01a365b0
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 4]
je 0x1a3df40
mov eax, dword fs:[0x30]
cmp dword [eax + 0xc], 0
je 0x1a3df03
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
add eax, 0x2c
push eax
push 0x19b4db0
call fcn.019dafb0
pop ecx
jmp 0x1a3df0d
push 0x19b4dbc
call fcn.019dafb0
mov eax, dword [ebp - 0xc]
pop ecx
add eax, 0x10
add eax, ebx
push eax
push ebx
push 0x19b7588
call fcn.019dafb0
mov eax, dword fs:[0x30]
add esp, 0xc
cmp byte [eax + 2], 0
je 0x1a3df40
mov byte [0x1ac6255], 1
int3
mov dl, byte [ebp + 0x10]
jmp 0x19de775
movzx eax, word [ecx - 8]
jmp 0x19de7f0
mov ecx, dword [ecx]
cmp ebx, ecx
jne 0x19de7d8
jmp 0x19de7fc
push 0
push dword [eax]
xor edx, edx
push 0
push ecx
push 0xc
pop ecx
call fcn.01a36033
jmp 0x19de814
push 0xfeeefeee
lea eax, [eax*8 - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.01a36650
or byte [esi + 2], 4
mov eax, dword [ebp - 4]
jmp 0x19de8a0
mov edx, eax
mov ecx, edi
call fcn.019de9b4
mov ecx, eax
cmp ebx, ecx
je 0x1a3dfd2
mov edx, dword [edi + 0x4c]
test edx, edx
je 0x1a3dfc0
mov eax, dword [ecx - 8]
mov edx, dword [edi + 0x4c]
test eax, edx
je 0x1a3dfbb
xor eax, dword [edi + 0x50]
movzx eax, ax
jmp 0x1a3dfc4
movzx eax, word [ecx - 8]
movzx eax, ax
cmp dword [ebp - 4], eax
jbe 0x1a3dfd2
mov ecx, dword [ecx]
cmp ebx, ecx
jne 0x1a3dfaa
mov eax, dword [ecx + 4]
lea ebx, [esi + 8]
cmp dword [eax], ecx
jne 0x1a3dfe8
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov dword [ecx + 4], ebx
jmp 0x1a3dff9
push 0
push dword [eax]
xor edx, edx
push 0
push ecx
push 0xc
pop ecx
call fcn.01a36033
movzx eax, word [esi]
add dword [edi + 0x74], eax
mov edx, dword [edi + 0xb4]
test edx, edx
je 0x19de6c3
movzx ecx, word [esi]
jmp 0x1a3e01e
mov eax, dword [edx]
test eax, eax
je 0x19de83e
mov edx, eax
cmp ecx, dword [edx + 4]
jae 0x1a3e012
jmp 0x19de6b5
xor al, al
jmp 0x19de6db
movzx eax, word [ecx - 8]
jmp 0x19de66b
mov ecx, dword [ecx]
cmp ebx, ecx
jne 0x19de653
jmp 0x19de677
push 0
push dword [eax]
xor edx, edx
push 0
push ecx
push 0xc
pop ecx
call fcn.01a36033
jmp 0x19de68f
push 0xfeeefeee
lea eax, [eax*8 - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.01a36650
or byte [esi + 2], 4
mov eax, dword [ebp - 4]
jmp 0x19de8e5
mov edx, eax
mov ecx, edi
call fcn.019de9b4
mov ecx, eax
cmp ebx, ecx
je 0x1a3e0b9
mov edx, dword [edi + 0x4c]
test edx, edx
je 0x1a3e0a7
mov eax, dword [ecx - 8]
mov edx, dword [edi + 0x4c]
test eax, edx
je 0x1a3e0a2
xor eax, dword [edi + 0x50]
movzx eax, ax
jmp 0x1a3e0ab
movzx eax, word [ecx - 8]
movzx eax, ax
cmp dword [ebp - 4], eax
jbe 0x1a3e0b9
mov ecx, dword [ecx]
cmp ebx, ecx
jne 0x1a3e091
mov eax, dword [ecx + 4]
lea ebx, [esi + 8]
cmp dword [eax], ecx
jne 0x1a3e0cf
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [eax], ebx
mov dword [ecx + 4], ebx
jmp 0x1a3e0e0
push 0
push dword [eax]
xor edx, edx
push 0
push ecx
push 0xc
pop ecx
call fcn.01a36033
movzx eax, word [esi]
add dword [edi + 0x74], eax
mov edx, dword [edi + 0xb4]
test edx, edx
je 0x1a3e116
movzx ecx, word [esi]
jmp 0x1a3e0fd
mov eax, dword [edx]
test eax, eax
je 0x1a3e106
mov edx, eax
cmp ecx, dword [edx + 4]
jae 0x1a3e0f5
mov eax, ecx
jmp 0x1a3e10a
mov eax, dword [edx + 4]
dec eax
push ecx
push eax
push ebx
push 1
mov ecx, edi
call fcn.019de8ff
cmp dword [edi + 0x4c], 0
je 0x19de6d9
mov cl, byte [esi + 1]
xor cl, byte [esi]
xor cl, byte [esi + 2]
mov byte [esi + 3], cl
mov ecx, dword [edi + 0x50]
xor dword [esi], ecx
jmp 0x19de6d9