joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4104e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x48], 0x44
push 0x10
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.004b7bc0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x555a8c
lea ecx, [ebp - 0x828]
push ecx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0x828]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41055e
jmp 0x41058f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x82c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret

Function at 0x4105a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x3c], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x30], str.runas
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x20], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4105fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410a50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x11c
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, byte [ebp - 6]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
push 0x555c8c
call fcn.00410af0
add esp, 0x10
cmp dword [ebp - 0x11c], 6
jb 0x410ad5
cmp dword [ebp - 0x118], 2
jne 0x410ad5
movzx eax, byte [ebp - 6]
cmp eax, 1
jne 0x410ad5
mov eax, 1
jmp 0x410ad7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x410af0
Capabilities:
Check if file exists
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0x1f4
xor eax, eax
mov word [ebp - 0x3f4], ax
push 0x3e6
push 0
lea eax, [ebp - 0x3f2]
push eax
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x5fc], ax
push 0x206
push 0
lea eax, [ebp - 0x5fa]
push eax
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x804], ax
push 0x206
push 0
lea eax, [ebp - 0x802]
push eax
call fcn.004b7bc0
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
push eax
push str._s_service_log.txt
lea ecx, [ebp - 0x5fc]
push ecx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp + 0xc]
mov dword [ebp - 0x808], eax
mov eax, dword [ebp - 0x808]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
sub edx, 1
push edx
lea eax, [ebp - 0x3f4]
push eax
call fcn.004bcfd6
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ebp + ecx*2 - 0x3f6], ax
mov dword [ebp - 0x80c], 0
lea eax, [ebp - 0x5fc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410bf3
mov dword [ebp - 0x80c], 1
push 0x555ca0
lea eax, [ebp - 0x5fc]
push eax
call fcn.004bceeb
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x410cc5
cmp dword [ebp - 0x80c], 0
jne 0x410c40
mov eax, 0xfeff
mov word [ebp - 0x810], ax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 1
lea ecx, [ebp - 0x810]
push ecx
call fcn.004bcda3
add esp, 0x10
lea eax, [ebp - 0x3f4]
push eax
call fcn.004b7b43
add esp, 4
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x814]
shl ecx, 1
push ecx
push 1
lea edx, [ebp - 0x3f4]
push edx
call fcn.004bcda3
add esp, 0x10
mov eax, 0xd
mov word [ebp - 0x818], ax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 1
lea ecx, [ebp - 0x818]
push ecx
call fcn.004bcda3
add esp, 0x10
mov eax, 0xa
mov word [ebp - 0x818], ax
mov eax, dword [ebp - 0xc]
push eax
push 2
push 1
lea ecx, [ebp - 0x818]
push ecx
call fcn.004bcda3
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bcbc5
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x4112a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4112ff
mov dword [ebp - 8], 1
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4112e3
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x411850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5467dc
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.0040ba90
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x57ce6c]
add esp, 4
lea eax, [ebp - 0x4f8]
push eax
call dword [0x57ce68]
add esp, 4
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x500]
call dword [0x57ce64]
push eax
call dword [0x57ce60]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f8]
call dword [0x57ce5c]
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea eax, [ebp - 0x220]
push eax
call fcn.00401d20
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea eax, [ebp - 0x426]
push eax
call fcn.004b7bc0
add esp, 0xc
push str.skin.zip
lea eax, [ebp - 0x220]
push eax
push 0x555f3c
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.004b7b04
add esp, 0x14
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411978
push 0
push str.skin.zip
call dword [0x57ce58]
add esp, 8
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x42c], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, 0x5b4084
call fcn.004189a0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jge 0x4119c9
xor eax, eax
jmp 0x411a88
call fcn.00417430
mov dword [ebp - 0x4fc], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4fc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4fc]
mov eax, dword [edx + 0x88]
call eax
mov dword [ebp - 0x434], 0x180
push 0
push 0x320
push 0x258
push 0
push 0
mov eax, dword [ebp - 0x434]
push eax
push 0x10cf0000
push 0x555f48
push 0
call fcn.00417430
mov ecx, eax
call dword [0x57ce54]
call fcn.00417430
mov ecx, eax
call dword [0x57ce50]
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x411a4b
call fcn.00417430
mov ecx, eax
call fcn.00438f10
jmp 0x411a57
call fcn.00417430
mov ecx, eax
call fcn.00438ea0
call dword [0x57ce4c]
call dword [0x57ce48]
mov ecx, 0x5b4084
call fcn.00418a60
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret 8
Function at 0x411ab0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x411b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x411c20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411b30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, 1
test eax, eax
je 0x411c0c
call fcn.0040b8d0
mov ecx, eax
call fcn.004068c0
test eax, eax
je 0x411bfc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea eax, [ebp - 0x210]
push eax
call fcn.00401d20
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.004b7bc0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push str._sVstart64.exe
lea ecx, [ebp - 0x418]
push ecx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
call fcn.004112a0
add esp, 4
test eax, eax
jne 0x411bfc
push 0
push 0
push 0
lea eax, [ebp - 0x418]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x411b49
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x411c50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x87c
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.004b7bc0
add esp, 0xc
movzx eax, word [ebp - 0x12]
push eax
movzx ecx, word [ebp - 0x16]
push ecx
movzx edx, word [ebp - 0x18]
push edx
push 0x556018
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.004b7b04
add esp, 0x18
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea eax, [ebp - 0x428]
push eax
call fcn.00401d20
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
xor eax, eax
mov word [ebp - 0x630], ax
push 0x206
push 0
lea eax, [ebp - 0x62e]
push eax
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x838], ax
push 0x206
push 0
lea eax, [ebp - 0x836]
push eax
call fcn.004b7bc0
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push str._sSoftApp.ini
lea ecx, [ebp - 0x630]
push ecx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x630]
push eax
push 0x104
lea ecx, [ebp - 0x838]
push ecx
push 0x556014
push str.UpdConfDate
push str.ControlConf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x838]
push ecx
call fcn.004bb23d
add esp, 8
xor edx, edx
test eax, eax
setl dl
mov byte [ebp - 0x839], dl
lea eax, [ebp - 0x220]
push eax
movzx ecx, byte [ebp - 0x839]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ecx, dword [ebp - 8]
call fcn.00411e00
lea eax, [ebp - 0x220]
push eax
movzx ecx, byte [ebp - 0x839]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ecx, dword [ebp - 8]
call fcn.00412e40
lea eax, [ebp - 0x220]
push eax
movzx ecx, byte [ebp - 0x839]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ecx, dword [ebp - 8]
call fcn.004139c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x414b50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea eax, [ebp - 0x210]
push eax
call fcn.00401d20
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x620], ax
push 0x206
push 0
lea eax, [ebp - 0x61e]
push eax
call fcn.004b7bc0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push str._sConfig.ini
lea ecx, [ebp - 0x418]
push ecx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x104
lea ecx, [ebp - 0x620]
push ecx
push 0x556014
push 0x556880
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x620]
push eax
call fcn.004ba9cf
add esp, 4
test eax, eax
jne 0x414c53
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 8]
call fcn.00414c70
lea eax, [ebp - 0x418]
push eax
push 0x55687c
push 0x556880
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x416840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546c18
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x3c], 0
je 0x416885
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x41]
test ecx, ecx
jne 0x416891
mov al, 1
jmp 0x416a58
mov dword [ebp - 0x18], 8
call fcn.00417d60
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xa8], eax
call fcn.00417d60
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00417d40
add esp, 8
movzx eax, al
test eax, eax
je 0x4168e0
xor al, al
jmp 0x416a58
push 0
push 8
lea ecx, [ebp - 0x38]
call fcn.00415e40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00415ec0
mov ecx, eax
call fcn.00416b50
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.00405170
add esi, eax
push esi
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x38]
call fcn.00415ec0
mov ecx, eax
call fcn.00416b50
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x44
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x3c]
call fcn.00416e90
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x41696d
cmp dword [ebp - 0xac], 1
je 0x416974
cmp dword [ebp - 0xac], 3
je 0x416a14
jmp 0x416a2c
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x41], 0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x38]
call fcn.00415ec0
mov ecx, eax
call fcn.00416b50
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x3c], ecx
je 0x4169dd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 1
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x38]
call fcn.00415ec0
mov ecx, eax
call fcn.00416b50
push eax
call fcn.004bcda3
add esp, 0x10
cmp dword [ebp - 0x3c], eax
je 0x4169dd
mov byte [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00404a70
mov al, byte [ebp - 0x80]
jmp 0x416a58
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x41]
test ecx, ecx
jne 0x416a00
mov byte [ebp - 0x7f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00404a70
mov al, byte [ebp - 0x7f]
jmp 0x416a58
cmp dword [ebp - 0x3c], 0
jne 0x416a12
push 0
push 8
lea ecx, [ebp - 0x38]
call fcn.00410dc0
jmp 0x416a44
mov byte [ebp - 0x7e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00404a70
mov al, byte [ebp - 0x7e]
jmp 0x416a58
mov byte [ebp - 0x7d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00404a70
mov al, byte [ebp - 0x7d]
jmp 0x416a58
jmp 0x4168f3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x41d160
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.0041ce80
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041d0f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41d1c5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x10]
call fcn.0041ceb0
mov eax, dword [ebp - 0x26c]
jmp 0x41d253
mov dword [ebp - 0x20], pe_nt_image_headers32
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41d22b
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d160
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41d222
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x10]
call fcn.0041ceb0
mov eax, dword [ebp - 0x268]
jmp 0x41d253
mov dword [ebp - 0x20], pe_nt_image_headers32
jmp 0x41d1cc
lea ecx, [ebp - 0x10]
call fcn.0041d020
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0041cf60
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x10]
call fcn.0041ceb0
mov eax, dword [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret 4
Function at 0x41d8a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x41d8ac
xor eax, eax
jne 0x41d8ac
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41d8cd
mov eax, 0xd
jmp 0x41d928
xor eax, eax
jne 0x41d8b4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 1
jne 0x41d8de
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42a270
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547d40
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5b2390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x28]
call fcn.004a30db
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00498662
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push 0
push 0x9001
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.004a354f
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x42a357
cmp dword [ebp + 0xc], 0
jle 0x42a357
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.004a2f90
mov dword [ebp - 0x34], 4
push 2
mov eax, dword [ebp - 0x34]
neg eax
cdq
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.004a2e5e
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
jne 0x42a357
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
push ecx
lea ecx, [ebp - 0x28]
call fcn.004a2e11
jmp 0x42a37b
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0042d0e0
cmp dword [ebp - 0x24], 0
je 0x42a3a2
cmp dword [ebp - 0x24], 0xffffffff
je 0x42a3a2
lea ecx, [ebp - 0x28]
call fcn.004a3075
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004a31e3
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42d300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x42d330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret