joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x447004]
jne 0x40100a
repz ret
jmp fcn.004015e1

Function at 0x40541b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x447004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403efa
and dword [ebp - 0x14], 0
cmp dword [0x449d68], 0
mov dword [ebp - 0x18], eax
jne 0x4054ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405576
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405576
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x449d68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x449d6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x449d70], eax
call edi
push eax
call esi
mov dword [0x449d78], eax
test eax, eax
je 0x4054ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x449d74], eax
mov eax, dword [0x449d74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405527
cmp dword [0x449d78], ecx
je 0x405527
push eax
call esi
push dword [0x449d78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405527
test ebx, ebx
je 0x405527
call edi
test eax, eax
je 0x40551e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40551e
test byte [ebp - 8], 1
jne 0x405527
or dword [ebp + 0x10], 0x200000
jmp 0x40555a
mov eax, dword [0x449d6c]
cmp eax, dword [ebp - 0x18]
je 0x40555a
push eax
call esi
test eax, eax
je 0x40555a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40555a
mov eax, dword [0x449d70]
cmp eax, dword [ebp - 0x18]
je 0x40555a
push eax
call esi
test eax, eax
je 0x40555a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x449d68]
call esi
test eax, eax
je 0x405576
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405578
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x443020
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x447004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x44a2a4]
imul eax, eax, 0x343fd
cmp dword [0x838c64], 0x139e
mov dword [0x44a2a4], eax
jne 0x44306f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PrepareTape]
mov eax, dword [esp]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x44a2a4]
add eax, 0x269ec3
push esi
mov dword [0x44a2a4], eax
movzx esi, word [0x44a2a6]
and esi, 0x7fff
cmp dword [0x838c64], 0x8e7
jne 0x4430a4
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x4430f0
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x443104
call fcn.00443020
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x4430f7
pop esi
cmp ebx, 0x2d
jne 0x44311e
mov dword [0x838ff8], 0xa62e7790
mov dword [0x838ffc], 0xffffffff
ret

