joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421aac
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 0x421ace
movzx eax, word [esp]
jmp 0x421ad0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x422794
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 0x4228b9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042259c
mov esi, eax
mov eax, dword [0x59ef60]
cmp byte [eax], 0
je 0x422861
mov eax, dword [0x59ea24]
call fcn.00404bf8
call fcn.00404810
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 [0x422764]
call fcn.004084e4
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 0x4228d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42289d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x59e988]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5a2c4c]
call fcn.004085a8
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 0x4228c0
lea eax, [ebp - 4]
mov edx, dword [0x422764]
call fcn.004084f0
ret

Function at 0x423e80
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.00406a98
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a014
mov edi, eax
cmp edi, 0x104
jbe 0x423e27
mov eax, edi
add eax, eax
call fcn.0040464c
mov esi, eax
jmp 0x423e29
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a014
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x423e64
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 0x423e4e
mov eax, esp
cmp esi, eax
je 0x423e71
mov eax, esi
call fcn.00404668
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 0x423eac
cmp bl, 0
je 0x423ea8
cmp bl, 0x41
jl 0x423ea3
cmp bl, 0x5a
jg 0x423ea3
or bl, 0x20
xor al, bl
inc esi
jmp 0x423e87
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x423de8
Function at 0x424180
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.004072ac
add esp, 0x800
pop ebx
ret

Function at 0x424444
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.004065ac
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00407200
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x424489
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00406718
jmp 0x4244a2
mov edx, ebx
dec edx
mov eax, esi
call fcn.00407318
push ebx
mov eax, dword [esi]
call fcn.00407200
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4278c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetEnvironmentStringsW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x427915
xor eax, eax
push ebp
push 0x42790e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0042b420
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427915
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsW
ret
movzx eax, byte [ebp - 1]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x427990
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004065ac
test esi, esi
jne 0x4279c6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406718
jmp 0x4279e4
call sub.kernel32.dll_GetCommandLineW_1
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00427800
mov edi, eax
test esi, esi
je 0x4279e4
cmp dword [ebx], 0
je 0x4279e4
dec esi
jmp 0x4279cd
add esp, 0x20c
pop edi
pop esi
pop ebx
ret
Function at 0x4279f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427b49
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [esi], eax
test ebx, ebx
je 0x427b2e
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004069b8
mov eax, dword [ebp - 4]
cmp word [eax], 0x22
je 0x427a52
push 0x427b68
push dword [ebp - 4]
push 0x427b68
lea eax, [ebp - 4]
mov edx, 3
call fcn.00407478
lea eax, [ebp - 8]
push eax
mov ecx, 0x427b78
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0042af80
mov eax, dword [ebp - 8]
call fcn.00407200
mov ebx, eax
lea eax, [ebp - 0x58]
mov edx, 0x44
call fcn.0042a660
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 1
lea eax, [ebp - 0x68]
mov edx, 0x10
call fcn.0042a660
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x427b2e
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x427b27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
jne 0x427aea
call fcn.00405d98
jmp 0x427b2e
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x427b07
call fcn.00405d98
jmp 0x427b2e
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b2e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b50
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407200
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x427ddc
test al, 0x10
sete al
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x427e10
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
call fcn.00407200
mov edi, eax
push edi
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x427e64
push edi
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x427e64
test edi, 1
je 0x427e64
and edi, 0xfffffffe
push edi
mov eax, esi
call fcn.00407200
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesW
push ebx
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x427e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407200
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x427e90
test eax, 0x10
seta al
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x428d20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x10], edi
test edi, edi
jne 0x428d4e
push ebp
call fcn.00428c70
pop ecx
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_LoadResource
mov edi, eax
mov dword [ebx + 0x14], edi
test edi, edi
jne 0x428d68
push ebp
call fcn.00428c70
pop ecx
mov edi, ebx
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_SizeofResource
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x42a670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
add esp, 0xffffffc8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
mov edi, dword [esp + 4]
test edi, edi
jle 0x42a7eb

Function at 0x436c40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x11], 0
je 0x436c63
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
call sub.kernel32.dll_OutputDebugStringW
pop ecx
pop ecx
pop ebp
ret

