Function at 0x413560
Capabilities:
Create process on windows
Delete directory
Delete file
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b08d
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x71cf78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x314], 0
lea eax, [ebp - 0x310]
mov dword [ebp - 4], 0
push eax
push 0x300
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.ComSpec
call fcn.0063ec15
add esp, 4
mov esi, eax
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x330], eax
push esi
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 1
call fcn.00402ad0
test al, al
jne 0x413616
test esi, esi
jne 0x4135fa
xor ecx, ecx
jmp 0x413609
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413600
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x330]
call fcn.00408790
mov edi, dword [ebp - 0x330]
mov eax, str.___null__q__c
sub eax, edi
mov byte [ebp - 4], 2
push 0xe
push str.___null__q__c
mov esi, dword [edi - 0xc]
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x344], esi
call fcn.0062ef98
mov edx, eax
mov ecx, bind
sub ecx, edx
mov dword [ebp - 0x334], edx
add esp, 8
cmp ecx, esi
jl 0x41460d
add esi, edx
js 0x41460d
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x41368d
push esi
lea ecx, [ebp - 0x330]
call fcn.00403540
mov edi, dword [ebp - 0x330]
mov edx, dword [ebp - 0x334]
mov eax, dword [ebp - 0x344]
mov ecx, dword [ebp - 0x340]
cmp ecx, eax
ja 0x4136a1
add ecx, edi
jmp 0x4136a6
mov ecx, str.___null__q__c
add eax, edi
test edx, edx
je 0x4136dc
test eax, eax
je 0x4136cc
push edx
test ecx, ecx
je 0x4136c1
push ecx
push eax
call fcn.006053c0
add esp, 0xc
jmp 0x4136dc
push 0
push eax
call fcn.00605ec0
add esp, 0xc
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
cmp esi, dword [edi - 8]
jg 0x41460d
mov dword [edi - 0xc], esi
mov byte [esi + edi], 0
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x4145f9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x32c], esi
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 3
call fcn.0044128d
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 4
call fcn.00414bc0
lea eax, [ebp - 0x324]
mov byte [ebp - 4], 5
mov dword [ebp - 0x388], 1
mov dword [ebp - 0x34c], eax
call fcn.00423a7b
mov ecx, eax
test ecx, ecx
je 0x414603
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x324], eax
push 0x6917d0
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 6
call fcn.00402ad0
test al, al
jne 0x41378c
push 1
push 0x6917d0
lea ecx, [ebp - 0x324]
call fcn.00408790
lea eax, [ebp - 0x324]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x38c]
call fcn.0040a060
mov edx, dword [ebp - 0x324]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4137c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 0x334], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00407710
mov ecx, dword [ebp - 0x334]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
lea ecx, [ebp - 0x390]
call fcn.004153a0
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x390]
call fcn.00414df0
mov eax, dword [ebp - 0x374]
xor ecx, ecx
mov dword [ebp - 0x324], ecx
test eax, eax
jle 0x414560
test ecx, ecx
js 0x4145ea
cmp ecx, eax
jge 0x4145ea
mov esi, dword [ebp - 0x378]
shl ecx, 2
add esi, ecx
mov dword [ebp - 0x33c], ecx
mov edx, dword [esi]
cmp dword [edx - 4], 1
jle 0x41384d
push dword [edx - 0xc]
mov ecx, esi
call fcn.00402c10
mov edx, dword [esi]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413852
sub ecx, esi
cmp byte [edx + ecx - 1], 0x5c
jne 0x413f0a
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x41387e
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x413896
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x314], 1
lea esi, [eax + 0x10]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x350], esi
mov dword [ebp - 0x318], eax
lea edx, [eax + 0xd]
test edx, edx
js 0x41460d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4138e4
push edx
lea ecx, [ebp - 0x350]
call fcn.00403540
mov esi, dword [ebp - 0x350]
mov eax, dword [ebp - 0x318]
test eax, eax
je 0x41390f
test esi, esi
jne 0x413904
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x41390f
push eax
push edi
push esi
call fcn.006053c0
add esp, 0xc
mov edi, dword [ebp - 0x318]
lea ecx, [edi + esi]
test ecx, ecx
jne 0x41392e
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x41394a
movq xmm0, qword [str.RD__S__Q___]
movq qword [ecx], xmm0
mov eax, dword [0x6917dc]
mov dword [ecx + 8], eax
mov al, byte [0x6917e0]
mov byte [ecx + 0xc], al
lea eax, [edi + 0xd]
cmp eax, dword [esi - 8]
jg 0x41460d
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0x320], eax
test ecx, ecx
je 0x41397e
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x413996
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x314], 2
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
lea edi, [eax + 0x10]
mov dword [ebp - 0x354], edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4139b6
mov eax, dword [esi - 0xc]
sub ecx, edx
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x318], eax
lea edx, [ecx + eax]
mov dword [ebp - 0x328], edx
test edx, edx
js 0x41460d
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x413a02
push edx
lea ecx, [ebp - 0x354]
call fcn.00403540
mov edi, dword [ebp - 0x354]
mov eax, dword [ebp - 0x318]
test eax, eax
je 0x413a33
test edi, edi
jne 0x413a22
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x413a2d
push eax
push esi
push edi
call fcn.006053c0
add esp, 0xc
mov eax, dword [ebp - 0x318]
lea ecx, [eax + edi]
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x413a67
test ecx, ecx
jne 0x413a56
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x413a67
push eax
lea eax, [ebp - 0x310]
push eax
push ecx
call fcn.006053c0
add esp, 0xc
mov eax, dword [ebp - 0x328]
cmp eax, dword [edi - 8]
jg 0x41460d
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x338], eax
test ecx, ecx
je 0x413a9e
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x413ab6
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x314], 4
lea esi, [eax + 0x10]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x358], esi
mov dword [ebp - 0x318], eax
lea edx, [eax + 1]
test edx, edx
js 0x41460d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x413b04
push edx
lea ecx, [ebp - 0x358]
call fcn.00403540
mov esi, dword [ebp - 0x358]
mov eax, dword [ebp - 0x318]
test eax, eax
je 0x413b2f
test esi, esi
jne 0x413b24
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x413b2f
push eax
push edi
push esi
call fcn.006053c0
add esp, 0xc
mov edi, dword [ebp - 0x318]
lea eax, [edi + esi]
test eax, eax
jne 0x413b4e
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x413b51
mov byte [eax], 0x5c
lea eax, [edi + 1]
cmp eax, dword [esi - 8]
jg 0x41460d
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebp - 0x324]
cmp eax, dword [ebp - 0x374]
jge 0x4145ea
mov eax, dword [ebp - 0x378]
add eax, dword [ebp - 0x33c]
mov dword [ebp - 0x328], eax
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x348], eax
test ecx, ecx
je 0x413ba9
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x413bc1
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x314], 8
lea edi, [eax + 0x10]
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x35c], edi
mov eax, dword [eax]
mov dword [ebp - 0x328], eax
mov ecx, dword [eax - 0xc]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x31c], eax
lea edx, [ecx + eax]
test edx, edx
js 0x41460d
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x413c26
push edx
lea ecx, [ebp - 0x35c]
call fcn.00403540
mov edi, dword [ebp - 0x35c]
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x413c51
test edi, edi
jne 0x413c46
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x413c51
push eax
push esi
push edi
call fcn.006053c0
add esp, 0xc
mov esi, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x318]
lea eax, [esi + edi]
test ecx, ecx
je 0x413ca0
test eax, eax
je 0x413c8a
mov edx, dword [ebp - 0x328]
push ecx
test edx, edx
je 0x413c7f
push edx
push eax
call fcn.006053c0
add esp, 0xc
jmp 0x413c9a
push 0
push eax
call fcn.00605ec0
add esp, 0xc
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
mov ecx, dword [ebp - 0x318]
lea eax, [ecx + esi]
cmp eax, dword [edi - 8]
jg 0x41460d
mov ecx, dword [ebp - 0x32c]
lea esi, [edi - 0x10]
add ecx, 0xfffffff0
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
mov dword [ebp - 0x31c], ecx
cmp esi, ecx
je 0x413d2d
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x328], eax
jl 0x413d1e
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x413d1e
push esi
call fcn.00407710
mov edx, dword [ebp - 0x328]
add esp, 4
mov dword [ebp - 0x318], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413d13
mov edi, dword [ebp - 0x31c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x318]
add eax, 0x10
mov dword [ebp - 0x32c], eax
jmp 0x413d2d
push dword [edi - 0xc]
lea ecx, [ebp - 0x32c]
push edi
call fcn.00408790
mov edi, dword [ebp - 0x314]
or eax, 0xffffffff
and edi, 0xfffffff7
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x314], edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413d55
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x348]
and edi, 0xfffffffb
or esi, 0xffffffff
mov dword [ebp - 0x314], edi
mov byte [ebp - 4], 9
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413d7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x338]
and edi, 0xfffffffd
mov dword [ebp - 0x314], edi
mov eax, esi
mov byte [ebp - 4], 8
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413da6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x320]
and edi, 0xfffffffe
mov dword [ebp - 0x314], edi
mov eax, esi
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413dcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x324]
cmp eax, dword [ebp - 0x374]
jge 0x4145ea
mov eax, dword [ebp - 0x378]
add eax, dword [ebp - 0x33c]
mov dword [ebp - 0x320], eax
mov eax, dword [eax]
mov byte [ebp - 4], 0xc
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x413e0b
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x413e23
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or edi, 0x10
mov dword [ebp - 0x314], edi
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x360], esi
mov eax, dword [eax]
mov dword [ebp - 0x320], eax
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x318], eax
lea edx, [eax + 2]
test edx, edx
js 0x41460d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x413e81
push edx
lea ecx, [ebp - 0x360]
call fcn.00403540
mov esi, dword [ebp - 0x360]
test esi, esi
jne 0x413e97
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x413e9f
mov eax, 0x5c2e
mov word [esi], ax
mov ecx, dword [ebp - 0x318]
lea eax, [esi + 2]
test ecx, ecx
je 0x413ee8
test eax, eax
je 0x413ed2
mov edx, dword [ebp - 0x320]
push ecx
test edx, edx
je 0x413ec7
push edx
push eax
call fcn.006053c0
add esp, 0xc
jmp 0x413ee2
push 0
push eax
call fcn.00605ec0
add esp, 0xc
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
mov ecx, dword [ebp - 0x318]
lea eax, [ecx + 2]
cmp eax, dword [esi - 8]
jg 0x41460d
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
and edi, 0xffffffef
jmp 0x41450e
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x413f22
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x413f3a
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x314], 0x20
lea esi, [eax + 0x10]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x364], esi
mov dword [ebp - 0x31c], eax
lea edx, [eax + 0x11]
test edx, edx
js 0x41460d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x413f88
push edx
lea ecx, [ebp - 0x364]
call fcn.00403540
mov esi, dword [ebp - 0x364]
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x413fb3
test esi, esi
jne 0x413fa8
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x413fb3
push eax
push edi
push esi
call fcn.006053c0
add esp, 0xc
mov edi, dword [ebp - 0x31c]
lea ecx, [edi + esi]
test ecx, ecx
jne 0x413fd2
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x413fe4
movups xmm0, xmmword [str.DEL__F__A__Q___]
movups xmmword [ecx], xmm0
mov al, byte [0x6917f8]
mov byte [ecx + 0x10], al
lea eax, [edi + 0x11]
cmp eax, dword [esi - 8]
jg 0x41460d
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x34c], eax
test ecx, ecx
je 0x414018
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x414030
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x314], 0x40
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
lea edi, [eax + 0x10]
mov dword [ebp - 0x368], edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414050
mov eax, dword [esi - 0xc]
sub ecx, edx
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x318], eax
lea edx, [ecx + eax]
mov dword [ebp - 0x338], edx
test edx, edx
js 0x41460d
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x41409c
push edx
lea ecx, [ebp - 0x368]
call fcn.00403540
mov edi, dword [ebp - 0x368]
mov eax, dword [ebp - 0x318]
test eax, eax
je 0x4140cd
test edi, edi
jne 0x4140bc
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x4140c7
push eax
push esi
push edi
call fcn.006053c0
add esp, 0xc
mov eax, dword [ebp - 0x318]
lea ecx, [eax + edi]
mov eax, dword [ebp - 0x320]
test eax, eax
je 0x414101
test ecx, ecx
jne 0x4140f0
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x414101
push eax
lea eax, [ebp - 0x310]
push eax
push ecx
call fcn.006053c0
add esp, 0xc
mov eax, dword [ebp - 0x338]
cmp eax, dword [edi - 8]
jg 0x41460d
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x380], eax
test ecx, ecx
je 0x414138
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x414150
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x314], 0x80
lea esi, [eax + 0x10]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x340], esi
mov dword [ebp - 0x31c], eax
lea edx, [eax + 1]
test edx, edx
js 0x41460d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4141a1
push edx
lea ecx, [ebp - 0x340]
call fcn.00403540
mov esi, dword [ebp - 0x340]
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x4141cc
test esi, esi
jne 0x4141c1
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x4141cc
push eax
push edi
push esi
call fcn.006053c0
add esp, 0xc
mov edi, dword [ebp - 0x31c]
lea eax, [edi + esi]
test eax, eax
jne 0x4141eb
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x4141ee
mov byte [eax], 0x5c
lea eax, [edi + 1]
cmp eax, dword [esi - 8]
jg 0x41460d
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebp - 0x324]
cmp eax, dword [ebp - 0x374]
jge 0x4145ea
mov eax, dword [ebp - 0x378]
add eax, dword [ebp - 0x33c]
mov dword [ebp - 0x320], eax
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x328], eax
test ecx, ecx
je 0x414246
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x41425e
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x314], 0x100
lea edi, [eax + 0x10]
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x344], edi
mov eax, dword [eax]
mov dword [ebp - 0x320], eax
mov ecx, dword [eax - 0xc]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x31c], eax
lea edx, [ecx + eax]
test edx, edx
js 0x41460d
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x4142c6
push edx
lea ecx, [ebp - 0x344]
call fcn.00403540
mov edi, dword [ebp - 0x344]
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x4142f1
test edi, edi
jne 0x4142e6
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
jmp 0x4142f1
push eax
push esi
push edi
call fcn.006053c0
add esp, 0xc
mov esi, dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x318]
lea eax, [esi + edi]
test ecx, ecx
je 0x414340
test eax, eax
je 0x41432a
mov edx, dword [ebp - 0x320]
push ecx
test edx, edx
je 0x41431f
push edx
push eax
call fcn.006053c0
add esp, 0xc
jmp 0x41433a
push 0
push eax
call fcn.00605ec0
add esp, 0xc
call fcn.0061236b
mov dword [eax], 0x16
call fcn.0061220a
mov ecx, dword [ebp - 0x318]
lea eax, [ecx + esi]
cmp eax, dword [edi - 8]
jg 0x41460d
mov ecx, dword [ebp - 0x32c]
lea esi, [edi - 0x10]
add ecx, 0xfffffff0
mov dword [edi - 0xc], eax
mov byte [edi + eax], 0
mov dword [ebp - 0x338], ecx
cmp esi, ecx
je 0x4143cd
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x320], eax
jl 0x4143be
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4143be
push esi
call fcn.00407710
mov edx, dword [ebp - 0x320]
add esp, 4
mov dword [ebp - 0x348], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4143b3
mov edi, dword [ebp - 0x338]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x348]
add eax, 0x10
mov dword [ebp - 0x32c], eax
jmp 0x4143cd
push dword [edi - 0xc]
lea ecx, [ebp - 0x32c]
push edi
call fcn.00408790
mov edi, dword [ebp - 0x314]
or eax, 0xffffffff
and edi, 0xfffffeff
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x314], edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4143f8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x328]
and edi, 0xffffff7f
or esi, 0xffffffff
mov dword [ebp - 0x314], edi
mov byte [ebp - 4], 0xe
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414425
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x380]
and edi, 0xffffffbf
mov dword [ebp - 0x314], edi
mov eax, esi
mov byte [ebp - 4], 0xd
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41444c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34c]
and edi, 0xffffffdf
mov dword [ebp - 0x314], edi
mov eax, esi
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414473
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x324]
cmp eax, dword [ebp - 0x374]
jge 0x4145ea
mov esi, dword [ebp - 0x33c]
add esi, dword [ebp - 0x378]
mov eax, dword [esi]
mov byte [ebp - 4], 0x11
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4144ab
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x4144c3
call fcn.00423a7b
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4145ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
or edi, 0x200
mov dword [ebp - 0x334], eax
mov eax, dword [esi]
mov dword [ebp - 0x314], edi
push dword [eax - 0xc]
push eax
push 2
lea eax, [ebp - 0x334]
push 0x6917e4
push eax
call fcn.00413490
mov esi, dword [ebp - 0x334]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
and edi, 0xfffffdff
or eax, 0xffffffff
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov dword [ebp - 0x314], edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414530
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x32c]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 0x324]
mov eax, dword [ebp - 0x374]
inc ecx
mov edi, dword [ebp - 0x330]
mov dword [ebp - 0x324], ecx
cmp ecx, eax
jl 0x413818
lea ecx, [ebp - 0x390]
call fcn.00414d20
lea ecx, [ebp - 0x37c]
call fcn.004412a4
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414592
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4145b0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4145cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006026e7
mov esp, ebp
pop ebp
ret
call fcn.004208a2
push 0x80004005
call fcn.004020e0
push 0x80004005
call fcn.004020e0
push 0x80004005
call fcn.004020e0
push 0x80070057
call fcn.004020e0
int3