joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a767
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004218d6
xor ebx, ebx
cmp dword [0x45f1ec], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x42a83d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42a91d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x42a91d
push eax
call fcn.00421868
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45f1ec], eax
call esi
push eax
call fcn.00421868
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45f1f0], eax
call esi
push eax
call fcn.00421868
mov dword [0x45f1f4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041f225
test eax, eax
pop ecx
pop ecx
je 0x42a80b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d64e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x42a83d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00421868
cmp eax, ebx
pop ecx
mov dword [0x45f1fc], eax
je 0x42a83d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00421868
pop ecx
mov dword [0x45f1f8], eax
mov eax, dword [0x45f1f8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42a8c2
cmp dword [0x45f1fc], ecx
je 0x42a8c2
push eax
call fcn.004218df
push dword [0x45f1fc]
mov esi, eax
call fcn.004218df
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42a8c2
cmp edi, ebx
je 0x42a8c2
call esi
cmp eax, ebx
je 0x42a88f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42a88f
test byte [ebp - 0x18], 1
jne 0x42a8c2
lea eax, [ebp - 0x10]
push eax
call fcn.0041f25c
test eax, eax
pop ecx
je 0x42a8aa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d64e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x42a8b9
or dword [ebp + 0x10], 0x200000
jmp 0x42a8fd
or dword [ebp + 0x10], 0x40000
jmp 0x42a8fd
mov eax, dword [0x45f1f0]
cmp eax, dword [ebp - 8]
je 0x42a8fd
push eax
call fcn.004218df
cmp eax, ebx
pop ecx
je 0x42a8fd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42a8fd
mov eax, dword [0x45f1f4]
cmp eax, dword [ebp - 8]
je 0x42a8fd
push eax
call fcn.004218df
cmp eax, ebx
pop ecx
je 0x42a8fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f1ec]
call fcn.004218df
cmp eax, ebx
pop ecx
je 0x42a91d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42a91f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434a70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov eax, 1
pop ebp
ret

Function at 0x438370
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4383b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4383b4
xor eax, eax
jmp 0x4383b7
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x438530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43858d
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.0043bd00
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x44f6fc
mov edx, dword [ebp + 8]
push edx
call fcn.0043e030
add esp, 0x10
jmp 0x4385a3
cmp dword [ebp + 0x14], 0
je 0x43859b
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
call fcn.00401380
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4385b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp + 0x10], 0
jne 0x4385e3
cmp dword [ebp + 0x14], 0
je 0x4385d6
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
call fcn.00401380
jmp 0x43866a
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43862f
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.0043bd00
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x44f6bc
mov eax, dword [ebp + 8]
push eax
call fcn.0043e030
add esp, 0x10
jmp 0x43866a
cmp dword [ebp + 0x14], 0
je 0x43863d
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
cmp dword [ebp - 4], 0
jne 0x438662
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.0043bd00
push eax
push 0x44f6d8
mov eax, dword [ebp + 8]
push eax
call fcn.0043e030
add esp, 0xc
jmp 0x43866a
mov ecx, dword [ebp + 8]
call fcn.00401380
mov esp, ebp
pop ebp
ret 0x10
Function at 0x438d90
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x45b660]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x460878
mov eax, dword [ebp + 8]
push eax
call fcn.0041da0c
add esp, 8
test eax, eax
je 0x438dc6
xor eax, eax
jmp 0x438fc2
movzx ecx, word [0x46087e]
and ecx, 0x4000
je 0x438fb2
mov edx, dword [ebp + 8]
push edx
push str._s.
lea eax, [ebp - 0x808]
push eax
call fcn.00406570
add esp, 0xc
push 0x460628
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x438fa3
mov dword [ebp - 0x810], 0x44f7e8
mov dword [ebp - 0x814], 0x460654
mov edx, dword [ebp - 0x814]
mov ax, word [edx]
mov word [ebp - 0x816], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx]
jne 0x438e90
cmp word [ebp - 0x816], 0
je 0x438e84
mov edx, dword [ebp - 0x814]
mov ax, word [edx + 2]
mov word [ebp - 0x818], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx + 2]
jne 0x438e90
add dword [ebp - 0x814], 4
add dword [ebp - 0x810], 4
cmp word [ebp - 0x818], 0
jne 0x438e2a
mov dword [ebp - 0x81c], 0
jmp 0x438e9b
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x438f4e
mov dword [ebp - 0x824], 0x44f7ec
mov dword [ebp - 0x828], 0x460654
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx]
mov word [ebp - 0x82a], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax]
jne 0x438f2e
cmp word [ebp - 0x82a], 0
je 0x438f22
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx + 2]
mov word [ebp - 0x82c], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax + 2]
jne 0x438f2e
add dword [ebp - 0x828], 4
add dword [ebp - 0x824], 4
cmp word [ebp - 0x82c], 0
jne 0x438ec8
mov dword [ebp - 0x830], 0
jmp 0x438f39
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x834], edx
cmp dword [ebp - 0x834], 0
jne 0x438f50
jmp 0x438f7c
push 0x460654
mov eax, dword [ebp + 8]
push eax
push str._s_s
lea ecx, [ebp - 0x808]
push ecx
call fcn.00406570
add esp, 0x10
lea edx, [ebp - 0x808]
push edx
call fcn.00438d90
add esp, 4
push 0x460628
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x438e16
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], eax
jmp 0x438fbf
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b397
mov esp, ebp
pop ebp
ret
Function at 0x438fd0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x45b660]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x460af8
mov eax, dword [ebp + 8]
push eax
call fcn.0041da0c
add esp, 8
test eax, eax
je 0x438fff
xor eax, eax
jmp 0x43920e
movzx ecx, word [0x460afe]
and ecx, 0x4000
je 0x4391fa
mov edx, dword [ebp + 8]
push edx
push 0x44f7b0
lea eax, [ebp - 0x808]
push eax
call fcn.00406570
add esp, 0xc
push 0x4608a8
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x4391fa
mov dword [ebp - 0x810], 0x44f7c0
mov dword [ebp - 0x814], 0x4608d4
mov edx, dword [ebp - 0x814]
mov ax, word [edx]
mov word [ebp - 0x816], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx]
jne 0x4390c9
cmp word [ebp - 0x816], 0
je 0x4390bd
mov edx, dword [ebp - 0x814]
mov ax, word [edx + 2]
mov word [ebp - 0x818], ax
mov ecx, dword [ebp - 0x810]
cmp ax, word [ecx + 2]
jne 0x4390c9
add dword [ebp - 0x814], 4
add dword [ebp - 0x810], 4
cmp word [ebp - 0x818], 0
jne 0x439063
mov dword [ebp - 0x81c], 0
jmp 0x4390d4
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x439187
mov dword [ebp - 0x824], 0x44f7c4
mov dword [ebp - 0x828], 0x4608d4
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx]
mov word [ebp - 0x82a], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax]
jne 0x439167
cmp word [ebp - 0x82a], 0
je 0x43915b
mov ecx, dword [ebp - 0x828]
mov dx, word [ecx + 2]
mov word [ebp - 0x82c], dx
mov eax, dword [ebp - 0x824]
cmp dx, word [eax + 2]
jne 0x439167
add dword [ebp - 0x828], 4
add dword [ebp - 0x824], 4
cmp word [ebp - 0x82c], 0
jne 0x439101
mov dword [ebp - 0x830], 0
jmp 0x439172
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x834], edx
cmp dword [ebp - 0x834], 0
jne 0x439189
jmp 0x4391d3
push 0x4608d4
mov eax, dword [ebp + 8]
push eax
push 0x44f7cc
lea ecx, [ebp - 0x808]
push ecx
call fcn.00406570
add esp, 0x10
mov edx, dword [0x4608a8]
and edx, 0x10
je 0x4391c2
lea eax, [ebp - 0x808]
push eax
call fcn.00438fd0
add esp, 4
jmp 0x4391d3
push 4
push 0
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x4608a8
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43904f
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b397
mov esp, ebp
pop ebp
ret
Function at 0x439220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0x10], 0
jne 0x439234
or eax, 0xffffffff
jmp 0x439376
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
mov word [ebp - 0x22], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x22], 0
jne 0x439243
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jge 0x439277
or eax, 0xffffffff
jmp 0x439376
mov eax, dword [ebp - 8]
and eax, 0x80000001
jns 0x439286
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x439292
or eax, 0xffffffff
jmp 0x439376
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
sub eax, 1
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
jmp 0x4392b6
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
jg 0x439366
mov eax, dword [ebp - 0xc]
shl eax, 1
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + eax*2]
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 0xc]
shl eax, 1
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + eax*2 + 2]
mov word [ebp - 0x10], dx
movzx eax, word [ebp - 0x18]
cmp eax, 0x7a
jg 0x4392f5
movzx ecx, word [ebp - 0x18]
cmp ecx, 0x61
jge 0x4392fa
or eax, 0xffffffff
jmp 0x439376
movzx edx, word [ebp - 0x10]
cmp edx, 0x7a
jg 0x43930c
movzx eax, word [ebp - 0x10]
cmp eax, 0x61
jge 0x439311
or eax, 0xffffffff
jmp 0x439376
movzx ecx, word [ebp - 0x18]
sub ecx, 0x61
mov word [ebp - 0x18], cx
movzx edx, word [ebp - 0x10]
sub edx, 0x61
mov word [ebp - 0x10], dx
movzx eax, word [ebp - 0x18]
shl eax, 4
movzx ecx, word [ebp - 0x10]
add eax, ecx
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
movzx eax, byte [ebp - 1]
xor eax, edx
mov byte [ebp - 1], al
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
jge 0x439361
movzx edx, word [ebp - 0x18]
shl edx, 4
movzx eax, word [ebp - 0x10]
add edx, eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], dl
jmp 0x4392ad
movzx edx, byte [ebp - 1]
test edx, edx
je 0x439373
or eax, 0xffffffff
jmp 0x439376
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x439380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x45b660]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00438a40
add esp, 8
cmp eax, 1
jne 0x4393cc
push 5
push 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0x44f83c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4393e2
push 5
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b397
mov esp, ebp
pop ebp
ret
Function at 0x43aba0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80
push eax
call fcn.004061f0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
mov word [ebp - 0x1a], cx
add dword [ebp - 0x14], 2
cmp word [ebp - 0x1a], 0
jne 0x43abe4
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
sar edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x43ac1c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
jge 0x43ac4b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + eax*2 + 0x80]
push edx
call fcn.0041e049
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov word [edx + ecx*2 + 0x288], ax
jmp 0x43ac13
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov word [ecx + eax*2 + 0x288], 0
mov ecx, dword [ebp + 8]
call fcn.00401380
mov esp, ebp
pop ebp
ret 4

