joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4064fb
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4064f1
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4064e7
push 0x7fff
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4064dd
push 0x7fff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4064dd
mov edx, dword [ebp - 8]
push edx
push 0x431afc
push 0x7fff
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042206a
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4064dd
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x4064fd
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x409f80
Capabilities:
Create directory
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040a2d0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40a199
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
je 0x409fcf
call dword [0x48a0f4]
cmp eax, 0xb7
jne 0x40a189
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40a189
mov eax, dword [ebp + 8]
add eax, 0x270
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x43225c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40a179
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.0041b0a0
add esp, 8
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x40a179
mov dword [ebp - 0x22c], 0xffffffff
push 0
push 0x80
push 1
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x22c], eax
call dword [0x48a0f4]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x22c], 0xffffffff
jne 0x40a0af
cmp dword [ebp - 0x230], 0x50
jne 0x40a163
cmp dword [ebp - 0x230], 0x50
jne 0x40a0bc
jmp 0x40a11b
push 0
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x234]
cmp edx, dword [ebp - 0x224]
jne 0x40a143
mov eax, dword [ebp - 0x22c]
push eax
call dword [0x48a08c]
mov dword [ebp - 0x22c], 0xffffffff
cmp dword [ebp - 0x22c], 0xffffffff
je 0x40a11b
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [0x48a08c]
mov edx, dword [ebp - 0x228]
push edx
call dword [0x48a0a0]
mov eax, dword [ebp - 0x14]
push eax
call dword [0x48a0a0]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x48a0a0]
mov eax, 1
jmp 0x40a19b
cmp dword [ebp - 0x22c], 0xffffffff
je 0x40a159
mov edx, dword [ebp - 0x22c]
push edx
call dword [0x48a08c]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x228], 0
je 0x40a179
mov ecx, dword [ebp - 0x228]
push ecx
call dword [0x48a0a0]
cmp dword [ebp - 0x14], 0
je 0x40a189
mov edx, dword [ebp - 0x14]
push edx
call dword [0x48a0a0]
cmp dword [ebp - 0xc], 0
je 0x40a199
mov eax, dword [ebp - 0xc]
push eax
call dword [0x48a0a0]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40a3c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x436858
call dword [0x48a448]
test eax, eax
jne 0x40a4af
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40a4a5
mov ecx, dword [ebp + 8]
add ecx, 0x5c4a
push ecx
mov edx, dword [ebp - 4]
push edx
push 0x432278
push 0x7fff
mov eax, dword [ebp - 8]
push eax
call dword [0x48a438]
add esp, 0x14
test eax, eax
jle 0x40a49b
call fcn.0040a8b0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40a49b
mov dword [ebp - 0x18], 0xc
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
je 0x40a466
call dword [0x48a0f4]
cmp eax, 0xb7
jne 0x40a48b
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x48a0a0]
mov edx, dword [ebp - 8]
push edx
call dword [0x48a0a0]
mov eax, dword [ebp - 4]
push eax
call dword [0x48a464]
mov eax, 1
jmp 0x40a4b1
cmp dword [ebp - 0xc], 0
je 0x40a49b
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x48a0a0]
mov edx, dword [ebp - 8]
push edx
call dword [0x48a0a0]
mov eax, dword [ebp - 4]
push eax
call dword [0x48a464]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40ca10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x47e680
call fcn.0040a2d0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40cb1e
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40cb14
push str.93965B72_97FB_4C59_820C_DE33034FA21C
push str.x.exe
mov ecx, dword [ebp - 8]
push ecx
push str._s_s__s
push 0x7fff
mov edx, dword [ebp - 0xc]
push edx
call dword [0x48a438]
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [0x480334], 1
jne 0x40cac0
lea eax, [ebp - 0x10]
push eax
push 0x4324b8
push SysReAllocString
call dword [0x48a364]
test eax, eax
jne 0x40cac0
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0
push str.StartValue
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x48a360]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x48a368]
cmp dword [0x480330], 1
jne 0x40cb0a
lea eax, [ebp - 0x10]
push eax
push 0x432520
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x48a364]
test eax, eax
jne 0x40cb0a
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0
push 0x4840f6
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x48a360]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x48a368]
mov eax, dword [ebp - 0xc]
push eax
call dword [0x48a0a0]
mov ecx, dword [ebp - 8]
push ecx
call dword [0x48a0a0]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40d610
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x48033c], 1
jne 0x40d74d
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40d68d
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x436848
call dword [0x48a448]
test eax, eax
jne 0x40d683
push str.BAB3B0D9_C1F0_4514_9AAA_E3310050E945
mov ecx, dword [ebp - 0xc]
push ecx
push str._s_s.lnk
push 0x7fff
mov edx, dword [ebp - 4]
push edx
call fcn.0042206a
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x48a464]
mov edx, dword [ebp - 4]
push edx
call dword [0x48a0a0]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x436858
call dword [0x48a448]
test eax, eax
jne 0x40d74d
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40d743
push str.A38E9AC3_2140_4BAB_8FC1_9CA8D1CA99FF
mov ecx, dword [ebp - 8]
push ecx
push 0x43269c
push 0x7fff
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042206a
add esp, 0x14
push 0xfffe
push 0x40
call dword [0x48a094]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40d739
push str.369FC5FB_EF3D_4B36_975C_06D7E3178EE0
push str.A38E9AC3_2140_4BAB_8FC1_9CA8D1CA99FF
mov eax, dword [ebp - 8]
push eax
push str._s_s_s.BAT
push 0x7fff
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042206a
add esp, 0x18
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x48a0a0]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x48a0a0]
mov eax, dword [ebp - 8]
push eax
call dword [0x48a464]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4152e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
push 0x47ec8c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x415351
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x489f0c], eax
cmp dword [0x489f0c], 0
je 0x415351
push 0
push 0
push 0
push 0x4060c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489f10], eax
cmp dword [0x489f10], 0
je 0x41533b
jmp 0x415351
mov eax, dword [0x489f0c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x489f0c], 0
cmp dword [0x480344], 1
jne 0x41541f
call fcn.0041aed0
cmp eax, 1
jne 0x41541f
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
lea ecx, [ebp - 0x194]
push ecx
push 0x47e680
call fcn.0040a2d0
add esp, 8
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x41541f
xor edx, edx
mov word [ebp - 0x3a0], dx
push 0x206
push 0
lea eax, [ebp - 0x39e]
push eax
call fcn.00421ff0
add esp, 0xc
push str.x.exe
mov ecx, dword [ebp - 0x198]
push ecx
push str.__s_s_
push 0x104
lea edx, [ebp - 0x3a0]
push edx
call fcn.0042206a
add esp, 0x14
mov eax, dword [0x4803e8]
push eax
mov ecx, dword [0x4803e4]
push ecx
push 0x480396
push 0x480348
push str.93965B72_97FB_4C59_820C_DE33034FA21C
lea edx, [ebp - 0x3a0]
push edx
call fcn.00404cd0
add esp, 0x18
mov eax, dword [ebp - 0x198]
push eax
call dword [0x48a0a0]
cmp dword [0x480338], 0
jne 0x41542d
call fcn.0040ca10
cmp dword [0x48033c], 1
jne 0x41543b
call fcn.0040c780
cmp dword [0x480338], 1
jne 0x415449
call fcn.00419710
push 0x15
call fcn.00414340
add esp, 4
cmp dword [0x47ec70], 1
jne 0x4154aa
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x489f1c], eax
cmp dword [0x489f1c], 0
je 0x4154aa
push 0
push 0
push 0
push 0x409600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x489f20], eax
cmp dword [0x489f20], 0
je 0x41549d
jmp 0x4154aa
mov ecx, dword [0x489f1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x190]
push edx
push 2
call dword [0x48a504]
test eax, eax
jne 0x415510
cmp dword [0x4871bc], 1
jne 0x4154e0
push 0
push 0
push 0
push 0x41a0f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x48a6a8], eax
push 0
push 0
push 0
push 0x41fb50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x48a964], eax
cmp dword [0x48a964], 0
je 0x41550a
mov eax, 1
jmp 0x415515
call dword [0x48a508]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x415df0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x415e11
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x64
jge 0x415f31
push 0
mov edx, dword [ebp - 0xc]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x415e47
cmp dword [ebp - 8], 0x102
je 0x415f2c
mov edx, dword [ebp - 0xc]
shl edx, 4
add edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x415e73
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x415e93
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x415f0e
push 0
push 4
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x415f04
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x415efa
mov eax, 1
jmp 0x415f33
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
jmp 0x415e08
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x419710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x48a5fc
push 0
push 0
push 0x4197a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x48a5f4], eax
cmp dword [0x48a5f4], 0
je 0x419740
mov eax, 1
jmp 0x419742
xor eax, eax
pop ebp
ret
Function at 0x41b0a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x41b144
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41b13a
mov edx, dword [ebp - 8]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b13a
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b130
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jne 0x41b130
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
jmp 0x41b146
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41b5c0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
cmp dword [ebp + 8], 0
je 0x41b5e6
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41b7b8
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41b7b8
mov ecx, dword [ebp + 0x10]
push ecx
push str._s.
push 0x7fff
mov edx, dword [ebp - 8]
push edx
call dword [0x48a438]
add esp, 0x10
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b7ae
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x41b791
cmp dword [ebp + 8], 1
jne 0x41b671
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41b671
jmp 0x41b785
push 0x43609c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41b69d
push 0x4360a0
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41b6a2
jmp 0x41b76c
mov edx, dword [ebp - 0x260]
and edx, 0x10
je 0x41b740
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x41b73e
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str._s_s_
push 0x7fff
mov edx, dword [ebp - 0x264]
push edx
call dword [0x48a438]
add esp, 0x14
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041b5c0
add esp, 0x10
mov ecx, dword [ebp - 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41b731
mov edx, dword [ebp + 0x14]
cmp dword [edx], 0
jne 0x41b731
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x41b76c
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str._s_s
push 0x7fff
mov edx, dword [ebp - 0xc]
push edx
call dword [0x48a438]
add esp, 0x14
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41b653
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41b7a4
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
jne 0x41b7a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esp, ebp
pop ebp
ret
Function at 0x41b9a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret
Function at 0x421050
Capabilities:
Get geographical location
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push 0x318
push 0x40
call dword [0x48a094]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x421209
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x421098
mov eax, dword [ebp - 4]
push eax
call dword [0x48a0a0]
xor eax, eax
jmp 0x42120b
push str.RtlGetVersion
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4210c1
mov edx, dword [ebp - 4]
push edx
call dword [0x48a0a0]
xor eax, eax
jmp 0x42120b
push 0x11c
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.00421ff0
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea ecx, [ebp - 0x130]
push ecx
call dword [ebp - 0xc]
test eax, eax
je 0x421100
mov edx, dword [ebp - 4]
push edx
call dword [0x48a0a0]
xor eax, eax
jmp 0x42120b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x12c]
mov dword [eax + 0x308], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x30c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x124]
mov dword [ecx + 0x310], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x120]
mov dword [eax + 0x314], ecx
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x134]
mov dword [edx], eax
push 0x50
lea ecx, [ebp - 0x188]
push ecx
call dword [0x48a510]
test eax, eax
jne 0x4211ff
lea edx, [ebp - 0x188]
push edx
call dword [0x48a4f4]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x4211ff
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [eax + 0x228], ecx
mov dword [ebp - 0x190], 0x10
lea edx, [ebp - 0x190]
push edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4211ff
mov dword [ebp - 0x194], 0x101
lea ecx, [ebp - 0x194]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call dword [0x48a400]
cmp eax, 1
jne 0x4211ff
call dword [0x48a1b8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x300], eax
mov dword [ecx + 0x304], edx
mov eax, dword [ebp - 4]
jmp 0x42120b
mov edx, dword [ebp - 4]
push edx
call dword [0x48a0a0]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x427f31
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x487d68]
jne 0x427f3b
repz ret
jmp fcn.0042c15f

