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

Disassembly:
sub esp, 0x60
push ebx
push edi
mov edi, dword [esp + 0x6c]
mov ebx, ecx
test edi, edi
jge 0x410009
pop edi
xor eax, eax
pop ebx
add esp, 0x60
ret 0xc
mov eax, dword [0x4bcc04]
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x70], eax
mov eax, dword [0x4c4658]
push str.WinIEImageExplorer.exe
push eax
lea ecx, [esp + 0x18]
push str._s_s
push ecx
call fcn.0047b553
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
add esp, 0x10
test esi, esi
jne 0x410062
test eax, eax
jne 0x41006a
push edi
lea edx, [esp + 0x74]
push str._MULTIPLE__DISK__d
push edx
call fcn.0047b553
add esp, 0xc
jmp 0x410130
test eax, eax
je 0x41011c
push eax
lea ecx, [esp + 0x7c]
call fcn.0047e552
push 0x4ba270
push 0x4ba5c4
lea ecx, [esp + 0x80]
call fcn.0047ae8f
lea ecx, [esp + 0x78]
call fcn.0047b5fb
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x5c
jne 0x4100cc
cmp byte [eax + 1], 0x5c
je 0x4100cc
lea eax, [esp + 0x74]
push 1
push eax
lea ecx, [esp + 0x80]
call fcn.0047b043
push eax
lea ecx, [esp + 0x7c]
call fcn.0047e61d
lea ecx, [esp + 0x74]
call fcn.0047e4e4
mov eax, dword [esp + 0x78]
mov cl, byte [eax + 1]
cmp cl, 0x3a
je 0x4100fe
cmp byte [eax], 0x5c
jne 0x4100de
cmp cl, 0x5c
je 0x4100fe
push eax
push esi
push edi
lea ecx, [esp + 0x7c]
push str._MULTIPLE__ARCHIVE___d_u_s_
push ecx
call fcn.0047b553
add esp, 0x14
lea ecx, [esp + 0x78]
call fcn.0047e4e4
jmp 0x410130
push eax
lea edx, [esp + 0x74]
push str._MULTIPLE__ARCHIVE___s_
push edx
call fcn.0047b553
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.0047e4e4
jmp 0x410130
push esi
push edi
lea eax, [esp + 0x78]
push str._MULTIPLE__DISK__d_u
push eax
call fcn.0047b553
add esp, 0x10
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], 0x44
rep stosd dword es:[edi], eax
mov ecx, dword [0x4bcc04]
lea edx, [esp + 0x10]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x10]
mov word [esp + 0x5c], 0xa
call fcn.0047e259
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0047b1f0
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x14]
call fcn.0047b178
push eax
lea ecx, [esp + 0x10]
call fcn.0047e61d
lea ecx, [esp + 0x78]
call fcn.0047e4e4
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s__s
push eax
call fcn.0047b553
mov eax, dword [esp + 0x1c]
add esp, 0x10
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x410211
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0xc8]
lea ecx, [ebx + 0xc0]
push eax
push edx
call fcn.0047d481
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
lea ecx, [esp + 0xc]
call fcn.0047e4e4
lea ecx, [esp + 0x14]
call fcn.0047e4e4
lea ecx, [esp + 0x70]
call fcn.0047e4e4
lea ecx, [esp + 0x10]
call fcn.0047e4e4
mov eax, esi
pop esi
pop edi
pop ebx
add esp, 0x60
ret 0xc
Function at 0x416670
Capabilities:
Get common file path

Disassembly:
push ecx
mov eax, dword [0x4c46fc]
test eax, eax
jne 0x4166f2
mov eax, dword [0x4bcc04]
push esi
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0047e914
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0047e963
push str.winhlp32.exe
lea ecx, [esp + 8]
call fcn.0047e8c0
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4166e1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4166e1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [0x4c46fc], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 4]
call fcn.0047e4e4
pop esi
pop ecx
ret