Function at 0x443120
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x4481e8]
sub esp, 0x14
push ebx
mov ebx, dword [0x838c64]
push edi
mov edi, dword [0x838930]
call fcn.004430c0
cmp dword [0x838c64], 0x2f
jne 0x44317a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.004430f0
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x4434a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409fb0
mov eax, dword [0x447004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x4434c9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe0392
jge 0x443571
cmp dword [0x838c64], 0xa5f
jne 0x443515
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push str.pukayowifepokihevefisuvotilapu
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x845653
jne 0x44353a
mov eax, dword [0x449008]
mov dword [0x838c64], eax
mov ecx, dword [0x838c64]
add ecx, 0xa231
mov dword [0x838c64], ecx
cmp dword [0x838c64], 0x141
jne 0x44356c
push str.dosexijo_galodiyugakuj_pusofawufumivetew_siwoseze_piguje
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x44a2a8], 0xec58acac
mov dword [0x44a2ac], 0xffffffff
jmp 0x4434c0
call fcn.00443190
jmp dword [0x838930]
Function at 0x421490
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdd57
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x6a1da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x134]
call fcn.00418110
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00418110
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.0041a2a0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.0041a2a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.0041abd0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.0041abd0
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0044dc80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0044dd00
movzx edx, al
test edx, edx
je 0x42156e
lea ecx, [ebp - 0x1bc]
call fcn.00419520
push eax
lea ecx, [ebp - 0x134]
call fcn.00419520
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x42164c
lea ecx, [ebp - 0x134]
call fcn.004182a0
test eax, eax
jg 0x421590
lea ecx, [ebp - 0x1bc]
call fcn.004182a0
test eax, eax
jle 0x421623
lea ecx, [ebp - 0x24c]
call fcn.00418110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00418110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.004216c0
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.004216c0
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00418bb0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00418bb0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dl
mov byte [ebp - 0x1bd], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00418220
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00418220
jmp 0x42164c
lea ecx, [ebp - 0x1bc]
call fcn.00418bb0
push eax
lea ecx, [ebp - 0x134]
call fcn.00418bb0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
movzx ecx, byte [ebp - 0x1bd]
test ecx, ecx
jne 0x421665
cmp dword [ebp + 0x10], 0
je 0x421665
mov ecx, dword [ebp + 0x10]
call fcn.004357a0
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0044dce0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00418220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00418220
mov al, byte [ebp - 0x2d5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005aeae3
mov esp, ebp
pop ebp
ret
Function at 0x4217f0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdddc
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6a1da0]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00418110
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041a2a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041abd0
lea ecx, [ebp - 0x134]
call fcn.0044dc80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0044dd00
movzx ecx, al
test ecx, ecx
je 0x4218b8
lea ecx, [ebp - 0x94]
call fcn.00419520
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne dl
mov byte [ebp - 0x255], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044dce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418220
mov al, byte [ebp - 0x255]
jmp 0x421a8b
lea ecx, [ebp - 0x94]
call fcn.004182a0
cmp eax, 0x104
jle 0x4219be
lea ecx, [ebp - 0x1bc]
call fcn.00418110
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.00421120
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.00418110
mov byte [ebp - 4], 3
push 0x61b59c
lea ecx, [ebp - 0x24c]
call fcn.00419d60
lea ecx, [ebp - 0x1bc]
call fcn.00419f80
push eax
lea ecx, [ebp - 0x24c]
call fcn.00419d60
lea ecx, [ebp - 0x24c]
call fcn.00418bb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
jne 0x42195f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42195f
mov dword [ebp - 0x1c0], 1
cmp dword [ebp - 0x1c0], 0
setne dl
mov byte [ebp - 0x256], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00418220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00418220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044dce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418220
mov al, byte [ebp - 0x256]
jmp 0x421a8b
lea ecx, [ebp - 0x94]
call fcn.00418bb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x421a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
cmp dword [ebp + 0xc], 0
je 0x421a1e
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00435840
lea ecx, [ebp - 0x94]
call fcn.00419f80
push eax
push str.failedToDeleteFilepath
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
call eax
cmp dword [ebp - 0x254], 2
jne 0x421a31
mov dword [ebp - 0x250], 1
cmp dword [ebp - 0x250], 0
setne cl
mov byte [ebp - 0x257], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044dce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418220
mov al, byte [ebp - 0x257]
jmp 0x421a8b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.005aeae3
mov esp, ebp
pop ebp
ret
Function at 0x422a70
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdee1
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x6a1da0]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.004182a0
test eax, eax
jne 0x422adb
cmp dword [ebp + 0x14], 0
je 0x422ad4
push str.GetAttributes:_filename_is_empty
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
call edx
xor al, al
jmp 0x422c44
lea ecx, [ebp - 0x94]
call fcn.00418110
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041a2a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041abd0
lea ecx, [ebp - 0x94]
call fcn.004182a0
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x134]
call fcn.0044dc80
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0x104
jge 0x422b8c
lea ecx, [ebp - 0x94]
call fcn.00419200
movzx ecx, al
test ecx, ecx
jne 0x422b5b
lea ecx, [ebp - 0x134]
call fcn.0044dd00
movzx edx, al
test edx, edx
je 0x422b8c
lea ecx, [ebp - 0x94]
call fcn.00419520
push eax
call fcn.004248e0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0xffffffff
jne 0x422b87
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x422c0c
cmp dword [ebp - 0x138], 0
jle 0x422be2
lea ecx, [ebp - 0x1c4]
call fcn.00418110
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.004216c0
add esp, 8
lea ecx, [ebp - 0x1c4]
call fcn.00418bd0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00418220
jmp 0x422bf9
lea ecx, [ebp - 0x94]
call fcn.00418bd0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
jne 0x422c0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp dword [edx], 0xffffffff
setne al
mov byte [ebp - 0x1c5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044dce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418220
mov al, byte [ebp - 0x1c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.005aeae3
mov esp, ebp
pop ebp
ret
Function at 0x423000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdf8c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x6a1da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x13c]
call fcn.00418110
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0041a2a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x13c]
call fcn.0041abd0
lea ecx, [ebp - 0xac]
call fcn.0044dc80
mov byte [ebp - 4], 1
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xac]
call fcn.0044dd00
movzx ecx, al
test ecx, ecx
je 0x4230a4
push 0
lea ecx, [ebp - 0x13c]
call fcn.00419520
push eax
call fcn.004248a0
add esp, 8
mov dword [ebp - 0xb0], eax
jmp 0x42311d
lea ecx, [ebp - 0x13c]
call fcn.004182a0
test eax, eax
jle 0x423103
lea ecx, [ebp - 0x1c4]
call fcn.00418110
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.004216c0
add esp, 8
push 0
lea ecx, [ebp - 0x1c4]
call fcn.00418bb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00418220
jmp 0x42311d
push 0
lea ecx, [ebp - 0x13c]
call fcn.00418bb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x423173
cmp dword [ebp + 0xc], 0
je 0x423173
lea ecx, [ebp - 0x1ec]
call fcn.0041d8e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.00420b90
lea ecx, [ebp - 0x1ec]
call fcn.0041ae10
push eax
push str.errorMsg
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ec]
call fcn.0041dcb0
cmp dword [ebp - 0xb0], 0
setne cl
mov byte [ebp - 0x1ed], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.0044dce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00418220
mov al, byte [ebp - 0x1ed]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005aeae3
mov esp, ebp
pop ebp
ret
Function at 0x4231d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdee1
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x6a1da0]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00418110
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041a2a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.0041abd0
push 0
push 1
lea ecx, [ebp - 0x94]
push ecx
call fcn.00421ac0
add esp, 0xc
lea ecx, [ebp - 0x134]
call fcn.0044dc80
mov byte [ebp - 4], 1
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x134]
call fcn.0044dd00
movzx edx, al
test edx, edx
je 0x42328f
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x94]
call fcn.00419520
push eax
call fcn.004248c0
add esp, 8
movzx ecx, al
mov dword [ebp - 0x138], ecx
jmp 0x42330c
lea ecx, [ebp - 0x94]
call fcn.004182a0
test eax, eax
jle 0x4232f0
lea ecx, [ebp - 0x1c4]
call fcn.00418110
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.004216c0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.00418bb0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00418220
jmp 0x42330c
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x94]
call fcn.00418bb0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
setne al
mov byte [ebp - 0x1c5], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044dce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418220
mov al, byte [ebp - 0x1c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.005aeae3
mov esp, ebp
pop ebp
ret

Function at 0x4248c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
pop ebp
ret
Function at 0x429a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
call fcn.00434550
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x429b30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x429ad4
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x140], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004328c0
push str.Failed_to_start_thread
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + 0x14]
call edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x28]
call eax
xor al, al
jmp 0x429b27
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004328c0
push str.Task_started_in_background_thread.
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 4]
push ecx
push str.createThread
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00435300
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + 0x28]
call edx
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x431990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf222
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6a1da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ClsBgTask.0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 9], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00438930
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x28], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00418110
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.004037f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xd8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.00434770
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a8
call fcn.00477ed0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x431ab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf280
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6a1da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ClsBgTask.0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00438f40
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1a8
call fcn.00477f90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.00434840
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.00405120
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00418220
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00438980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x434560
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x6a1da0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c4], 0x190
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4345a1
mov byte [ebp - 0x1c0], 0
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041cd00
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005aeae3
mov esp, ebp
pop ebp
ret

Function at 0x4345e0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6a1da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x84], 0x76
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x434621
mov byte [ebp - 0x80], 0
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041cd00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005aeae3
mov esp, ebp
pop ebp
ret