Function at 0x436ea0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x436ed5
cmp dword [ebp - 0x108], 2
jne 0x436ed5
cmp dword [ebp - 0x114], 6
jae 0x436ed9
xor eax, eax
jmp 0x436edb
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x436ef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x49]
mov edx, 0x3c
call fcn.0042a660
mov dword [ebp - 0x49], 0x3c
xor eax, eax
mov dword [ebp - 0x45], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x41], eax
mov eax, dword [ebp - 0xc]
call fcn.00407200
mov dword [ebp - 0x39], eax
mov eax, dword [ebp + 0xc]
call fcn.00407200
mov dword [ebp - 0x35], eax
mov eax, dword [ebp + 8]
call fcn.00407200
mov dword [ebp - 0x31], eax
mov dword [ebp - 0x2d], 1
mov eax, dword [ebp - 4]
call fcn.00407200
mov dword [ebp - 0x3d], eax
lea eax, [ebp - 0x49]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8
Function at 0x437b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.00407200
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00407200
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.00407200
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
call fcn.00407200
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x437bc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00437ab0
push eax
mov eax, dword [ebp + 0x10]
call fcn.00437ab0
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407200
push eax
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x437d40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437dbe
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0042538c
test al, al
je 0x437da0
push ebp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00437cf0
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00406970
push ebp
lea eax, [ebp - 0xc]
call fcn.00437c50
pop ecx
jmp 0x437da8
mov eax, dword [ebp - 8]
call fcn.004065ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437dc5
lea eax, [ebp - 0x10]
call fcn.004065ac
ret
Function at 0x43af60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov esi, eax
mov byte [esp], 0
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x43af97
and ax, 0x3ff
xor ax, 0xdc00
mov word [ebp], ax
xor eax, eax
mov dword [esi + 0x40034], eax
mov byte [esp], 1
jmp 0x43b0c9
lea edx, [esp + 1]
mov ecx, 1
mov eax, esi
call fcn.0043c680
test al, al
je 0x43b0c9
cmp byte [esp + 1], 0x80
jae 0x43afc8
movzx eax, byte [esp + 1]
mov word [ebp], ax
mov byte [esp], 1
jmp 0x43b0c9
mov edi, 1
movzx eax, byte [esp + 1]
mov dword [esi + 0x40034], eax
movzx eax, byte [esp + 1]
mov byte [esp + 2], al
mov bl, 0x40
movzx eax, byte [esp + 1]
and al, 0xc0
cmp al, 0xc0
jne 0x43b0c9
jmp 0x43b06b
lea edx, [esp + 1]
mov ecx, 1
mov eax, esi
call fcn.0043c680
test al, al
jne 0x43b019
mov edx, 0x43b0e0
mov eax, esi
call fcn.0043c760
jmp 0x43b0c9
movzx eax, byte [esp + 1]
and al, 0xc0
cmp al, 0x80
je 0x43b035
mov edx, 0x43b0e0
mov eax, esi
call fcn.0043c760
jmp 0x43b0c9
movzx eax, byte [esp + 1]
and al, 0x3f
movzx eax, al
mov edx, dword [esi + 0x40034]
shl edx, 6
or eax, edx
mov dword [esi + 0x40034], eax
inc edi
cmp edi, 6
jle 0x43b064
mov edx, 0x43b0e0
mov eax, esi
call fcn.0043c760
jmp 0x43b0c9
movzx eax, bl
shr eax, 1
mov ebx, eax
test byte [esp + 2], bl
jne 0x43aff4
mov eax, dword [edi*4 + 0x59d5e8]
and dword [esi + 0x40034], eax
cmp edi, 1
jle 0x43b0a0
mov eax, dword [edi*4 + 0x59d5e4]
cmp eax, dword [esi + 0x40034]
jb 0x43b0a0
mov edx, 0x43b0e0
mov eax, esi
call fcn.0043c760
jmp 0x43b0c9
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x43b0ba
shr eax, 0xa
add ax, 0xd7c0
mov word [ebp], ax
jmp 0x43b0c5
movzx eax, word [esi + 0x40034]
mov word [ebp], ax
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43d6a0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
lea eax, [ebx + 0x18]
xor ecx, ecx
mov edx, 0x40
call fcn.00404c5c
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4425a0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x4425ca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407200
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegDeleteKeyW
pop ecx
pop ebp
ret
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407200
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x442637
xor eax, eax
push ebp
push 0x442630
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00407200
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442637
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop ecx
pop ebp
ret
Function at 0x442b90
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
call fcn.00405340
mov ebx, edx
mov esi, eax
cmp byte [esi + 0xd], 0
jne 0x442bba
mov edx, dword [esi + 0x24]
mov eax, esi
call fcn.00442c40
test al, al
jne 0x442bba
push 1
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.00442d90
lea eax, [esi + 0x1c]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404fd4
lea eax, [esi + 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404fd4
test bl, bl
jle 0x442bf0
mov eax, esi
call fcn.004052e8
pop esi
pop ebx
ret

Function at 0x442d90
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
call fcn.00405340
mov ebx, edx
mov esi, eax
cmp dword [esi + 8], 0
je 0x442dda
cmp byte [esi + 0x18], 0
jne 0x442dda
mov eax, esi
call fcn.00442f00
cmp byte [esi + 0xc], 0
je 0x442dd3
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov edi, eax
test edi, edi
setge dl
mov eax, esi
call fcn.00442fd0
dec edi
jne 0x442dd3
mov byte [esi + 0xe], 0
mov eax, esi
call fcn.00442f10
mov eax, dword [esi + 4]
test eax, eax
je 0x442dec
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 4], eax
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.00404fc4
mov eax, dword [esi + 0x14]
call fcn.00404fd4
test bl, bl
jle 0x442e0a
mov eax, esi
call fcn.004052e8
pop edi
pop esi
pop ebx
ret