Function at 0x42bdac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x487d68]
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.004267f7
and dword [ebp - 0x14], 0
cmp dword [0x48b324], 0
mov dword [ebp - 0x18], eax
jne 0x42be5f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42bf07
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x438138
push ebx
call edi
test eax, eax
je 0x42bf07
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x48b324], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x48b328], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48b32c], eax
call edi
push eax
call esi
mov dword [0x48b334], eax
test eax, eax
je 0x42be5f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x48b330], eax
mov eax, dword [0x48b330]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42beb8
cmp dword [0x48b334], ecx
je 0x42beb8
push eax
call esi
push dword [0x48b334]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42beb8
test ebx, ebx
je 0x42beb8
call edi
test eax, eax
je 0x42beaf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42beaf
test byte [ebp - 8], 1
jne 0x42beb8
or dword [ebp + 0x10], 0x200000
jmp 0x42beeb
mov eax, dword [0x48b328]
cmp eax, dword [ebp - 0x18]
je 0x42beeb
push eax
call esi
test eax, eax
je 0x42beeb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42beeb
mov eax, dword [0x48b32c]
cmp eax, dword [ebp - 0x18]
je 0x42beeb
push eax
call esi
test eax, eax
je 0x42beeb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48b324]
call esi
test eax, eax
je 0x42bf07
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42bf09
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427f31
leave
ret