Function at 0x498334
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 0x49833c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
push ebp
push 0x498e44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x42c]
mov edx, dword [eax]
call dword [edx + 0xd4]
test al, al
je 0x498ba9
xor edx, edx
push ebp
push 0x498b9a
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, 0x498e5c
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, 0x498e74
call fcn.00404ae8
mov eax, dword [ebp - 8]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498428
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0xc]
mov ecx, 0x498e88
call fcn.00404ae8
mov eax, dword [ebp - 0xc]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498428
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x10]
mov ecx, 0x498e88
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, 0x498e88
call fcn.00404ae8
mov eax, dword [ebp - 0x14]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498497
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x18]
mov ecx, 0x498e88
call fcn.00404ae8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x1c]
mov ecx, 0x498e74
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, 0x498e9c
call fcn.00404ae8
mov eax, dword [ebp - 0x20]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x49850d
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x24]
mov ecx, 0x498eb0
call fcn.00404ae8
mov eax, dword [ebp - 0x24]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x49850d
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x28]
mov ecx, 0x498eb0
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, 0x498eb0
call fcn.00404ae8
mov eax, dword [ebp - 0x2c]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x49857c
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x30]
mov ecx, 0x498eb0
call fcn.00404ae8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x34]
mov ecx, 0x498e9c
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, 0x498e9c
call fcn.00404ae8
mov eax, dword [ebp - 0x38]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498743
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
mov dl, 1
call fcn.004402e4
push 0
push 0x48afa8
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
call fcn.004472b4
push eax
call sub.user32.dll_EnumChildWindows
xor eax, eax
push ebp
push 0x498651
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, 0x498e9c
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 0x498673
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 0x498ef8
push dword [ebp - 4]
push 0x498ef8
push 0x498f04
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
call fcn.004472b4
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2a4]
call fcn.00408c20
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.004402e4
jmp 0x498b8d
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x3c]
mov ecx, 0x498e74
call fcn.00404ae8
mov eax, dword [ebp - 0x3c]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x4988ac
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
push eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x2a8]
mov ecx, 0x498e74
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.0042187c
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x49880c
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
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 [0x498f0c]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, ebx
call fcn.0043fb18
jmp 0x49881f
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb18
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x498884
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
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 [0x498f0c]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, ebx
call fcn.0043fb3c
jmp 0x498897
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb3c
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.004402e4
jmp 0x498b8d
lea edx, [ebp - 0x2b4]
mov eax, dword [0x49ce98]
mov eax, dword [eax]
call fcn.0046246c
mov eax, dword [ebp - 0x2b4]
lea edx, [ebp - 0x2b0]
call fcn.0040933c
mov edx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x40]
mov ecx, 0x498f18
call fcn.00404ae8
mov eax, dword [ebp - 0x40]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498b8d
xor edx, edx
push ebp
push 0x498b83
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4639d8]
call fcn.00463c88
mov edx, eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
call fcn.004218ac
lea edx, [ebp - 0x2bc]
mov eax, dword [0x49ce98]
mov eax, dword [eax]
call fcn.0046246c
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2b8]
call fcn.0040933c
lea eax, [ebp - 0x2b8]
mov edx, 0x498f18
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.0042187c
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.0042187c
push eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x2c0]
mov ecx, 0x498e74
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.0042187c
push eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x2c4]
mov ecx, 0x498e74
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.0042187c
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x498a7a
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
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 [0x498f0c]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, ebx
call fcn.0043fb18
jmp 0x498a8d
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb18
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x498af2
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
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 [0x498f0c]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, ebx
call fcn.0043fb3c
jmp 0x498b05
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb3c
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x44]
mov ecx, 0x498e9c
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, 0x498eb0
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 0x498b8d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498dc7
xor edx, edx
push ebp
push 0x498dbd
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, 0x498e5c
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.004402e4
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x50]
mov ecx, 0x498e9c
call fcn.00404ae8
mov eax, dword [ebp - 0x50]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498c60
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x54]
mov ecx, 0x498e9c
call fcn.00404ae8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x58]
mov ecx, 0x498eb0
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 0x48afa8
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3c4]
call fcn.004472b4
push eax
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x5c]
mov ecx, 0x498e74
call fcn.00404ae8
mov eax, dword [ebp - 0x5c]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498cf1
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x60]
mov ecx, 0x498e88
call fcn.00404ae8
mov eax, dword [ebp - 0x60]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498cf1
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x64]
mov ecx, 0x498e88
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, 0x498e74
call fcn.00404ae8
mov eax, dword [ebp - 0x68]
call fcn.00408fec
inc eax
setne al
test al, al
je 0x498d60
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x6c]
mov ecx, 0x498e74
call fcn.00404ae8
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x70]
mov ecx, 0x498e88
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.00437240
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb18
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb3c
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x3b4]
mov dl, 1
call fcn.004402e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498dc7
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x42c]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov edx, eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x460]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x42c]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov edx, eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x440]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498e4b
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