Function at 0x442e10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x442ea8
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x442e6c
cmp byte [ebx + 0x18], 0
jne 0x442e6c
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 0x442e8d
lea edx, [ebp - 4]
mov eax, dword [0x59ee70]
call fcn.00409f80
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x426928]
call fcn.004228d8
call fcn.00405ca4
jmp 0x442e8d
lea edx, [ebp - 8]
mov eax, dword [0x59ee70]
call fcn.00409f80
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x426928]
call fcn.004228d8
call fcn.00405ca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442eaf
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret
Function at 0x444290
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x59d6ec], 0
jne 0x444345
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x59d6e8]
mov dword [eax], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, 0x59d718
mov ecx, 2
call fcn.00404860
mov edx, 0x444240
mov eax, dword [ebp - 4]
add eax, 5
call fcn.00444260
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 6], edx
mov eax, dword [ebp - 4]
add eax, 0xa
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xe8
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
call fcn.00444260
mov edx, dword [ebp - 8]
mov dword [edx + 1], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x59d6ec]
mov dword [eax + 5], edx
mov eax, dword [ebp - 8]
mov dword [0x59d6ec], eax
add dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xffc
jl 0x4442fe
mov eax, dword [ebp - 4]
mov dword [0x59d6e8], eax
mov eax, dword [0x59d6ec]
mov dword [ebp - 0x10], eax
mov eax, dword [0x59d6ec]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 5]
mov dword [0x59d6ec], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x4449f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
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 0x444bbd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004069b8
cmp dword [ebp - 4], 0
je 0x444a33
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x444a33
xor eax, eax
jmp 0x444a35
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x444a50
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00407608
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.00444e40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x444b30
xor edx, edx
push ebp
push 0x444b29
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00445610
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00444ef0
test al, al
je 0x444b07
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406718
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x444b07
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
je 0x444b01
mov eax, dword [ebp - 8]
call fcn.00407200
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00407258
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004449f0
dec ebx
cmp ebx, 0xffffffff
jne 0x444aaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444b30
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00445610
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp dword [0x59d71c], 0
je 0x444b72
mov ebx, dword [ebp - 0xc]
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00444c30
push eax
call dword [0x59d71c]
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
jmp 0x444b9a
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00444c30
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444bc4
lea eax, [ebp - 0x3c]
call fcn.004065ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret