joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fc3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x40a594], 0
push esi
jne 0x401ffa
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x401fd4
mov dword [ecx*4 + 0x40a590], eax
inc ecx
cmp ecx, 0x100
jl 0x401fcf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40202b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x40a590]
xor eax, esi
inc ecx
dec edx
jne 0x40200d
pop edi
not eax
pop esi
ret 0xc
Function at 0x4038dc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
xor ebx, ebx
push 8
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40394e
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x403927
cmp dword [ebp + 0x10], ebx
jne 0x403955
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.004038dc
test eax, eax
jne 0x403939
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x40390e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x40394e
Function at 0x40452e
Capabilities:
Identify system language via api

Disassembly:
cmp byte [0x435000], 0
push ebx
push ebp
push esi
push edi
mov edi, 0xffff
mov ebx, 0x435000
je 0x40454d
push ebx
call fcn.00406844
jmp 0x404553
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor ecx, ecx
mov esi, dword [0x42ec64]
test esi, esi
je 0x4045a6
mov ecx, dword [0x42ec28]
mov ecx, dword [ecx + 0x5c]
mov edx, ecx
imul ecx, esi
neg edx
add ecx, dword [0x42ec60]
add ecx, edx
dec esi
mov bp, word [ecx]
xor bp, ax
and ebp, edi
test bp, bp
je 0x40458b
test esi, esi
jne 0x404575
jmp 0x4045a6
mov edx, dword [ecx + 2]
mov dword [0x42e400], edx
mov edx, dword [ecx + 6]
mov dword [0x42eca4], edx
lea edx, [ecx + 0xa]
mov dword [0x42e3fc], edx
cmp dword [0x42e3fc], 0
jne 0x4045c1
cmp di, 0xffff
jne 0x4045bd
mov edi, 0x3ff
jmp 0x404555
xor edi, edi
jmp 0x404555
movzx eax, word [ecx]
push eax
push ebx
call fcn.0040682b
push 0xfffffffffffffffe
push 0x42e420
call fcn.004068d9
push eax
push dword [0x42b608]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4062ab
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
mov dword [0x42ce30], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x4062cf
test al, 0x10
jne 0x4062d2
mov dword [ebp + 0xc], ecx
lea eax, [ebp - 0x10]
push eax
push 0x42ce30
push dword [ebp + 0xc]
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4062fd
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x406374
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004064ad
test eax, eax
je 0x4063d8
test byte [ebp + 0xc], 1
push esi
je 0x4063c1
mov eax, dword [0x42ec24]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
call sub.KERNEL32.dll_lstrlenA
and byte [eax + esi + 1], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esi
push eax
mov word [ebp - 0x10], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
jmp 0x4063d8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4063d8
test byte [ebp + 0xc], 2
je 0x4063d8
push eax
push esi
call fcn.0040660a
pop esi
leave
ret 8
Function at 0x4064ad
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42ca30
push esi
call sub.KERNEL32.dll_lstrcpyA
push esi
call fcn.0040645b
test eax, eax
jne 0x4064cc
xor eax, eax
jmp 0x406515
test byte [0x42ec30], 0x80
je 0x4064e0
mov cl, byte [eax]
test cl, cl
je 0x4064c8
cmp cl, 0x5c
je 0x4064c8
mov edi, eax
sub edi, esi
jmp 0x4064fa
call fcn.00406bad
test eax, eax
je 0x4064f4
test byte [eax], 0x10
je 0x4064c8
push esi
call fcn.00406409
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x4064e6
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x406592
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x4065c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x409314]
dec edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x406606
test edi, edi
jne 0x4065cc
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x406600
Function at 0x40660a
Capabilities:
Get common file path
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov esi, dword [esp + 0x18]
je 0x406642
push str.MoveFileExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406642
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x406787
mov eax, dword [0x409340]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
mov dword [0x42d7b8], eax
mov edi, 0x400
mov ebp, 0x42d7b8
je 0x406686
push 1
push 0
push esi
call fcn.00406592
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x40678d
cmp eax, edi
jg 0x40678d
mov esi, 0x42d3b8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x40678d
cmp eax, edi
jg 0x40678d
push esi
push ebp
push str._s_s_r_n
push 0x42cfb8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebp, eax
push 0x3f0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.wininit.ini
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor edi, edi
push edi
push 0x8000080
push 4
push edi
push edi
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406787
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push edi
lea eax, [esi + ebp + 0xa]
push eax
push edi
push 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x40676f
push edi
push edi
push edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x406763
push str._Rename__r_n
push edi
call fcn.0040651a
test eax, eax
jne 0x406794
lea eax, [edi + esi]
push str._Rename__r_n
push eax
call sub.KERNEL32.dll_lstrcpyA
add esi, 0xa
mov eax, esi
push ebp
add eax, edi
push 0x42cfb8
push eax
call fcn.0040656e
push edi
add esi, ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
push edi
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x42ec90]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409318
push eax
call fcn.0040651a
test eax, eax
je 0x40674a
inc eax
lea edx, [edi + esi]
cmp eax, edx
mov ecx, eax
jae 0x4067bd
mov dl, byte [ecx]
mov byte [ecx + ebp], dl
inc ecx
lea edx, [edi + esi]
cmp ecx, edx
jb 0x4067b0
sub eax, edi
jmp 0x40674c
Function at 0x4067c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406825
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406814
cmp dword [ebp + 0x14], 1
je 0x406816
cmp dword [ebp + 0x14], 2
je 0x406816
mov byte [esi], bl
push dword [ebp + 0xc]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00414c95
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.00414c95
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00414c95
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.00414c95
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.00414c95
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.00414c95
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.00414c95
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.00414c95
mov dword [0x42565c], eax
call fcn.00414c95
test eax, eax
jns 0x408ea1
push 8
call fcn.00414c95
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.00414c95
pop ecx
push 1
call fcn.00414c95
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.00414c95
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.00414c95
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.00414c95
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x401a70
Capabilities:
Persist via run registry key

