joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b760
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0b70
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.004023d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x7c]
call fcn.00434fb0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42b7cc
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
jmp 0x42b7e7
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42b836
push str.CDGREGEDIT.EXE
push str.CDGRegedit
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00437e10
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004118e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402470
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x50], edx
xor eax, eax
cmp dword [ebp - 0x50], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0x42b88f
mov edx, dword [ebp - 0x1c]
sub edx, 0x10
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x24]
or eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402470
mov eax, dword [ebp + 8]
jmp 0x42b8cd
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x24]
or edx, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402470
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b8e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0b98
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.004023d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
add eax, 0xf0
push eax
lea ecx, [ebp - 0x10]
call fcn.004118e0
mov ecx, str._TAUpdatePatch__
test ecx, ecx
jne 0x42b941
mov dword [ebp - 0x38], 0
jmp 0x42b951
push str._TAUpdatePatch__
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
push str._TAUpdatePatch__
lea ecx, [ebp - 0x10]
call fcn.00410800
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42b997
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42b997
mov edx, dword [ebp - 0x70]
add edx, 0xf0
push edx
lea ecx, [ebp - 0x10]
call fcn.004118e0
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402470
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x42b9f0
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x10]
call fcn.004023d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x60]
add eax, 0xf0
push eax
lea ecx, [ebp - 0x10]
call fcn.004118e0
mov ecx, str._TAUpdatePatch__
test ecx, ecx
jne 0x42ba4a
mov dword [ebp - 0x38], 0
jmp 0x42ba5a
push str._TAUpdatePatch__
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
push str._TAUpdatePatch__
lea ecx, [ebp - 0x10]
call fcn.00410800
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42bac3
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
add edx, 0x10
mov eax, dword [ebp - 0x58]
mov dword [eax], edx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x60]
call fcn.00434c40
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42bf40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0c68
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x13c], 0
call fcn.00447437
push eax
lea ecx, [ebp - 0x10]
call fcn.00411850
mov dword [ebp - 4], 0
call fcn.0042bdc0
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x80000000
jae 0x42c0f2
push str.WINNT3
lea ecx, [ebp - 0x10]
call fcn.00411500
mov dword [ebp - 0x134], 0x114
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x130], 4
jne 0x42bff3
push str.WINNT4
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c0ed
cmp dword [ebp - 0x130], 5
jne 0x42c017
cmp dword [ebp - 0x12c], 0
jne 0x42c017
push str.WIN2000
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c0ed
cmp dword [ebp - 0x130], 5
jne 0x42c03b
cmp dword [ebp - 0x12c], 1
jne 0x42c03b
push str.WINXP
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c0ed
cmp dword [ebp - 0x130], 5
jne 0x42c05f
cmp dword [ebp - 0x12c], 2
jne 0x42c05f
push str.WINSVR2003
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c0ed
cmp dword [ebp - 0x130], 6
jne 0x42c080
cmp dword [ebp - 0x12c], 0
jne 0x42c080
push str.WINVISTA
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c0ed
cmp dword [ebp - 0x130], 6
jne 0x42c0a1
cmp dword [ebp - 0x12c], 1
jne 0x42c0a1
push str.WINDOWS7
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c0ed
cmp dword [ebp - 0x14], 0
je 0x42c0b6
push str.WINDOWS10
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c0ed
cmp dword [ebp - 0x130], 6
jne 0x42c0e0
cmp dword [ebp - 0x12c], 2
je 0x42c0d1
cmp dword [ebp - 0x12c], 3
jne 0x42c0e0
push str.WINDOWS8
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c0ed
push str.WINDOWS10
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c182
mov ecx, dword [ebp - 0x138]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
movzx eax, dl
cmp eax, 4
jge 0x42c11e
push str.WIN32S
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c182
push str.WIN95
lea ecx, [ebp - 0x10]
call fcn.00411500
mov dword [ebp - 0x134], 0x114
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x130], 4
jne 0x42c163
cmp dword [ebp - 0x12c], 0xa
jne 0x42c163
push str.WIN98
lea ecx, [ebp - 0x10]
call fcn.00411500
jmp 0x42c182
cmp dword [ebp - 0x130], 4
jne 0x42c182
cmp dword [ebp - 0x12c], 0x5a
jne 0x42c182
push str.WINME
lea ecx, [ebp - 0x10]
call fcn.00411500
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004118a0
mov eax, dword [ebp - 0x13c]
or eax, 1
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x180], ecx
mov ecx, dword [ebp - 0x180]
call fcn.00403de0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 4
Function at 0x42c1e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0048ac80
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.004023d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28c]
call fcn.00434fb0
test eax, eax
je 0x42c2a5
push str.Wow64EnableWow64FsRedirection
push 0x4cf374
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x42c2a3
push 0
call dword [ebp - 0x224]
push 0x208
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 1
call dword [ebp - 0x224]
jmp 0x42c2b7
push 0x208
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x21c]
test ecx, ecx
jne 0x42c2cd
mov dword [ebp - 0x238], 0
jmp 0x42c2e2
lea edx, [ebp - 0x21c]
push edx
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00411b20
push 0x4cf370
lea ecx, [ebp - 0x220]
call fcn.0040f050
mov edx, dword [ebp - 0x220]
sub edx, 0x10
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
push eax
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x228]
or eax, 1
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00402470
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 4
Function at 0x42c380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0048ac80
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.004023d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x290]
call fcn.00434fb0
test eax, eax
je 0x42c451
push str.Wow64EnableWow64FsRedirection
push 0x4cf374
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x42c445
push 0
call dword [ebp - 0x224]
push 0x208
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 1
call dword [ebp - 0x224]
jmp 0x42c44f
push 0x6c
call fcn.004299e0
add esp, 4
jmp 0x42c463
push 0x208
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x21c]
test ecx, ecx
jne 0x42c479
mov dword [ebp - 0x238], 0
jmp 0x42c48e
lea edx, [ebp - 0x21c]
push edx
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00411b20
mov edx, 0x4c8d8c
test edx, edx
jne 0x42c4bc
mov dword [ebp - 0x254], 0
jmp 0x42c4cf
push 0x4c8d8c
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
push eax
push 0x4c8d8c
lea ecx, [ebp - 0x220]
call fcn.00410800
mov ecx, dword [ebp - 0x220]
sub ecx, 0x10
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x274]
push edx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x228]
or edx, 1
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00402470
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 4
Function at 0x42c560
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x42c638
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x124]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x42c5c6
jmp 0x42c64b
lea edx, [ebp - 0x140]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x42c5e0
jmp 0x42c64b
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], 2
push 0
push 0
push 0
lea edx, [ebp - 0x134]
push edx
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x42c636
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x42c64b
cmp dword [ebp - 0x110], 1
jne 0x42c64b
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret
Function at 0x42cda0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0e78
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xc0]
sub ecx, 0x10
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd]
call fcn.00421a90
mov byte [ebp - 4], 1
push 0x4cf3ec
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xd]
call fcn.00421ab0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402470
cmp dword [ebp - 0x1c], 0
je 0x42ce77
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd]
call fcn.00421aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402470
mov eax, dword [ebp - 0x24]
jmp 0x42cf10
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 0xbc], 3
jne 0x42ce8c
mov dword [ebp - 0x68], 0x4ca728
jmp 0x42ce93
mov dword [ebp - 0x68], 0x4cf3ec
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x48], eax
push 0xa
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00411420
push eax
push 0
mov edx, dword [ebp - 0x68]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
jg 0x42ceeb
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd]
call fcn.00421aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402470
mov eax, dword [ebp - 0x28]
jmp 0x42cf10
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd]
call fcn.00421aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402470
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x434c40
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1750
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00449fa0
mov byte [ebp - 4], 1
call fcn.00447437
push eax
lea ecx, [ebp - 0x10]
call fcn.00411850
mov byte [ebp - 4], 2
push 0x4ca748
lea ecx, [ebp - 0x38]
call fcn.00411370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004118e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00402470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00402470
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], edx
push 0
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044a05d
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434dbd
lea ecx, [ebp - 0x2c]
call fcn.00449bbe
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00449f61
test eax, eax
jne 0x434db8
push 0x10
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [edx + 0x38]
call eax
test eax, eax
je 0x434d9a
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0044a2b8
mov byte [ebp - 4], 5
push ecx
mov edx, esp
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x30]
sub eax, 0x10
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
add edx, 0x10
mov eax, dword [ebp - 0x68]
mov dword [eax], edx
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0x88]
call fcn.00434c40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00402470
jmp 0x434db8
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0044a2b8
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x34]
call fcn.00402470
jmp 0x434d06
lea ecx, [ebp - 0x2c]
call fcn.00449ad8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x434e0c
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00449fc9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402470
mov eax, dword [ebp - 0x44]
jmp 0x434e3d
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00449fc9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402470
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x434e50
Capabilities:
Create process on windows
Delete file
Get comspec environment variable
Move file
Query environment variable
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x86c], ecx
push 4
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x864], ecx
push 0x104
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x864]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x434f97
push 0x104
lea ecx, [ebp - 0x860]
push ecx
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x434f97
push str._c_del__F__A:R__A:S__A:H__A:A__A:
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.0048ac0b
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push 0x104
lea ecx, [ebp - 0x248]
push ecx
call fcn.0048cdd9
add esp, 0xc
push str.___nul
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.0048cdd9
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.Open
lea eax, [ebp - 0x860]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x40
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x434f97
push 0x40
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
lea ecx, [ebp - 0x658]
push ecx
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp + 8]
call fcn.00402470
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 4
Function at 0x435000
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov ecx, 0x4f89c8
call fcn.00434fb0
test eax, eax
je 0x43507c
push str.2012_01_05_add_by_wangzhen
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x435058
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [ebp + ecx*4 - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
push str.2012_02_22_add_by_fengjz
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43507a
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x10], edx
jmp 0x4350a7
push str.2012_02_22_add_by_fengjz
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4350a7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 1
jle 0x4350d9
push 0x1388
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 4], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4350f6
push 0x1388
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0
je 0x435141
mov ecx, dword [ebp - 0x20]
call fcn.0042b570
cmp dword [ebp - 8], 1
jle 0x435124
push 0x1388
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 4], eax
jmp 0x435136
push 0x1388
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esp, ebp
pop ebp
ret

Function at 0x435370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x435290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0
jne 0x4353ab
xor eax, eax
jmp 0x4353b0
mov eax, 1
mov esp, ebp
pop ebp
ret