Function at 0x43aea0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x45b660]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x241], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x23c], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x43aee5
xor al, al
jmp 0x43af72
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x43af17
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x43af72
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x23c]
jne 0x43af27
jmp 0x43af48
push str.ctfmon.exe
lea ecx, [ebp - 0x214]
push ecx
call fcn.004060b0
add esp, 8
test eax, eax
je 0x43af48
mov byte [ebp - 0x241], 1
jmp 0x43af5f
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43af17
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x241]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b397
mov esp, ebp
pop ebp
ret
Function at 0x43b140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x1a
push 0x104
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.0043bea0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
je 0x43b18a
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.00406040
push 0x44ffcc
mov ecx, dword [ebp + 8]
call fcn.00401e70
mov ecx, eax
call fcn.00404180
jmp 0x43b19d
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.0043c130
mov ecx, dword [ebp + 8]
call fcn.00401380
mov esp, ebp
pop ebp
ret 4

Function at 0x43b1b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x45b660]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0041cd40
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x43b231
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
push edx
push 0x44ff4c
mov ecx, dword [ebp + 8]
call fcn.00401e70
mov ecx, eax
call fcn.0043dbc0
mov ecx, eax
call fcn.00404180
jmp 0x43b338
lea eax, [ebp - 0x210]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
add ecx, 2
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x22c]
mov ax, word [edx]
mov word [ebp - 0x232], ax
add dword [ebp - 0x22c], 2
cmp word [ebp - 0x232], 0
jne 0x43b24c
mov ecx, dword [ebp - 0x22c]
sub ecx, dword [ebp - 0x230]
sar ecx, 1
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x238]
movzx eax, word [ebp + edx*2 - 0x212]
cmp eax, 0x5c
jne 0x43b2f4
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
add edx, 2
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x23c]
mov cx, word [eax]
mov word [ebp - 0x242], cx
add dword [ebp - 0x23c], 2
cmp word [ebp - 0x242], 0
jne 0x43b2af
mov edx, dword [ebp - 0x23c]
sub edx, dword [ebp - 0x240]
sar edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
mov word [ebp + eax*2 - 0x212], 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0043c1b0
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp - 0x228]
add ecx, 0x18
call fcn.0043c070
lea ecx, [ebp - 0x224]
call fcn.0043bd40
mov ecx, dword [ebp + 8]
call fcn.00401380
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b397
mov esp, ebp
pop ebp
ret 4
Function at 0x43c330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x45b660]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.0043bbf0
movzx eax, al
test eax, eax
jne 0x43c39f
mov ecx, dword [ebp - 0x24]
call fcn.0043bc70
movzx ecx, al
test ecx, ecx
jne 0x43c39f
mov ecx, dword [ebp - 0x24]
call fcn.00439a90
push eax
push str.b_rN0R
mov ecx, dword [ebp + 8]
call fcn.00401e70
mov ecx, eax
call fcn.0043dba0
mov ecx, eax
call fcn.00404180
jmp 0x43c475
lea ecx, [ebp - 0x1c]
call fcn.00439e20
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
push 0x450a88
mov ecx, dword [ebp - 0x24]
call fcn.00439a90
push eax
push 0x22
lea ecx, [ebp - 0x1c]
call fcn.0043a010
mov ecx, eax
call fcn.00439f80
mov ecx, eax
call fcn.00439f80
mov ecx, eax
call fcn.00439f80
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
push 0
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00439ca0
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00439a60
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43c450
lea ecx, [ebp - 0x1c]
call fcn.0043a050
push 0x450a90
mov ecx, dword [ebp + 8]
call fcn.0043dcf0
mov ecx, eax
call fcn.0043dba0
mov ecx, eax
call fcn.00404180
mov byte [ebp - 0x1d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00439b20
mov al, byte [ebp - 0x1d]
jmp 0x43c475
lea ecx, [ebp - 0x1c]
call fcn.0043a050
mov ecx, dword [ebp + 8]
call fcn.00401380
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00439b20
mov al, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43c9d0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x80
mov ecx, dword [ebp - 8]
call fcn.00439a60
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 8]
call fcn.00439a60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43ca5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x43ca2a
mov ecx, dword [ebp - 8]
call fcn.0043bc70
movzx ecx, al
test ecx, ecx
jne 0x43ca2a
mov ecx, dword [ebp + 8]
call fcn.00401380
jmp 0x43ca63
mov ecx, dword [ebp - 8]
call fcn.00439a90
push eax
push 0x450294
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043dd30
mov ecx, eax
call fcn.0043dba0
mov ecx, eax
call fcn.0043dba0
mov ecx, eax
call fcn.00404180
jmp 0x43ca63
mov ecx, dword [ebp + 8]
call fcn.00401380
mov esp, ebp
pop ebp
ret 8

