Function at 0x499c70
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x58
push 0
push 0
dec ecx
jne 0x499c78
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
push ebp
push 0x49a780
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x428]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x49a4e5
xor edx, edx
push ebp
push 0x49a4d6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x298]
mov ecx, 0x49a798
call fcn.00404ae8
mov edx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x410]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 8]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov eax, dword [ebp - 8]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x499d64
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0xc]
mov ecx, 0x49a7c4
call fcn.00404ae8
mov eax, dword [ebp - 0xc]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x499d64
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x10]
mov ecx, 0x49a7c4
call fcn.00404ae8
mov eax, dword [ebp - 0x10]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x14]
mov ecx, 0x49a7c4
call fcn.00404ae8
mov eax, dword [ebp - 0x14]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x499dd3
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x18]
mov ecx, 0x49a7c4
call fcn.00404ae8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x1c]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov eax, dword [ebp - 0x1c]
call fcn.00404c9c
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404c9c
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x20]
mov ecx, 0x49a7d8
call fcn.00404ae8
mov eax, dword [ebp - 0x20]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x499e49
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x24]
mov ecx, 0x49a7ec
call fcn.00404ae8
mov eax, dword [ebp - 0x24]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x499e49
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x28]
mov ecx, 0x49a7ec
call fcn.00404ae8
mov eax, dword [ebp - 0x28]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x2c]
mov ecx, 0x49a7ec
call fcn.00404ae8
mov eax, dword [ebp - 0x2c]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x499eb8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x30]
mov ecx, 0x49a7ec
call fcn.00404ae8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x34]
mov ecx, 0x49a7d8
call fcn.00404ae8
mov eax, dword [ebp - 0x34]
call fcn.00404c9c
push eax
mov eax, dword [ebp - 0x30]
call fcn.00404c9c
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x38]
mov ecx, 0x49a7d8
call fcn.00404ae8
mov eax, dword [ebp - 0x38]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x49a07f
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
mov dl, 1
call fcn.00440340
push 0
push 0x48c80c
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
call fcn.00447310
push eax
call sub.user32.dll_EnumChildWindows
xor eax, eax
push ebp
push 0x499f8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x29c]
mov ecx, 0x49a7d8
call fcn.00404ae8
mov edx, dword [ebp - 0x29c]
lea eax, [ebp - 0x240]
call fcn.00402e80
lea eax, [ebp - 0x240]
call fcn.00402c10
call fcn.004028b8
lea edx, [ebp - 4]
lea eax, [ebp - 0x240]
call fcn.00403280
lea eax, [ebp - 0x240]
call fcn.004032ec
call fcn.004028b8
lea eax, [ebp - 0x240]
call fcn.00402f48
call fcn.004028b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x499faf
lea eax, [ebp - 0x284]
xor ecx, ecx
mov edx, 0x44
call fcn.004030b0
lea eax, [ebp - 0x294]
xor ecx, ecx
mov edx, 0x10
call fcn.004030b0
mov dword [ebp - 0x284], 0x44
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x284]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
push 0x49a834
push dword [ebp - 4]
push 0x49a834
push 0x49a840
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
call fcn.00447310
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2a4]
call fcn.00408c10
push dword [ebp - 0x2a4]
lea eax, [ebp - 0x2a0]
mov edx, 5
call fcn.00404b5c
mov eax, dword [ebp - 0x2a0]
call fcn.00404c9c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [ebp - 0x294]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x290]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.00440340
jmp 0x49a4c9
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x3c]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov eax, dword [ebp - 0x3c]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x49a1e8
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
push eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x2a8]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov edx, dword [ebp - 0x2a8]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x49a148
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, 0x1e4
sub edx, eax
mov dword [ebp - 0x2ac], edx
fild dword [ebp - 0x2ac]
fdiv dword [0x49a848]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, ebx
call fcn.0043fb74
jmp 0x49a15b
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb74
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x49a1c0
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, 0xf2
sub edx, eax
mov dword [ebp - 0x2ac], edx
fild dword [ebp - 0x2ac]
fdiv dword [0x49a848]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, ebx
call fcn.0043fb98
jmp 0x49a1d3
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb98
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.00440340
jmp 0x49a4c9
lea edx, [ebp - 0x2b4]
mov eax, dword [0x49ee9c]
mov eax, dword [eax]
call fcn.004624c8
mov eax, dword [ebp - 0x2b4]
lea edx, [ebp - 0x2b0]
call fcn.0040932c
mov edx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x40]
mov ecx, 0x49a854
call fcn.00404ae8
mov eax, dword [ebp - 0x40]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x49a4c9
xor edx, edx
push ebp
push 0x49a4bf
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x463a34]
call fcn.00463ce4
mov edx, eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
call fcn.00421900
lea edx, [ebp - 0x2bc]
mov eax, dword [0x49ee9c]
mov eax, dword [eax]
call fcn.004624c8
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2b8]
call fcn.0040932c
lea eax, [ebp - 0x2b8]
mov edx, 0x49a854
call fcn.00404aa4
mov edx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [ebp - 0x74]
mov edx, dword [edx + 0x3b8]
mov edx, dword [edx + 0x170]
mov edx, dword [edx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.004218d0
push eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x2c0]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov edx, dword [ebp - 0x2c0]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
push eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x2c4]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov edx, dword [ebp - 0x2c4]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x49a3b6
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, 0x1e4
sub edx, eax
mov dword [ebp - 0x2ac], edx
fild dword [ebp - 0x2ac]
fdiv dword [0x49a848]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, ebx
call fcn.0043fb74
jmp 0x49a3c9
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb74
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x49a42e
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, 0xf2
sub edx, eax
mov dword [ebp - 0x2ac], edx
fild dword [ebp - 0x2ac]
fdiv dword [0x49a848]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, ebx
call fcn.0043fb98
jmp 0x49a441
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb98
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.00440340
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.00440340
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x44]
mov ecx, 0x49a7d8
call fcn.00404ae8
mov eax, dword [ebp - 0x44]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x48]
mov ecx, 0x49a7ec
call fcn.00404ae8
mov eax, dword [ebp - 0x48]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a4c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a703
xor edx, edx
push ebp
push 0x49a6f9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x4c]
mov ecx, 0x49a798
call fcn.00404ae8
mov eax, dword [ebp - 0x4c]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.00440340
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x50]
mov ecx, 0x49a7d8
call fcn.00404ae8
mov eax, dword [ebp - 0x50]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x49a59c
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x54]
mov ecx, 0x49a7d8
call fcn.00404ae8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x58]
mov ecx, 0x49a7ec
call fcn.00404ae8
mov eax, dword [ebp - 0x58]
call fcn.00404c9c
push eax
mov eax, dword [ebp - 0x54]
call fcn.00404c9c
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
push 0
push 0x48c80c
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
call fcn.00447310
push eax
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x5c]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov eax, dword [ebp - 0x5c]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x49a62d
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x60]
mov ecx, 0x49a7c4
call fcn.00404ae8
mov eax, dword [ebp - 0x60]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x49a62d
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x64]
mov ecx, 0x49a7c4
call fcn.00404ae8
mov eax, dword [ebp - 0x64]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x68]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov eax, dword [ebp - 0x68]
call fcn.00408fdc
inc eax
setne al
test al, al
je 0x49a69c
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x6c]
mov ecx, 0x49a7b0
call fcn.00404ae8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x70]
mov ecx, 0x49a7c4
call fcn.00404ae8
mov eax, dword [ebp - 0x70]
call fcn.00404c9c
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00404c9c
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c0]
mov edx, dword [eax + 0x170]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
call fcn.0043729c
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb74
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb98
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b4]
mov dl, 1
call fcn.00440340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a703
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x428]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov edx, eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x45c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x428]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov edx, eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a787
lea eax, [ebp - 0x2c4]
mov edx, 6
call fcn.004047e4
lea eax, [ebp - 0x2a8]
mov edx, 5
call fcn.004047e4
lea eax, [ebp - 0x70]
mov edx, 0x1c
call fcn.004047e4
ret