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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4c8a0a
add esp, 0xfffffff0
call fcn.00405340
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004404ac
mov eax, dword [0x517ec0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c8e54
mov eax, dword [0x517ecc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c8e60
mov eax, ebx
call fcn.004c8e6c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4297dc]
call fcn.00404ddc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4297dc]
call fcn.00404ddc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4297dc]
call fcn.00404ddc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4297dc]
call fcn.00404ddc
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4297dc]
call fcn.00404ddc
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4c37a0
push eax
push 0
push 0
mov eax, dword [0x5180c0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44af50]
call fcn.00451224
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44af50]
call fcn.00451224
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44af50]
call fcn.00451224
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44af50]
call fcn.00451224
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44af50]
call fcn.00451224
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004c93c4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c9234
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c9234
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c9234
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c9234
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c9234
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c8b85
call fcn.00405398
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c8fd4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c9181
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4c9162
mov dl, 1
mov eax, dword [0x42bedc]
call fcn.00437f24
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406a10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4c9151
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.004ab03c
test al, al
je 0x4c9144
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4c9190
lea eax, [ebp - 0x394]
call fcn.00413790
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4c9144
xor eax, eax
push ebp
push 0x4c913d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4c9200
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4c9126
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406bf8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4c9126
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406bf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9144
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4c9047
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00437e60
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9188
lea eax, [ebp - 0x3a0]
call fcn.00406a00
ret

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

Disassembly:
push ecx
mov eax, dword [0x51e2c0]
cmp byte [eax + 0xad], 0
jne 0x4c9d52
cmp dword [0x51e2d8], 0
jne 0x4c9d12
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x517280]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x51e2d8], eax
cmp dword [0x51e2d4], 0
jne 0x4c9d2d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x51e2d4], eax
cmp dword [0x51e2dc], 0
jne 0x4c9d52
push esp
push 0
push 0
mov eax, dword [0x51727c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x51e2dc], eax
pop edx
ret
Function at 0x4ca078
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ca08f
add esp, 0xfffffff0
call fcn.00405340
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004404ac
mov eax, dword [0x517d94]
cmp byte [eax], 0
jne 0x4ca0bc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x51808c]
cmp word [eax + 2], 0
jne 0x4ca0d6
mov eax, dword [0x51808c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cc170
mov eax, dword [0x5181b4]
cmp word [eax + 2], 0
jne 0x4ca0f0
mov eax, dword [0x5181b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cc380
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44af50]
call fcn.00451224
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4cc930
mov dl, 1
mov eax, dword [0x4297dc]
call fcn.00404ddc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4297dc]
call fcn.00404ddc
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 [0x44f3e8]
call fcn.0045a6fc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ca2d0
mov eax, dword [0x517f58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045ab90
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4ccc18
mov dl, 1
mov eax, dword [0x4297dc]
call fcn.00404ddc
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x517f58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004135dc
test eax, eax
je 0x4ca201
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004133c0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004135c0
test eax, eax
je 0x4ca219
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406bf8
push ebx
push 0x4cbb40
call fcn.004bfd68
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x517d94]
cmp byte [eax], 0
jne 0x4ca26a
mov eax, ebx
call fcn.004ca444
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004cce44
mov eax, ebx
call fcn.004cda78
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ca2c7
call fcn.00405398
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca718
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4ca7ba
cmp dword [ebx + 0x94], 0
jne 0x4ca7b4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ca664
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4ca7b4
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_GetWindowLongW
test al, 8
je 0x4ca77a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ca7b4
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.0043470c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ca789
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4ca9d8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x51e2c0]
cmp dword [eax + 0x170], 0
je 0x4cab3d
test bl, bl
jne 0x4caa8b
cmp dword [esi + 0x9c], 0
jne 0x4caa80
mov eax, esi
call fcn.004cd8c8
push eax
push 0x4ca8e4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4caa51
mov eax, dword [0x51e2c0]
cmp byte [eax + 0xd3], 0
je 0x4caa51
mov eax, dword [esi + 0xd8]
call fcn.004081a8
mov edi, eax
cmp edi, 0
jl 0x4caa51
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4caa3a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4caa80
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043470c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4caa60
inc dword [esi + 0x9c]
jmp 0x4cab3d
cmp dword [esi + 0x9c], 0
jle 0x4cab3d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4cab3d
cmp dword [esi + 0x44], 0
je 0x4caae8
mov eax, dword [0x51e2c0]
cmp byte [eax + 0xd3], 0
je 0x4caae8
mov eax, dword [esi + 0xd8]
call fcn.004081a8
mov edi, eax
cmp edi, 0
jl 0x4caae8
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4caad1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4cab17
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043470c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4caaf7
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4bdc40]
call fcn.00408368
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cb78c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4cb7f7
cmp byte [ebx + 0xd3], 0
jne 0x4cb7f7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406b4c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cb7e4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cb804
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a10
jmp 0x4cb804
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a10
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4cd02c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4cd09a
mov eax, esi
call fcn.004a4f48
test al, al
je 0x4cd09a
mov eax, dword [ebx + 0x84]
call fcn.004a4b9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4cd09a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4cd08e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004a4b9c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0049bb70
jmp 0x4cd09a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004cce64
pop esi
pop ebx
ret
Function at 0x4fadc8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4fadf6
mov eax, ebx
call fcn.004fb87c
cmp dword [ebx + 0x40], 0
je 0x4fadef
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4fae67
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4fae59
cmp dword [ebx + 8], 0
je 0x4fae18
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 0x4fae2a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4fae59
cmp dword [ebx + 8], 0
je 0x4fae0b
cmp eax, 3
je 0x4fae3d
dec eax
jne 0x4fae0b
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 0x4fae0b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4fae0b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4fae85
cmp dword [ebx + 0x14], 0xcc
je 0x4fae85
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.004fae90
pop ebx
ret
Function at 0x1001698
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x1001188
mov ebx, 0x80000002
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x1001706
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x20006
push esi
push 0x1001150
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x1001706
push 4
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x1001134
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x10000
jae 0x100171e
test esi, esi
jle 0x100171e
and esi, 0xffff
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x1001750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1001200
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10017ac
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10011e0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10017a3
cmp dword [ebp - 8], 4
jne 0x10017a3
cmp dword [ebp - 0xc], 6
jb 0x10017a3
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x1002280
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10013f0
call fcn.01002460
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10022bb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10022bb
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10022d3
cmp eax, 0x20b
je 0x10022c0
mov dword [ebp - 0x1c], edi
jmp 0x10022e7
cmp dword [ecx + 0x84], 0xe
jbe 0x10022bb
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10022e1
cmp dword [ecx + 0x74], 0xe
jbe 0x10022bb
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003014], 0xffffffff
or dword [0x1003018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100300c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100301c], eax
call fcn.0100245c
cmp dword [section..data], edi
jne 0x1002342
push fcn.0100245c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100244a
push 0x10010d4
push 0x10010d0
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1003004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x10010cc
push 0x10010c8
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001a68
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x10023b9
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10023ee
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002499
ret