Function at 0x416700
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x416762
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x11c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x416930
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebx
push 0
push 0
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x416a15
lea eax, [esp + 0x10]
push eax
push str..htm
push SysReAllocStringLen
call fcn.00416700
test eax, eax
jne 0x416a15
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push str._shellopencommand
push ecx
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push eax
push SysReAllocStringLen
call fcn.00416700
test eax, eax
jne 0x416a15
lea ecx, [esp + 0x10]
push str.__1_
push ecx
call fcn.00466970
mov esi, eax
add esp, 8
test esi, esi
jne 0x4169ed
lea edx, [esp + 0x10]
push 0x4ba994
push edx
call fcn.00466970
mov esi, eax
add esp, 8
test esi, esi
jne 0x4169ed
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4169f0
mov byte [esi], 0
push 0x4ba4d8
push esi
call edi
push ebp
push esi
call edi
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x416b70
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x468
push ebx
push ebp
mov ebp, dword [esp + 0x474]
lea eax, [esp + 0x28]
push esi
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], 0x4ba270
mov dword [esp + 0x34], str.Resource_
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 2
push ebp
lea ecx, [esp + 0x1c]
call fcn.0047e552
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx]
lea ecx, [esp + 0x18]
push ebx
call fcn.0047e8c0
push 0x4ba9d0
lea ecx, [esp + 0x1c]
call fcn.0047e8c0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x2c], esi
je 0x416d90
push 3
lea ecx, [esp + 0x68]
push 0x4ba9cc
push ecx
call fcn.00475430
add esp, 0xc
test eax, eax
je 0x416d75
push ebp
lea ecx, [esp + 0x14]
call fcn.0047e552
push 0x4ba270
lea ecx, [esp + 0x14]
call fcn.0047e8c0
push ebx
lea ecx, [esp + 0x14]
call fcn.0047e8c0
lea edx, [esp + 0x64]
lea ecx, [esp + 0x10]
push edx
call fcn.0047e8c0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416d6c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetResHandle
push edi
call esi
test eax, eax
je 0x416d61
push str.DllGetLangInfo
push edi
call esi
xor esi, esi
cmp eax, esi
je 0x416d61
lea ecx, [esp + 0x278]
push pe_nt_image_headers32
lea edx, [esp + 0x17c]
push ecx
push edx
lea ecx, [esp + 0x384]
lea edx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x38], esi
call eax
cmp eax, dword [esp + 0x480]
jb 0x416d61
push 0x14
call fcn.0047ec12
add esp, 4
cmp eax, esi
je 0x416cdd
mov ecx, dword [0x4bcc04]
mov esi, eax
mov dword [eax], ecx
mov edx, dword [0x4bcc04]
mov dword [eax + 4], edx
mov ecx, dword [0x4bcc04]
mov dword [eax + 8], ecx
mov edx, dword [0x4bcc04]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0047e61d
lea ecx, [esp + 0x378]
push ecx
lea ecx, [esp + 0x18]
call fcn.0047e552
lea edx, [esp + 0x14]
lea ecx, [esi + 4]
push edx
call fcn.0047e61d
lea eax, [esp + 0x178]
lea ecx, [esp + 0x14]
push eax
call fcn.0047e66d
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 8]
call fcn.0047e61d
lea edx, [esp + 0x278]
lea ecx, [esp + 0x14]
push edx
call fcn.0047e66d
lea eax, [esp + 0x14]
lea ecx, [esi + 0xc]
push eax
call fcn.0047e61d
mov ecx, dword [esp + 0x24]
push esi
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 8]
push edx
call fcn.0047d481
lea ecx, [esp + 0x14]
call fcn.0047e4e4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
call fcn.0047e4e4
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x416bec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x18]
call fcn.0047e4e4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
add ecx, 4
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
jne 0x416ba5
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov eax, dword [ecx + 8]
pop ebx
add esp, 0x468
ret 8
Function at 0x41d0e0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x70
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov esi, ecx
push str._CMainFrame::OnInitialize__Enter
call ebx
xor edi, edi
mov ecx, esi
mov dword [esi + 0x2c4], edi
call fcn.004246f0
cmp dword [esi + 0x2d0], edi
je 0x41d13b
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x2d0], edi
call fcn.00423290
push str._CMainFrame::OnInitialize__Leave__1_
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x70
ret 8
push ebp
mov ecx, esi
call fcn.00424970
mov eax, dword [esi + 0x2e4]
xor ebp, ebp
or ebx, 0xffffffff
cmp eax, edi
je 0x41d165
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x4c]
cmp ecx, 2
jne 0x41d162
mov ebx, dword [eax + 0x50]
jmp 0x41d165
or ebx, 0xffffffff
mov ecx, dword [0x4c4fbc]
push 1
push edi
call fcn.004336d0
mov ecx, dword [0x4c46f8]
call fcn.00411cc0
mov ecx, dword [0x4c7bb0]
call fcn.0044e9e0
lea ecx, [esp + 0x10]
call fcn.00440230
lea ecx, [esp + 0x10]
call fcn.004408c0
test ebp, ebp
mov edi, eax
jle 0x41d1af
lea ecx, [esp + 0x10]
call fcn.004408f0
dec ebp
mov edi, eax
jne 0x41d1a1
test edi, edi
pop ebp
je 0x41d1fb
test ebx, ebx
jl 0x41d1d3
mov ecx, edi
call fcn.00440870
test ebx, ebx
jle 0x41d1cd
mov ecx, edi
call fcn.004408a0
dec ebx
jne 0x41d1c3
test eax, eax
je 0x41d1d3
mov edi, eax
mov ecx, dword [0x4c46f8]
push edi
call fcn.00411960
mov ecx, dword [0x4c4fbc]
push 1
push edi
call fcn.004336d0
mov ecx, dword [0x4c4fbc]
push 1
push edi
call fcn.004338f0
mov eax, dword [esi + 0x2d4]
mov edi, dword [esp + 0x84]
test eax, eax
jne 0x41d232
mov eax, dword [esp + 0x80]
dec eax
jne 0x41d232
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push 0
push edi
mov ecx, esi
call fcn.0041f9e0
test edi, edi
mov dword [esi + 0x188], 1
mov dword [esi + 0x2d4], 0
je 0x41d252
push edi
mov ecx, esi
call fcn.00421d40
push str._CMainFrame::OnInitialize__Leave__2_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x2c]
call fcn.0047e4e4
lea ecx, [esp + 0x28]
call fcn.0047e4e4
lea ecx, [esp + 0x24]
call fcn.0047e4e4
lea ecx, [esp + 0x20]
call fcn.0047e4e4
lea ecx, [esp + 0x1c]
call fcn.0047e4e4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x70
ret 8
Function at 0x41d510
Capabilities:
Print debug messages

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, ecx
push str._CMainFrame::RunTask__Enter
call edi
mov eax, dword [0x4bab60]
test eax, eax
je 0x41d565
mov ecx, esi
call fcn.0041fc40
test eax, eax
jne 0x41d565
mov ecx, 0x4c5150
call fcn.00448430
test eax, eax
jne 0x41d54b
mov ecx, esi
call fcn.0041d3b0
push 0
push 0
mov ecx, esi
call fcn.0041d0e0
push str._CMainFrame::RunTask__Leave
call edi
xor eax, eax
pop edi
pop esi
pop ecx
ret 4
mov ecx, esi
call fcn.00425d40
test eax, eax
jne 0x41d576
pop edi
pop esi
pop ecx
ret 4
push ecx
mov dword [esi + 0x188], 0
mov ecx, esp
mov dword [esi + 0x2d0], 1
push 0x4babec
add esi, 0x2d8
call fcn.0047e552
push esi
mov ecx, 0x4c5150
call fcn.00446650
push ecx
mov ecx, esp
push esi
call fcn.0047e259
call fcn.0042a6a0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push 0
push ecx
push 0x440920
push 0
push 0
call fcn.004666d0
add esp, 0x18
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._CMainFrame::RunTask__Leave
call edi
xor eax, eax
pop edi
test esi, esi
setne al
pop esi
pop ecx
ret 4
Function at 0x41f9e0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x17c
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x2dc]
test eax, eax
jne 0x41fa01
pop esi
xor eax, eax
pop ebx
add esp, 0x17c
ret 8
mov eax, dword [0x4bcc04]
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0
call fcn.0042a1f0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41fc1a
call fcn.0041b9e0
test eax, eax
jne 0x41fa4c
lea ecx, [esp + 8]
call fcn.0047e4e4
pop esi
xor eax, eax
pop ebx
add esp, 0x17c
ret 8
push edi
push 0x4c2378
lea ecx, [esp + 0x18]
call fcn.0047e552
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x3c]
mov edx, dword [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4bcc04]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
push edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x20]
push str.SMTP:_s
push eax
mov dword [esp + 0x28], ecx
call fcn.0047b553
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [0x4bcc04]
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x28]
mov esi, 1
push 0x780
push edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], eax
call fcn.0047b566
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x54]
mov dword [esp + 0x88], eax
mov eax, dword [0x4bcc04]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1a8]
add esp, 0x18
lea ecx, [esp + 0x24]
test eax, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], edx
pop edi
je 0x41fb23
lea ecx, [ebx + 0x2d8]
push ecx
call fcn.0042a620
mov eax, dword [esp + 0x188]
test eax, eax
je 0x41fb4a
mov edx, dword [ebx + 0x2d8]
push eax
push edx
lea eax, [esp + 0x14]
push 0x782
push eax
call fcn.0047b566
add esp, 0x10
jmp 0x41fb63
mov ecx, dword [ebx + 0x2d8]
lea edx, [esp + 0xc]
push ecx
push 0x781
push edx
call fcn.0047b566
add esp, 0xc
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x80]
push ecx
push 0x104
mov dword [esp + 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
lea edx, [esp + 0x54]
push 0
push edx
push 0
push 0
call dword [0x4c4758]
mov esi, eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test esi, esi
je 0x41fbf6
cmp esi, 1
je 0x41fbf6
push ebx
push 0x30
push 0x4c2178
push 0x635
call fcn.00441020
lea ecx, [esp + 0xc]
call fcn.0047e4e4
lea ecx, [esp + 0x14]
call fcn.0047e4e4
lea ecx, [esp + 0x18]
call fcn.0047e4e4
lea ecx, [esp + 0x10]
call fcn.0047e4e4
lea ecx, [esp + 8]
call fcn.0047e4e4
pop esi
xor eax, eax
pop ebx
add esp, 0x17c
ret 8
lea ecx, [esp + 0xc]
call fcn.0047e4e4
lea ecx, [esp + 0x14]
call fcn.0047e4e4
lea ecx, [esp + 0x18]
call fcn.0047e4e4
lea ecx, [esp + 0x10]
call fcn.0047e4e4
lea ecx, [esp + 8]
call fcn.0047e4e4
pop esi
mov eax, 1
pop ebx
add esp, 0x17c
ret 8
Function at 0x43cbe0
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push esi
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0x20006
push 0
push str.Options
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
test esi, esi
sete al
pop esi
pop ecx
ret 0xc

Function at 0x43cc50
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
lea eax, [esp]
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0x20006
push 0
push str.Options
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x10]
push 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret 0xc

