joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fd00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x248], 0xffffffff
mov dword [ebp - 0x23c], 0xffffffff
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x244], 0xffffffff
mov dword [ebp - 0x240], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x248], eax
xor ecx, ecx
cmp dword [ebp - 0x248], 0xffffffff
setne cl
mov dword [ebp - 0x24c], ecx
cmp dword [ebp - 0x24c], 0
jne 0x44fdc0
push 0x1c1
push 0x475a88
call fcn.0044dfd0
add esp, 8
push eax
push str.hProcessSnap_INVALID_HANDLE_VALUE
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44feba
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x248]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x44fe1d
push 0x1c4
push 0x475abc
call fcn.0044dfd0
add esp, 8
push eax
push str.Process32First_hProcessSnap__pe32_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44feba
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x44fe43
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x244], eax
jmp 0x44fe5a
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44fe1d
xor eax, eax
cmp dword [ebp - 0x244], 0xffffffff
setne al
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x44fea0
push 0x1cf
push 0x475af0
call fcn.0044dfd0
add esp, 8
push eax
push str.ProcessID__1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44feba
mov ecx, dword [ebp - 0x244]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x248], 0xffffffff
je 0x44feda
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 0xffffffff
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret
Function at 0x44fef0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x44ff5e
push 0x1af
push 0x475a3c
call fcn.0044dfd0
add esp, 8
push eax
push str.GetVersionEx_ver_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x44ff99
cmp dword [ebp - 0x11c], 6
sbb ecx, ecx
add ecx, 1
mov dword [ebp - 0x124], ecx
jne 0x44ff99
push 0x1b0
push 0x475a60
call fcn.0044dfd0
add esp, 8
push eax
push str.ver.dwMajorVersion_6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret
Function at 0x4500f0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x278]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x278], 0x44
push 0x10
push 0
lea edx, [ebp - 0x228]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
call fcn.0044d7e0
add esp, 4
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x45018f
jmp 0x450343
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.0044fa90
add esp, 8
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x4501e3
push 0x178
push 0x475818
call fcn.0044dfd0
add esp, 8
push eax
push str.GetWorkDir_tcsUI__MAX_PATH_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450343
push 0x475844
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
push 0x475848
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea ecx, [ebp - 0x218]
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x22c], ecx
jne 0x45025c
push 0x17b
push 0x475864
call fcn.0044dfd0
add esp, 8
push eax
push str.tcsUI_NULL
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450343
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x22c], ecx
cmp dword [ebp - 0x22c], 0
jne 0x4502b1
push 0x17c
push 0x475880
call fcn.0044dfd0
add esp, 8
push eax
push str.GetFileAttributes_tcsUI__INVALID_FILE_ATTRIBUTES
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450343
push str.__tray
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x278]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x45032e
push 0x188
push 0x4758d4
call fcn.0044dfd0
add esp, 8
push eax
push str.CreateProcess_NULL__tcsUI__NULL__NULL__FALSE__0__NULL__NULL__si__pi_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450343
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov dword [ebp - 0x22c], 1
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret
Function at 0x4508d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push str.GlobalBackupCoreF7EBDBF0_0BFE_440c_89FD_150162F1D5C6
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
xor eax, eax
cmp dword [edx], 0
setne al
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x450937
push 0x93
push 0x4753e8
call fcn.0044dfd0
add esp, 8
push eax
push str.h_NULL
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x45097c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor ecx, ecx
cmp dword [ebp - 8], 0xb7
setne cl
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x45097c
push 0x96
push 0x475400
call fcn.0044dfd0
add esp, 8
push eax
push str.Err_ERROR_ALREADY_EXISTS
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
cmp dword [ebp - 8], 0xb7
jne 0x45099a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4509b0
Capabilities:
Listen for remote procedure calls

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 1
push 0
push str.pipe8CEA9535_1AE9_4abe_9AF5_87098064C350
push 0xa
push str.ncacn_np
call dword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 4], eax
jne 0x450a0c
push 0x83
push 0x475244
call fcn.0044dfd0
add esp, 8
push eax
push str.RpcServerUseProtseqEp__RPC_WSTR_TEXT__ncacn_np____RPC_C_PROTSEQ_MAX_REQS_DEFAULT__RPC_ABCORE_MAIN_SERVICE__NULL_RPC_S_OK
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450a92
push 0
push 0
mov eax, dword [0x48636c]
push eax
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterIf]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 4], eax
jne 0x450a53
push 0x85
push 0x4752d4
call fcn.0044dfd0
add esp, 8
push eax
push str.RpcServerRegisterIf_BrRpc_v1_0_s_ifspec__NULL__NULL_RPC_S_OK
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450a92
push 0
push 0x14
push 1
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 4], eax
jne 0x450a92
push 0x86
push 0x475324
call fcn.0044dfd0
add esp, 8
push eax
push str.RpcServerListen_1__20__FALSE_RPC_S_OK
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x450aa0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x240], 0xffffffff
mov dword [ebp - 0x23c], 0
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x450b17
push 0x60
push 0x475130
call fcn.0044dfd0
add esp, 8
push eax
push str.pExeFile_NULL
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450c64
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
mov dword [ebp - 0x23c], eax
xor edx, edx
cmp edx, dword [ebp - 0x23c]
sbb eax, eax
neg eax
mov dword [ebp - 0x244], eax
jne 0x450b6c
push 0x62
push 0x475150
call fcn.0044dfd0
add esp, 8
push eax
push str.szlExe_0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450c64
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
xor ecx, ecx
cmp dword [ebp - 0x240], 0xffffffff
setne cl
mov dword [ebp - 0x244], ecx
cmp dword [ebp - 0x244], 0
jne 0x450bc4
push 0x65
push 0x47516c
call fcn.0044dfd0
add esp, 8
push eax
push 0x47517c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450c64
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x450c18
push 0x69
push 0x4751a0
call fcn.0044dfd0
add esp, 8
push eax
push 0x4751b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450c64
mov dword [ebp - 0x244], 0
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x450c4d
mov dword [ebp - 0x244], 1
jmp 0x450c64
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x450c22
cmp dword [ebp - 0x240], 0xffffffff
je 0x450c84
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x240], 0xffffffff
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret
Function at 0x450ca0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 1
mov word [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
xor ecx, ecx
cmp dword [ebp + 8], 0xffffffff
setne cl
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x450d0c
push 0x65
push 0x475014
call fcn.0044dfd0
add esp, 8
push eax
push 0x475040
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450da8
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x450d46
push 0x66
push 0x475058
call fcn.0044dfd0
add esp, 8
push eax
push str.paddr_NULL
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x450da8
mov word [ebp - 0x14], 2
mov ax, word [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_connect]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x18], eax
jne 0x450da8
push 0x6c
push str.e:AMWork_branchesBRCloudv2incmytcp.h
call fcn.0044dfd0
add esp, 8
push eax
push str.connect_sock___struct_sockaddr__sa__sizeof_sa__0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret
Function at 0x4511b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
mov word [ebp - 0x418], 0
push 0x3fe
push 0
lea eax, [ebp - 0x416]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x418]
push ecx
push 0
call fcn.0044ecf0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45124e
push 0xce5
push 0x476efc
call fcn.0044dfd0
add esp, 8
push eax
push str.GetModuleDir_NULL__wcsCfgIniPath__BR_MAX_PATH_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x4512ce
push 0x476f3c
push 0x200
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
push 0x476f40
push 0x200
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0x476f58
push 0x476f5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xc
je 0x4512be
cmp dword [ebp - 8], 0xd
je 0x4512be
cmp dword [ebp - 8], 0xe
je 0x4512be
cmp dword [ebp - 8], 0xf
je 0x4512be
cmp dword [ebp - 8], 0x10
jne 0x4512c7
mov dword [ebp - 0x10], 1
jmp 0x4512ce
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret

Function at 0x4512e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
mov word [ebp - 0x418], 0
push 0x3fe
push 0
lea eax, [ebp - 0x416]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x418]
push ecx
push 0
call fcn.0044ecf0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x451378
push 0xcd0
push 0x476e7c
call fcn.0044dfd0
add esp, 8
push eax
push 0x476e8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x4513f5
push 0x476ebc
push 0x200
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
push 0x476ec0
push 0x200
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0x476ed8
push 0x476edc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xa
je 0x4513e2
cmp dword [ebp - 8], 0xd
je 0x4513e2
mov dword [ebp - 0x41c], 0
jmp 0x4513ec
mov dword [ebp - 0x41c], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret
Function at 0x4519e0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 1
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.0044fa90
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x451a6a
push 0x550
push 0x47645c
call fcn.0044dfd0
add esp, 8
push eax
push str.GetWorkDir_szwWork__MAX_PATH_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x451adf
push 0x47648c
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.MSVCR80.dll_wcscat]
add esp, 8
push 0x476490
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat]
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0
jne 0x451adf
push 0x554
push 0x4764ac
call fcn.0044dfd0
add esp, 8
push eax
push str.GetFileAttributes_szwWork__INVALID_FILE_ATTRIBUTES
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret
Function at 0x453270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0x44b340
call dword [sym.imp.MSVCR80.dll__beginthread]
add esp, 0xc
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0xffffffff
setne al
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4532c8
push 0x236
push 0x475c6c
call fcn.0044dfd0
add esp, 8
push eax
push str.hThread_INVALID_HANDLE_VALUE
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401020
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4554c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x31cc], 0
jne 0x4554dc
mov eax, 1
jmp 0x45554b
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x455519
push 0xf0000017
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x31d0]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
jmp 0x45554b
push 5
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x31cc]
call fcn.0044b5b0
test eax, eax
jne 0x455546
push 0xf0000017
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x31d0]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
jmp 0x45554b
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x455d40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call fcn.0044ecf0
add esp, 0xc
push str.Temp
push 0x104
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x455d9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x455d9f
mov dword [ebp - 0xc], 0
jmp 0x455da6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x455ddd
push 0xa0a
push 0x47a784
call fcn.00455990
add esp, 8
push eax
push str.CreateDirectory_FileName__NULL___GetLastError____ERROR_ALREADY_EXISTS
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x455df4
push str.Unusual.dat
push 0x104
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x455e00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x455e7f
push 0x208
call fcn.0043acf2
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
push 0x104
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00455d40
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x455e7f
push 0x9fa
push 0x47a73c
call fcn.00455990
add esp, 8
push eax
push str.GetUnusaInfoPath_FileName__MAX_PATH_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x455e89
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 4], 0
je 0x455eae
cmp dword [ebp + 8], 0
je 0x455eae
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x455ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x220], 0
mov dword [ebp - 8], 0x1230
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x224]
call fcn.00455d40
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x455f71
push 0x9e6
push 0x47a67c
call fcn.00455990
add esp, 8
push eax
push 0x47a690
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x456024
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0xc], 0xffffffff
setne al
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x455fd6
push 0x9e9
push 0x47a6b8
call fcn.00455990
add esp, 8
push eax
push str.hFile___INVALID_HANDLE_VALUE
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
jmp 0x456024
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x456024
push 0x9ea
push 0x47a6ec
call fcn.00455990
add esp, 8
push eax
push str.WriteFile_hFile___BYTE_taskinfo__dwSize__dwSize__NULL_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 0xc
cmp dword [ebp - 0xc], 0xffffffff
je 0x45603b
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret 0x1230