Function at 0x4ca257
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ebx, 0x4c9fca
add edx, ecx
mov edx, edx
call fcn.004ca27e
and ecx, edx
xor dword [edi], ebx
and edx, ecx
inc edi
sub ecx, 0x7e677462
or ecx, ecx
or edx, ecx
cmp edi, eax
jne fcn.004ca257
inc edx
ret
Function at 0x444ff0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d4d6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c909b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x445072
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c66fd
mov eax, dword [eax]
push 0x5cc3c4
push eax
call fcn.004a5b74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c9326
test bl, bl
je 0x445072
push 0x5cc3c4
lea ecx, [esp + 0xc]
call fcn.004c96b6
push 0x5cff4c
lea ecx, [esp + 0xc]
call fcn.004c96b6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4450ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c9326
jmp 0x445179
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x445132
lea edx, [esp + 0x7c]
push 0x5cff48
push edx
call fcn.004a5b74
add esp, 8
test eax, eax
je 0x445132
lea eax, [esp + 0x7c]
push 0x5cff44
push eax
call fcn.004a5b74
add esp, 8
test eax, eax
je 0x445132
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4450c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c9326
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x445970
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 0x4459d2
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]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
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 0x4459e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d4deb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x627d08]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x445b18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x445a46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c9326
xor eax, eax
jmp 0x445b8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c9463
push esi
lea ecx, [esp + 0xc]
call fcn.004c96f2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x445b6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00445970
test eax, eax
jne 0x445b6d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00445970
test eax, eax
jne 0x445b6d
lea eax, [esp + 0x14]
push 0x5cff60
push eax
call fcn.004a6ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x445b4c
lea ecx, [esp + 0x14]
push 0x5cff5c
push ecx
call fcn.004a6a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x445b4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x445b4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c9413
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x445a5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c9326
xor eax, eax
jmp 0x445b8f
mov byte [esi], 0
push 0x5cff58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c9326
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4