Function at 0x43ccb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0x20019
push 0
push str.Options
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 8], 4
jne 0x43cd2a
test esi, esi
jne 0x43cd2a
mov eax, dword [esp + 0xc]
pop esi
add esp, 0x10
ret 8
or eax, 0xffffffff
pop esi
add esp, 0x10
ret 8

Function at 0x43cd40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x18]
lea eax, [esp]
lea ecx, [esp + 0x18]
push esi
push eax
push ecx
push 0
push 0x20019
push 0
push 0x4c2d68
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x18]
lea edx, [esp + 8]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret 0x10
Function at 0x43cdb0
Capabilities:
Delete registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4c2d68
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x43cde5
xor eax, eax
pop ecx
ret 8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret 8

Function at 0x43ce10
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 0x14]
lea eax, [esp]
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0x20006
push 0
push str.Options
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret 0x10

Function at 0x43ce80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x18]
lea eax, [esp]
lea ecx, [esp + 0x18]
push esi
push eax
push ecx
push 0
push 0x20019
push 0
push 0x4c2d68
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edx, [esp + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret 0x10
Function at 0x43d520
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4bcc04]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1c]
not ecx
dec ecx
test eax, eax
mov esi, ecx
je 0x43d5e2
inc esi
lea edi, [ebx + 0x21c]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0047fb6b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
lea edx, [eax + esi + 1]
push edx
call fcn.0047e914
lea ecx, [esi - 1]
mov dword [esp + 0x18], eax
push ecx
push ebp
push eax
call fcn.00466bf0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add edx, eax
add esp, 0xc
lea ecx, [esp + 0x10]
lea eax, [edx + esi]
push 0xffffffffffffffff
mov byte [eax - 1], 0xd
mov byte [eax], 0xa
mov byte [eax + 1], 0
call fcn.0047e963
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004822f8
mov edx, dword [ebx + 0x238]
push 0x64
push 0
push 0xb6
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
call fcn.0047e4e4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov al, byte [esi + ebp - 1]
cmp al, 0xa
je 0x43d54f
cmp al, 0xd
jne 0x43d5d1
push ebp
lea ecx, [esp + 0x1c]
mov byte [esi + ebp - 1], 0
call fcn.0047e552
lea ecx, [ebx + 0x64]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0047e8fc
mov edx, dword [esp + 0x18]
lea ecx, [ebx + 0x258]
push edx
call fcn.004822f8
lea ecx, [esp + 0x18]
mov byte [esi + ebp - 1], 0xd
call fcn.0047e4e4
lea ecx, [esp + 0x10]
call fcn.0047e4e4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x43faa0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x120]
mov dword [esi + 0x5c], 0
test eax, eax
je 0x43fae0
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43fad6
mov eax, dword [esi + 0x120]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x120], 0
pop esi
ret
Function at 0x4413e0
Capabilities:
Create service

Disassembly:
push esi
push edi
xor edi, edi
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x441474
mov eax, dword [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x14]
call fcn.0047e259
push str.BioNT_bs.sys
lea ecx, [esp + 0x14]
call fcn.0047e8c0
push edi
push edi
mov ecx, dword [esp + 0x18]
push edi
push edi
push edi
push ecx
push 1
push 3
push 1
push 0xf01ff
push str.BioNT_BS
push str.BioNT_BS
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x44144e
push eax
mov edi, 1
call ebx
jmp 0x441460
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x441460
mov edi, 1
push esi
call ebx
lea ecx, [esp + 0x10]
call fcn.0047e4e4
mov eax, edi
pop ebx
pop edi
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f5f0
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x441850
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, eax
mov dl, byte [eax]
test dl, dl
je 0x441869
xor dl, 0xa
mov byte [ecx], dl
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x44185c
ret 4