Function at 0x403ca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4370f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, str.Duduydys
mov ecx, 0x466690
call fcn.004048e0
mov edi, eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edi + 0x30]
mov esi, dword [ecx + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov edx, dword [esi]
call dword [edx + 4]
lea eax, [ebp - 0x1c]
push eax
call fcn.00405370
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
call dword [edx + 0x30]
movzx ebx, ax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x403d05
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push ebx
mov ecx, edi
call fcn.00404fb0
mov ecx, edi
call fcn.00404eb0
push 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 2
mov dword [ebp - 8], 3
call fcn.0040a048
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
lea ebx, [eax + 0xc]
push 0xc
push ecx
push eax
call fcn.0040b360
add esp, 0xc
mov eax, 0x1a1
cmp eax, 0x24
ja 0x403d54
call 0x3dcba23a
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x467380], eax
sub eax, eax
je 0x403d73
call 0xe848a7bd
into
bound eax, qword [eax]
add byte [ebx - 0xf74fb3c], al
push 8
call fcn.0040a048
add esp, 4
mov esi, eax
push 4
call fcn.0040a048
add esp, 4
lea edi, [esi + 4]
mov dword [eax], 0x403c70
push edi
push 0
push eax
push 0x4058b0
push 0
push 0
call fcn.0040e8ff
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x403ed7
cmp dword [edi], 0
je 0x403ee4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi], eax
je 0x403eeb
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00409714
add esp, 0xc
test eax, eax
jne 0x403ef2
mov dword [esi], eax
mov dword [esi + 4], eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x14], 0x4039a0
push 0xb0
call fcn.0040a048
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00405d70
mov edx, eax
test edx, edx
setne cl
test cl, cl
je 0x403ecd
lea ecx, [edx + 4]
test edx, edx
je 0x403e27
lock inc dword [ecx]
mov esi, edx
jmp 0x403e29
xor esi, esi
or edi, 0xffffffff
test edx, edx
je 0x403e4c
mov eax, edi
lock xadd dword [ecx], eax
jne 0x403e4c
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x403e44
mov eax, dword [ecx]
push edx
jmp 0x403e4a
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
test esi, esi
je 0x403e5a
cmp byte [esi + 0x6c], 0
jne 0x403e5a
mov al, 1
jmp 0x403e5c
xor al, al
test al, al
je 0x403ecd
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
lock xadd dword [esi + 4], edi
dec edi
jne 0x403e8a
cmp dword [esi + 0x78], 0
je 0x403e82
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x78]
push esi
mov eax, dword [eax]
jmp 0x403e88
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403eba
sub ebx, eax
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x403eb0
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ef9
mov eax, ecx
push ebx
push eax
call fcn.0040a2c9
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409e55
mov esp, ebp
pop ebp
ret
mov ecx, 4
call fcn.004033d0
push 6
mov dword [edi], 0
call fcn.004079de
push 1
call fcn.004079de
push 5
call fcn.004079de
push 2
call fcn.004079de
call fcn.00411304
int3