Disassembly:
push esi
push 0x64
mov esi, ecx
push 0x3e8
call fcn.00403f80
push str.SOFTWAREiCreamService
push 0x80000001
call fcn.00406cd0
push str.iCreamService
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push 0x80000001
call fcn.00406cf0
add esp, 0x1c
call fcn.00403ed0
mov ecx, esi
call fcn.004027b0
call fcn.00402c20
mov ecx, eax
call fcn.00404750
push 0
push 0
push 0x422188
call sub.MFC42.DLL_AfxMessageBox
mov eax, 1
pop esi
ret
Function at 0x402550
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4184e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1d4], 2
call fcn.0040ee70
mov eax, dword [esp + 0x1dc]
push 0
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e0], 3
call fcn.0040ef87
lea ecx, [esp + 0x6c]
call fcn.0040f09f
mov edi, eax
test edi, edi
jle 0x402719
mov ecx, dword [esp + 0x1e0]
push ecx
call fcn.0040bbc0
mov edx, dword [esp + 0x1e8]
push edx
call fcn.0040bbc0
add esp, 8
xor esi, esi
test edi, edi
jle 0x402719
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov bl, 5
lea ecx, [esp + 0x1c]
call fcn.00410250
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x1dc], 4
call fcn.0040f0a6
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.004108df
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1e0]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x422380
push ecx
mov byte [esp + 0x1e4], bl
call fcn.00402d40
mov edx, dword [esp + 0x20]
push 0x64
push 0
push edx
mov byte [esp + 0x1f0], 6
call fcn.0040b930
add esp, 0x1c
test eax, eax
je 0x40268f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1e4]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x422380
push edx
call fcn.00402d40
mov eax, dword [esp + 0x28]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edx
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1e0]
push 0xffff
push 0
push 0
push 0
push 1
push eax
push esi
lea ecx, [esp + 0x88]
call fcn.0040fa60
test al, al
mov byte [esp + 0x1d4], bl
lea ecx, [esp + 0x10]
je 0x4026f2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d4], 3
call fcn.004102ce
inc esi
cmp esi, edi
jl 0x4025e2
jmp 0x402719
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d4], 3
call fcn.004102ce
push 0
lea ecx, [esp + 0x70]
call fcn.0040f491
mov eax, dword [esp + 0x1e8]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x402741
mov ecx, dword [esp + 0x1cc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1c4], 2
call fcn.0040ef15
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x1c4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x1c4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1c4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1bc]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x1c8
ret 0x10
Function at 0x4027b0
Capabilities:
Create process on windows
Self delete

