joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408f84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069c4
xor eax, eax
push ebp
push 0x4091a9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408fc4
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408fde
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407258
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409193
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4091b8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4090ad
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4091b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4090ad
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4091f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4090ad
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4091f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4090ad
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409228
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4090ad
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40925c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409193
xor eax, eax
push ebp
push 0x40918c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408d90
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40911c
mov eax, dword [ebp - 0x10]
call fcn.00404350
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004072a8
jmp 0x409167
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40929c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409167
mov eax, dword [ebp - 0x10]
call fcn.00404350
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40929c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004072a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409193
cmp dword [ebp - 8], 0
je 0x409182
mov eax, dword [ebp - 8]
call fcn.0040436c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4091b0
lea eax, [ebp - 4]
call fcn.004068e0
ret
Function at 0x4094e8
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.004069c4
xor eax, eax
push ebp
push 0x4095a8
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
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.004072e4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407494
mov eax, dword [ebx]
call fcn.004093b0
test al, al
jne 0x409585
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004072e4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407494
mov eax, dword [ebx]
call fcn.004093b0
test al, al
jne 0x409585
mov eax, ebx
call fcn.004068e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4095af
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406940
lea eax, [ebp - 4]
call fcn.004068e0
ret

Function at 0x409e94
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 0x40c6e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov esi, edx
mov ebx, eax
push esp
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40c727
mov eax, ebx
mov byte [eax], 0xe9
sub esi, ebx
sub esi, 5
mov dword [eax + 1], esi
push 5
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
push esp
mov eax, dword [esp + 4]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
pop edx
pop esi
pop ebx
ret

Function at 0x40c72c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x40c7c6
mov eax, ebx
call fcn.00404338
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c7bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
push 0
push esi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x40c7a9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c7d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x40c7a9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c7c6
mov eax, dword [ebp - 0x10]
call fcn.0040436c
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b3d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41b42d
test eax, edx
je 0x41b430
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41b3eb
movzx eax, word [eax]
sub eax, ecx
jmp 0x41b412
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 0x41b413
add ecx, 4
js 0x41b403
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41b410
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41b412
xor eax, eax
ret
test eax, eax
je 0x41b43c
test edx, edx
jne 0x41b3dc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41c28c
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.00407258
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41c2f6
test ah, 4
je 0x41c2ef
test bl, bl
jne 0x41c2b4
mov al, 1
jmp 0x41c31d
test al, 0x10
je 0x41c2bc
xor eax, eax
jmp 0x41c31d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41c2e0
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41c31d
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41c31d
test al, 0x10
sete al
jmp 0x41c31d
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41c317
cmp ebx, 3
je 0x41c317
cmp ebx, 0x7b
je 0x41c317
mov eax, esi
call fcn.0041c24c
test al, al
jne 0x41c31b
xor eax, eax
jmp 0x41c31d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41c324
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.00407258
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41c3cb
test esi, 0x400
jne 0x41c360
test esi, 0x10
setne bl
jmp 0x41c3e5
cmp byte [esp], 0
je 0x41c394
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41c3e5
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41c3e5
test esi, 0x10
je 0x41c3a0
mov bl, 1
jmp 0x41c3e5
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41c3c7
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41c3e5
mov bl, 1
jmp 0x41c3e5
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x41c3df
cmp eax, 3
je 0x41c3df
cmp eax, 0x7b
jne 0x41c3e3
xor ebx, ebx
jmp 0x41c3e5
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41f8f4
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 0x41f92d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406a48
jmp 0x41f936
mov eax, ebx
mov edx, esi
call fcn.00406ca0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41f940
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 0x41f962
movzx eax, word [esp]
jmp 0x41f964
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x420620
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 0x420745
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00420430
mov esi, eax
mov eax, dword [0x4e15a4]
cmp byte [eax], 0
je 0x4206ed
mov eax, dword [0x4e1324]
call fcn.0040480c
call fcn.004044cc
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 [0x4205f8]
call fcn.00408384
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 0x420760
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x420729
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e12b0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e4c34]
call fcn.00408478
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 0x42074c
lea eax, [ebp - 4]
mov edx, dword [0x4205f8]
call fcn.00408390
ret
Function at 0x421784
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42185a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406ce8
lea eax, [ebp - 4]
call fcn.00406e84
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407258
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x421844
mov eax, ebx
call fcn.00404350
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42183d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407258
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x421827
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42186c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x421827
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421844
mov eax, dword [ebp - 0x10]
call fcn.0040436c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421861
lea eax, [ebp - 4]
call fcn.004068e0
ret

Function at 0x422168
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.00406d90
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409e74
mov edi, eax
cmp edi, 0x104
jbe 0x422113
mov eax, edi
add eax, eax
call fcn.00404350
mov esi, eax
jmp 0x422115
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409e74
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42214e
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 0x422138
mov eax, esp
cmp esi, eax
je 0x42215b
mov eax, esi
call fcn.0040436c
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 0x422194
cmp bl, 0
je 0x422190
cmp bl, 0x41
jl 0x42218b
cmp bl, 0x5a
jg 0x42218b
or bl, 0x20
xor al, bl
inc esi
jmp 0x42216f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4220d4

Function at 0x422934
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.004072e4
add esp, 0x800
pop ebx
ret

Function at 0x42c437
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x42c446
xor eax, eax
pop edi
pop ecx
ret
mov eax, dword [edi + 0x3c]
push ebx
push ebp
push esi
mov ecx, dword [eax + edi + 0x78]
Function at 0x42c446
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x42c446
xor eax, eax
pop edi
pop ecx
ret
mov eax, dword [edi + 0x3c]
push ebx
push ebp
push esi
mov ecx, dword [eax + edi + 0x78]

