Function at 0x402f80
Capabilities:
Create process on windows
Create process suspended
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4319b2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x43e0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x44
push 0
push 0x441608
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], ecx
call fcn.00420a30
xor eax, eax
mov edx, 5
mov dword [0x4415f4], eax
mov dword [0x4415f8], eax
mov dword [0x4415fc], eax
mov dword [0x441600], eax
mov eax, edx
mov word [0x441638], dx
mov edx, dword [0x43e060]
mov esi, 1
mov word [0x4415e0], ax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x43e060
mov dword [0x441608], 0x44
mov dword [0x441634], esi
mov dword [0x4415dc], esi
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
mov ebx, dword [eax - 0xc]
lea edi, [ebx + 1]
test edi, edi
jns 0x403047
push 0x80070057
call fcn.00401540
mov ecx, dword [eax - 8]
mov edx, esi
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x403068
mov eax, edi
lea ecx, [ebp - 0x21c]
call fcn.004055c0
mov eax, dword [ebp - 0x21c]
mov ecx, 0x22
mov word [eax + ebx*2], cx
cmp edi, dword [eax - 8]
jg 0x40303d
mov esi, dword [ebp - 0x228]
xor edx, edx
mov dword [eax - 0xc], edi
mov word [eax + edi*2], dx
test esi, esi
jne 0x40308d
xor eax, eax
jmp 0x4030a1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403092
sub eax, edx
sar eax, 1
push eax
push esi
lea ebx, [ebp - 0x21c]
call fcn.00405500
mov eax, dword [ebp - 0x21c]
mov ebx, dword [eax - 0xc]
lea edi, [ebx + 1]
test edi, edi
jns 0x4030c8
push 0x80070057
call fcn.00401540
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x4030ec
mov eax, edi
lea ecx, [ebp - 0x21c]
call fcn.004055c0
mov eax, dword [ebp - 0x21c]
mov ecx, 0x22
mov word [eax + ebx*2], cx
cmp edi, dword [eax - 8]
jg 0x40303d
mov dword [eax - 0xc], edi
xor edx, edx
mov word [eax + edi*2], dx
mov ebx, dword [eax - 0xc]
lea edi, [ebx + 1]
test edi, edi
jns 0x40311b
push 0x80070057
call fcn.00401540
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x40313f
mov eax, edi
lea ecx, [ebp - 0x21c]
call fcn.004055c0
mov eax, dword [ebp - 0x21c]
mov ecx, 0x20
mov word [eax + ebx*2], cx
cmp edi, dword [eax - 8]
jg 0x40303d
xor edx, edx
mov dword [eax - 0xc], edi
mov word [eax + edi*2], dx
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x403168
xor eax, eax
jmp 0x40317f
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403170
sub eax, edi
sar eax, 1
push eax
push edx
lea ebx, [ebp - 0x21c]
call fcn.00405500
push str.lblocker
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40330d
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e060
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x21c]
test edi, edi
je 0x4032e5
test edi, 0xffff0000
jne 0x4032e5
movzx edi, di
call fcn.00405820
test eax, eax
je 0x4031f5
push eax
mov eax, edi
lea edi, [ebp - 0x224]
call fcn.004053a0
mov esi, dword [ebp - 0x224]
mov edi, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e060
call edx
add eax, 0x10
mov dword [ebp - 0x220], eax
mov ebx, dword [ebp - 0x228]
mov byte [ebp - 4], 3
test ebx, ebx
je 0x4032fd
test ebx, 0xffff0000
jne 0x4032fd
movzx edi, bx
call fcn.00405820
test eax, eax
je 0x40324f
push eax
mov eax, edi
lea edi, [ebp - 0x220]
call fcn.004053a0
mov edi, dword [ebp - 0x21c]
mov byte [ebp - 4], 4
cmp dword [esi - 4], 1
jle 0x403275
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00404fa0
mov esi, dword [ebp - 0x224]
mov ebx, dword [ebp - 0x220]
push 0x4415f4
push 0x4415b0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x220], eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4032bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403359
mov ebx, edi
lea eax, [ebp - 0x224]
call fcn.00404f00
mov esi, dword [ebp - 0x224]
jmp 0x4031fb
lea eax, [ebp - 0x220]
call fcn.00404f00
jmp 0x403255
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 4], 1
jle 0x40332f
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.00405120
mov eax, dword [ebp - 0x21c]
push 0x4415f4
push 0x441608
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x403497
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.00420a30
mov eax, dword [0x4415f4]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
xor esi, esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jle 0x403475
lea ecx, [ebp + eax*2 - 0x21a]
lea edx, [ebp - 0x218]
cmp ecx, edx
jb 0x403475
jmp 0x4033c0
movzx eax, word [ecx]
cmp eax, 0x5c
je 0x4033e3
cmp eax, 0x2f
je 0x4033e3
lea eax, [ebp - 0x218]
inc esi
cmp ecx, eax
jbe 0x4033e6
sub ecx, 2
mov edx, eax
cmp ecx, edx
jae 0x4033c0
jmp 0x4033e6
add ecx, 2
test esi, esi
jle 0x403475
lea eax, [ebp - 0x224]
push eax
call fcn.00404800
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.00404cd0
mov esi, dword [ebp - 0x224]
call fcn.0041aa30
cmp eax, 0x53da980c
je 0x40343c
cmp eax, 0x7c44b63d
je 0x40343c
push 0xbbd
call fcn.0040b120
add esp, 4
lea eax, [ebp - 0x218]
call fcn.00402ef0
jmp 0x403449
push 0xbc7
call fcn.0040b120
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40346f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x21c]
mov ecx, dword [0x4415f4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [0x4415f8]
push edx
call esi
mov dword [ebp - 0x220], 1
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0041f064
add esp, 8
test eax, eax
js 0x40303d
cmp eax, dword [edi - 8]
jg 0x40303d
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4034e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e965
mov esp, ebp
pop ebp
ret 4