Disassembly:
push 0xffffffffffffffff
push 0x418510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
lea eax, [esp + 0x10]
push 0x4242c0
push eax
call fcn.0040c550
add esp, 8
mov ecx, dword [eax]
lea edx, [esp + 8]
push ecx
push str._suninstall.bat
push edx
mov dword [esp + 0x28], 0
call fcn.00402d40
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 4]
push 0
push eax
call fcn.00403270
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x2c], 3
call fcn.0040baa0
mov eax, dword [esp + 0x1c]
push 1
push 1
push eax
mov byte [esp + 0x38], 4
call fcn.0040bf30
mov ecx, dword [esp + 0x24]
push 0x4223d4
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x402891
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fprintf]
push str.:Repeat_r_n
push esi
call edi
mov edx, dword [esp + 0x10]
add esp, 8
push edx
push str.del___s__r_n
push esi
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
push eax
push str.if_exist___s__goto_Repeat_r_n
push esi
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
push str.rmdir___s__r_n
push esi
call edi
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push str.del___s__r_n
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x1c]
add esp, 0x10
push 0
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x404690
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x418b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
push eax
call fcn.0040c3d0
mov edi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push ecx
call fcn.0040c360
add esp, 8
mov edx, dword [edi]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x10]
push str.Windows__s__IE__s
push ecx
mov byte [esp + 0x30], 1
call fcn.00402d40
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.ALIVE
call fcn.004048f8
mov ecx, esi
call fcn.00404370
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
Function at 0x405000
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x418ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x38]
push edi
push ebp
push ebx
push str._s__d_:__s_r_n
mov esi, ecx
push eax
call fcn.00402d40
mov eax, dword [eax]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [esp + 0x34]
push str._Y__m__d__H:_i:_s
push ecx
call fcn.00405960
add esp, 0xc
mov edx, dword [eax]
push edi
push edx
lea eax, [esp + 0x3c]
push str.__s_:__s
push eax
mov dword [esp + 0x38], 0
call fcn.00402d40
add esp, 0x10
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x2c], 1
call fcn.004055d0
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40514a
push 0
lea ecx, [esp + 0x18]
push str._Y__m__d__H:_i:_s
push ecx
call fcn.00405960
mov dword [esp + 0x40], eax
lea edx, [esp + 0x1c]
push ebx
push edx
mov dword [esp + 0x3c], 2
call fcn.0040ba30
add esp, 0x14
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push edi
mov byte [esp + 0x2c], 3
mov edx, dword [ecx]
lea ecx, [esp + 0x34]
push edx
push ebp
push eax
push str._s__d_:___s_:_s
push ecx
call fcn.00402d40
add esp, 0x18
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x2c], 4
call fcn.00405900
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40515b
push edi
push ebp
push ebx
mov ecx, esi
call fcn.00405610
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4051c3
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.0040ba30
add esp, 8
mov eax, dword [eax]
push edi
push ebp
push eax
lea ecx, [esp + 0x24]
mov ebx, 5
push str._s__d_:__s
push ecx
mov dword [esp + 0x3c], ebx
call fcn.00402d40
add esp, 0x14
mov eax, dword [eax]
mov ecx, esi
push eax
push 3
push 0
push 4
mov byte [esp + 0x38], 6
call fcn.004058a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc