Function at 0x7dea2985
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
sub esp, 0x50
push ebx
push esi
push edi
mov ebx, 0x7dedc2b8
mov esi, 0x7deb4168
test eax, eax
jne 0x7decf2e3
mov eax, dword [0x7df700b4]
mov edi, 0x7dec02f8
test eax, eax
jne 0x7decf321
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x7decf3a2
mov eax, dword [ebx + 0x50]
test eax, 0x30000
jne 0x7decf3a2
cmp dword [ebx + 4], 0x7dea2878
jne 0x7decf3a2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x28], 0
jne 0x7decf3a2
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7decf34d
push dword [ebp + 0xc]
push ebx
call fcn.7dea21fa
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7decf374
pop edi
pop esi
pop ebx
leave
ret 8
add byte [ebx], bh
dec byte [edi]
sbb eax, 0x5e
add dword [eax], eax
lea eax, [ebx - 1]
not eax
lea edi, [edi + ebx - 1]
and edi, eax
mov edx, dword [ebp + 0x18]
lea ecx, [edx - 1]
not ecx
lea esi, [esi + edx - 1]
and esi, ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + 0x208]
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0xfffffffe
test edx, edx
jne 0x7debcef0
movzx eax, byte [ebp - 0x19]
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
push 0x1c
lea eax, [ebp - 0x68]
push eax
push 0x29
push 0xffffffffffffffff
call 0x7de55b18
test eax, eax
jl 0x7dea7101
mov ebx, dword [ebp + 0x1c]
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x10], eax
lea edx, [eax + esi]
mov dword [ebx + 8], edx
sub eax, edi
add eax, esi
mov dword [ebp - 0x20], eax
sub esi, edi
mov eax, dword [ebp - 0x28]
cmp esi, eax
jb 0x7dea7115
sub dword [ebp - 0x20], eax
add edi, eax
xor esi, esi
inc esi
mov dword [ebp - 0x40], edi
push 4
push 0x1000
lea eax, [ebp - 0x40]
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
call 0x7de55ab0
mov edi, eax
test edi, edi
jl 0x7debcf17
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xc], eax
cmp esi, 1
jne 0x7dea70ff
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
push 0x104
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
call 0x7de56028
mov edi, eax
test edi, edi
jl 0x7debcf17
mov eax, dword [ebp - 0x2c]
add dword [ebx + 0xc], eax
xor eax, eax
call 0x7de63ef9
ret 0x18
xor esi, esi
jmp 0x7dea70a2
je 0x7debcf19
lea eax, [esi + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x7debcf19
push dword [esi + 8]
call fcn.7de935d0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push ebx
push dword [eax + 0x18]
call fcn.7dea1b85
invalid
mov eax, dword [ebp + 8]
pop edi
pop ebx
pop esi
leave
ret 4
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
call fcn.7de936b0
mov ebx, eax
test ebx, ebx
jl 0x7defd5af
cmp byte [0x7ffe0380], 0
jne 0x7defd522
mov eax, dword [ebp - 4]
dec dword [esi + 0x120]
sub dword [esi + 0x124], eax
mov al, byte [0x7ffe0380]
test al, al
jne 0x7defd54b
mov al, byte [0x7ffe038a]
test al, al
jne 0x7defd57e
push 2
pop edx
mov ecx, esi
call fcn.7dea69d1
test byte [edi + 2], 4
jne 0x7defd59a
and byte [edi + 2], 0x17
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov edx, esi
mov ecx, edi
call fcn.7decf2aa
test al, al
jne 0x7dea6ffe
jmp 0x7defe154
invalid
add byte [edi], cl
mov dh, 0x81
nop
inc eax
ljmp 0xae9
aaa
push dword [ebp - 4]
jne 0x7defd520
call dword [0x40e094]
test esi, esi
pop esi
je 0x7defd536
mov eax, dword [edi]
pop edi
mov esp, ebp
pop ebp
ret
call fcn.7defd39a
int3
call fcn.7defd4e0
push dword [ebx + 4]
lea esi, [ebx + 0xc]
mov dword [ebp - 4], eax
push esi
mov edx, dword [eax + 0x4c]
lea edi, [ebx + 0x10]
mov dword [esi], edx
mov edx, dword [eax + 0x48]
push eax
mov dword [edi], edx
call fcn.7df00fa0
push dword [ebx + 4]
mov esi, dword [ebp - 4]
push edi
push esi
call fcn.7df00ffe
mov eax, dword [esi + 0x350]
add byte [eax], al
add esp, 0x18
test al, 2
jne 0x7defd594
or eax, 2
mov dword [esi + 0x350], eax
mov byte [ebx + 0x14], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
ret
call [ebp - 0x3d]
invalid