Function at 0x42c4c7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov ecx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [eax + 0xc]
push esi
push edi
add ebp, 0xc
mov ebp, dword [ebp]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x42c4db
mov edx, dword [esp + 0x18]
test edx, edx
je 0x42c4ef
mov dword [edx], eax
test ecx, ecx
je 0x42c532
mov ebx, dword [ebp + 0x30]
xor esi, esi
xor edi, edi
cmp word [ebx], si
je 0x42c52e
movzx eax, word [ebx]
nop dword [eax + eax]
movzx eax, ax
mov edx, eax
lea ecx, [eax - 0x41]
cmp cx, 0x19
ja 0x42c51b
add eax, 0x20
movzx edx, ax
inc esi
movzx eax, dx
add edi, eax
movzx eax, word [ebx + esi*2]
test ax, ax
jne 0x42c507
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jne 0x42c4db
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x42c547
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
push ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
add eax, 0xc
nop dword [eax]
mov eax, dword [eax]
cmp dword [eax + 0x30], 0
je 0x42c557
push ebx
push ebp
mov ebp, dword [eax + 0x18]
push esi
mov esi, dword [eax + 0x30]
mov eax, dword [0x4df794]
push edi
push 0
push eax
call fcn.0042c4c7
mov edi, dword [0x4df78c]
add esp, 8
mov ebx, eax
cmp dword [edi], 0
je 0x42c5dc
movzx eax, word [esi]
xor ecx, ecx
test ax, ax
je 0x42c59f
nop dword [eax]
inc ecx
cmp word [esi + ecx*2], 0
jne 0x42c597
cmp cl, byte [edi]
je 0x42c5b0
cmp cl, byte [edi + 1]
je 0x42c5b0
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
xor edx, edx
xor ecx, ecx
test ax, ax
je 0x42c5ca
movzx eax, ax
lea ecx, [ecx + 1]
add edx, eax
movzx eax, word [esi + ecx*2]
test ax, ax
jne 0x42c5b9
cmp edx, dword [edi + 4]
je 0x42c5dc
cmp edx, dword [edi + 8]
je 0x42c5dc
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, dword [0x4df784]
push 4
push 0x1000
push eax
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
xor edx, edx
mov esi, eax
cmp dword [0x4df790], edx
jbe 0x42c622
nop
mov ecx, dword [0x4df77c]
mov ecx, dword [ecx + edx]
mov dword [edx + esi], ecx
mov eax, dword [0x4df7ac]
add edx, eax
cmp edx, dword [0x4df790]
jb 0x42c607
push esi
push ebx
call fcn.0042c437
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42c6b1
mov esi, dword [0x4df778]
lea eax, [esp + 0x10]
mov ecx, dword [0x4df790]
push eax
push ecx
mov ecx, dword [0x4df7a4]
push ecx
push esi
call ebx
mov edx, dword [0x4df798]
mov ecx, 8
mov edi, dword [edx + ebp + 4]
add edx, ebp
cmp dword [0x4df7a4], ecx
jbe 0x42c67e
mov eax, dword [edx + ecx]
add eax, edi
mov dword [esi + ecx], eax
mov eax, dword [0x4df7ac]
add ecx, eax
cmp ecx, dword [0x4df7a4]
jb 0x42c667
mov eax, dword [0x4df7a8]
mov dword [esi + 8], eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
mov eax, dword [0x4df7a4]
push eax
push esi
call ebx
mov eax, dword [0x4df79c]
mov ecx, dword [esi + 0xc]
add ecx, eax
mov eax, dword [0x4df79c]
add ecx, esi
add esi, eax
push esi
call ecx
add esp, 4
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x446764
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x446802
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4467c6
cmp byte [ebx + 0x10], 0
jne 0x4467c6
cmp byte [ebx + 0x3c], 0
jne 0x4467c6
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4467e7
lea edx, [ebp - 4]
mov eax, dword [0x4e1540]
call fcn.00409de0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4367bc]
call fcn.00420764
call fcn.00405fe4
jmp 0x4467e7
lea edx, [ebp - 8]
mov eax, dword [0x4e1540]
call fcn.00409de0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4367bc]
call fcn.00420764
call fcn.00405fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446809
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406940
ret
Function at 0x447110
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x44715e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004466b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x447177
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x447180
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004466b0
dec esi
jne 0x4471a2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x449068
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e6f98
cmp dword [edi], 0
jne 0x4490e4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e6f94]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4dfff4
mov ecx, 2
call fcn.0040451c
mov edx, 0x449040
lea eax, [esi + 5]
call fcn.00449060
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00449060
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4490b9
mov dword [0x4e6f94], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44945c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
lea eax, [esp + 4]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x449496
mov dword [ebx], esi
push esp
mov eax, dword [esp + 8]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
push 4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44d2b8
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 0x44d433
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406ce8
mov eax, dword [ebp - 4]
call fcn.0044cc18
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x44d30a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040764c
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.0044deac
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44d3e9
xor eax, eax
push ebp
push 0x44d3e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044ceb8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044d468
test al, al
je 0x44d3c0
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406a48
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x44d3c0
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.00407258
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.0044ce18
test al, al
je 0x44d3ba
mov eax, dword [ebp - 8]
call fcn.00407258
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004072a8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0044d2b8
dec ebx
cmp ebx, 0xffffffff
jne 0x44d369
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d3e9
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044ceb8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00407258
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044cea4
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044ce18
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d43a
lea eax, [ebp - 0x3c]
call fcn.004068e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406940
ret

Function at 0x44dd88
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.0044cc30
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.00407258
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044ce18
test al, al
jne 0x44ddf0
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e1490]
mov dl, 1
mov eax, dword [0x44ba3c]
call fcn.00420968
call fcn.00405fe4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8