joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456e60
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456e72
add esp, 0xfffffff0
call fcn.00403bfc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041de6c
mov eax, dword [0x487160]
mov dword [eax + 4], ebx
mov dword [eax], 0x457204
mov eax, dword [0x48716c]
mov dword [eax + 4], ebx
mov dword [eax], 0x457210
mov eax, ebx
call fcn.0045721c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41595c]
call fcn.004038a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41595c]
call fcn.004038a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41595c]
call fcn.004038a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41595c]
call fcn.004038a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41595c]
call fcn.004038a8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x452c98
push eax
push 0
push 0
mov eax, dword [0x4872e8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421acc]
call fcn.004232e8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421acc]
call fcn.004232e8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421acc]
call fcn.004232e8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045764c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45751c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45751c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45751c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456faf
call fcn.00403c54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457300
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 0x4574ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45748c
mov dl, 1
mov eax, dword [0x415d80]
call fcn.004038a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404704
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45747b
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.0044a2a4
test al, al
je 0x45746e
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, 0x4574bc
lea eax, [ebp - 0x254]
call fcn.004098f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45746e
xor eax, eax
push ebp
push 0x457467
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 0x4574f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457450
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404974
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 0x457450
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45746e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457371
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419c34
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 0x4574b2
lea eax, [ebp - 0x260]
call fcn.00404704
ret

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

Disassembly:
push ecx
mov eax, dword [0x48b588]
cmp byte [eax + 0xad], 0
jne 0x457e95
cmp dword [0x48b5a0], 0
jne 0x457e56
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457de0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48b5a0], eax
cmp dword [0x48b59c], 0
jne 0x457e71
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48b59c], eax
cmp dword [0x48b5a4], 0
jne 0x457e95
push esp
push 0
push 0
push 0x457d84
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48b5a4], eax
pop edx
ret
Function at 0x458068
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45807f
add esp, 0xfffffff0
call fcn.00403bfc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041de6c
mov eax, dword [0x4872cc]
cmp word [eax + 2], 0
jne 0x4580a7
mov eax, dword [0x4872cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459b18
mov eax, dword [0x48738c]
cmp word [eax + 2], 0
jne 0x4580c1
mov eax, dword [0x48738c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459d24
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41595c]
call fcn.004038a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41595c]
call fcn.004038a8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41595c]
call fcn.004038a8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4225a4]
call fcn.0042a44c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x458278
mov eax, dword [0x4871d0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a820
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a3e4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4871d0]
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.0040d1c8
test eax, eax
je 0x4581c8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409298
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1fc
test eax, eax
je 0x4581dc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404974
mov byte [ebx + 0xd4], 0
push ebx
push 0x459678
call fcn.0041efe8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x487094]
cmp byte [eax], 0
jne 0x45822d
mov eax, ebx
call fcn.004583bc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045a5c0
mov eax, ebx
call fcn.0045b120
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45826d
call fcn.00403c54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45863c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48b588]
cmp dword [eax + 0x30], 0
je 0x4586e6
cmp dword [ebx + 0x94], 0
jne 0x4586e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4585cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4586e0
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 0x4586a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4586e0
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.00417d90
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4586b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459400
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x459435
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.004047f4
jmp 0x459442
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404758
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a7a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a812
mov eax, esi
call fcn.00445018
test al, al
je 0x45a812
mov eax, dword [ebx + 0x84]
call fcn.00444ca4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a812
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45a806
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444ca4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043d098
jmp 0x45a812
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045a5e0
pop esi
pop ebx
ret
Function at 0x464b58
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x464b86
mov eax, ebx
call fcn.0046560c
cmp dword [ebx + 0x40], 0
je 0x464b7f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x464bf7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x464be9
cmp dword [ebx + 8], 0
je 0x464ba8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x464bba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x464be9
cmp dword [ebx + 8], 0
je 0x464b9b
cmp eax, 3
je 0x464bcd
dec eax
jne 0x464b9b
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 0x464b9b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x464b9b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x464c15
cmp dword [ebx + 0x14], 0xcc
je 0x464c15
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00464c20
pop ebx
ret

Function at 0x4751a8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bb8
mov eax, dword [ebp - 8]
call fcn.00404bb8
xor eax, eax
push ebp
push 0x475257
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404bc8
mov esi, eax
push esi
call sub.kernel32.dll_LoadLibraryA
test eax, eax
push esi
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [0x48b678], eax
mov eax, dword [ebp - 8]
call fcn.00404bc8
push eax
mov eax, dword [0x48b678]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48b67c], eax
push 0x48b674
push 0x40
push 4
push 0x48b67c
call sub.kernel32.dll_VirtualProtect
mov edx, 0x48b67c
mov eax, 0x4070d4
mov ecx, 4
call fcn.0047518c
mov eax, dword [0x48b678]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47525e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404728
ret
Function at 0x40149a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x124]
sub esp, 0x14c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [0x435a68]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
or eax, 8
mov dword [esp + 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x4015be
mov eax, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea edi, [ebp - 0x11d]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], 0x105
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ebp - 0x12c]
sub esp, 0x10
test eax, eax
jne 0x401558
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 0x124]
je 0x40153d
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov eax, 1
jmp 0x4015be
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0040149a
sub esp, 0xc
test eax, eax
je 0x4014f3
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov dword [esp], 2
call fcn.00407e2f
test eax, eax
push edi
je 0x401599
mov edx, dword [0x435a68]
mov dword [esp + 0xc], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], edx
call eax
sub esp, 0x10
jmp 0x4015be
cmp dword [0x435a68], 0
mov eax, 1
jne 0x4015be
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
push edx
push edx
setne al
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x4039dd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
je 0x403a08
mov eax, dword [0x426c80]
test eax, eax
je 0x4039fc
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push ecx
mov dword [0x426c80], 0
jmp 0x403a77
cmp dword [0x426c80], 0
je 0x403a20
mov dword [esp], 0
call fcn.004083b9
push edx
jmp 0x403a77
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x435b00]
jbe 0x403a77
mov eax, dword [0x435b48]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x403928
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6f
mov dword [esp], eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
sub esp, 0x14
mov dword [0x426c80], eax
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push eax
push eax
leave
ret

Function at 0x403a79
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0xc]
sub esp, 0x34
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [0x40a010]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x403aba
xor eax, eax
cmp dword [ebp - 0xc], ebx
sete al
mov ebx, dword [ebp - 4]
leave
ret 8
Function at 0x407394
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [0x434380], 0x44
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], 0x434380
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor edx, edx
sub esp, 0x28
test eax, eax
je 0x407410
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push eax
mov eax, edx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push edx
je 0x40768d
and eax, 0xfffffffe
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
push eax
mov ebx, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push edx
mov edx, 0
cmove eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
mov ebx, dword [ebp - 4]
leave
ret 0xc

Function at 0x4076f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x1c]
mov esi, 0x65
sub esp, 0x2c
mov ebx, dword [ebp + 8]
dec esi
je 0x407747
mov dword [ebp - 0x1c], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1a
xor edx, edx
mov dword [esp + 0xc], ebx
div ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
add byte [ebp - 0x1a], dl
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
sub esp, 0x10
test eax, eax
je 0x407704
mov eax, ebx
jmp 0x40774c
mov byte [ebx], 0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x407756
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea edx, [ebp - 0x14]
sub esp, 0x34
cmp dword [ebp + 0x18], 1
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 0
mov dword [esp + 0x10], edx
sbb eax, eax
mov dword [esp + 8], 0
xor al, al
add eax, 0x20119
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x4077f8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x400
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x4077e1
mov eax, dword [ebp - 0xc]
dec eax
cmp eax, 1
jbe 0x4077e4
mov byte [ebx], 0
mov eax, dword [ebp - 0x14]
mov byte [ebx + 0x3ff], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov ebx, dword [ebp - 4]
leave
ret 0x14
Function at 0x407d7c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [esp], 0x433b80
mov dword [esp + 4], eax
call fcn.004078d2
push ebx
push ebx
mov dword [esp], 0x433b80
call fcn.00407551
test eax, eax
push esi
mov ebx, eax
jne 0x407db0
xor eax, eax
jmp 0x407e26
mov dword [esp], eax
call fcn.00407955
test byte [0x435b04], 0x80
push ecx
je 0x407dcc
mov al, byte [ebx]
cmp al, 0x5c
je 0x407dac
test al, al
je 0x407dac
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub ebx, 0x433b80
mov dword [esp], 0x433b80
call esi
push ecx
cmp eax, ebx
mov dword [esp], 0x433b80
jle 0x407e0b
call fcn.00407d44
test eax, eax
push edx
je 0x407dfc
test byte [eax], 0x10
je 0x407dac
mov dword [esp], 0x433b80
call fcn.004074ea
push eax
jmp 0x407dd8
call fcn.00407910
push eax
mov dword [esp], 0x433b80
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
inc eax
push edx
setne al
movzx eax, al
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4
Function at 0x408408
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x434404], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x408425
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x408453
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x40842e
mov dword [ecx*4 + 0x434400], eax
inc ecx
cmp ecx, 0x100
jne 0x408427
jmp 0x408419
cmp edx, ebx
je 0x40846c
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x434400]
jmp 0x408453
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xf621e64
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..tls
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x243a1a77
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x701a1136
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.701a111e
mov eax, dword [0x701a45d4]
mov dword [esp], 0x701a43c8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 0x6aec8b55
call dword [sym.imp.MSVCRT.dll_wcscpy]
push 0x8000
lea eax, [ebp - 4]
xor esi, esi
push 0x10000
push eax
mov dword [ebp - 0xc], 0x701a43b0
mov dword [ebp - 4], esi
call fcn.701a11fe
add esp, 0x14
lea eax, [ebp - 0x424]
push 1
push dword [ebp - 4]
push 0x701a43c0
push eax
call fcn.701a1118
push eax
call fcn.701a2102
add esp, 0x14
test eax, eax
je 0x701a11f2
mov eax, dword [ebp - 4]
push edi
push esi
lea ecx, [eax + 4]
call fcn.701a2055
mov edi, eax
mov eax, dword [ebp - 4]
push esi
lea ecx, [eax + 4]
call fcn.701a201b
lea ecx, [ebp - 8]
push ecx
push 0x40
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
call edi
mov dword [0x701a43bc], eax
pop edi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
leave
ret

Function at 0x701a15f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push esi
mov esi, 0x104
lea eax, [ebp - 0x414]
push esi
push eax
push dword [ebp + 8]
call fcn.701a15ab
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.701a15dc
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
pop esi
not eax
and eax, dword [ebp + 8]
leave
ret

Function at 0x701a165f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
push dword [ebp + 8]
call fcn.701a15ab
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.701a15dc
lea eax, [ebp - 0x20c]
mov edi, 0x80000000
push eax
push edi
call fcn.701a23c7
add esp, 0x1c
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push 0x701a43c0
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x701a16d5
xor eax, eax
jmp 0x701a1709
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push 2
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
leave
ret