Function at 0x43cf10
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x45b660]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x20]
call fcn.0043c310
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0043c750
movzx ecx, al
test ecx, ecx
je 0x43cf91
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x20]
call fcn.0043c7e0
movzx eax, al
test eax, eax
jne 0x43cf91
mov ecx, dword [ebp + 8]
call fcn.00405d80
mov byte [ebp - 0x21], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043bd40
mov al, byte [ebp - 0x21]
jmp 0x43d05a
mov dword [ebp - 0x10], 8
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x43cfa9
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0043bd00
push eax
mov ecx, dword [ebp - 0x28]
call fcn.00439a60
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x43d029
mov ecx, dword [ebp - 0x28]
call fcn.00439a90
push eax
push 0x450358
mov ecx, dword [ebp + 8]
call fcn.0043dcf0
mov ecx, eax
call fcn.0043dba0
mov ecx, eax
call fcn.0043dba0
mov ecx, dword [ebp + 0xc]
call fcn.0043bd00
push eax
push str.______
mov ecx, dword [ebp + 8]
call fcn.00401e70
mov ecx, eax
call fcn.0043dba0
mov ecx, dword [ebp + 8]
call fcn.00405d80
mov byte [ebp - 0x22], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043bd40
mov al, byte [ebp - 0x22]
jmp 0x43d05a
push 0x80
mov ecx, dword [ebp + 0xc]
call fcn.0043bd00
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
call fcn.00401380
mov byte [ebp - 0x23], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0043bd40
mov al, byte [ebp - 0x23]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc