joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485f5c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x485f7e
or eax, 0xffffffff
jmp 0x485f83
mov eax, dword [0x5721d4]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x573688
call fcn.0041348f
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x486020
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x486020
cmp edi, ebx
je 0x485fd5
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x573e68
call fcn.0041348f
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x486029
test ebx, ebx
je 0x48600c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x486020
cmp dword [ebp - 4], 0
je 0x48600c
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x486022
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x486020
test edi, edi
je 0x486020
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x486020
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x486020
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x486022
Function at 0x489917
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x57adf4], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x489946
or dword [0x57adf4], 1
mov ecx, 0x57adf0
call fcn.004030c0
push 0x529e6d
call fcn.00501927
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x489952
call fcn.00403be8
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x4899cb
cmp dword [eax + 0x20], 0
je 0x4899cb
test eax, eax
je 0x489969
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x4899cb
mov eax, dword [edi + 4]
dec eax
je 0x4899aa
dec eax
je 0x489980
dec eax
jne 0x4899cb
mov esi, 0x428e
jmp 0x4899af
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4899af
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x4899af
add esi, 3
jmp 0x4899af
mov esi, 0x3ea0
push esi
mov ecx, 0x57adf0
call fcn.004019f0
test eax, eax
je 0x48994d
mov eax, dword [0x57adf0]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x4899cd
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x48a833
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x48a8b3
cmp dword [ebp + 0xc], ecx
jne 0x48a8b3
cmp dword [ebx + 0x94], ecx
jne 0x48a8b3
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x48a8a9
cmp eax, 0xffffffff
je 0x48a8a9
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.0040c76f
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x48a8b3
xor eax, eax
jmp 0x48a9f3
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x48a8ee
cmp dword [ebp + 0xc], 0
jne 0x48a8ee
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.0040c76f
test eax, eax
jne 0x48a8a2
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x48a914
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x48a914
cmp eax, 0xffffffff
je 0x48a914
cmp dword [ebx + 0x90], ecx
jne 0x48a914
cmp dword [ebx + 0xa8], ecx
je 0x48a8a2
push dword [ebx + 0x6c]
push 0x573504
call fcn.0041348f
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x48a94d
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x48a9b3
push edi
jmp 0x48a9ae
push dword [ebx + 0x6c]
push 0x573144
call fcn.0041348f
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x48a979
cmp eax, edi
je 0x48a979
cmp dword [0x579514], edi
jne 0x48a979
push 1
push ebx
mov ecx, eax
call fcn.00472d47
jmp 0x48a9a6
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48a991
push edi
call fcn.00422c76
cmp eax, edi
je 0x48a991
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x48a8a2
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48a9b3
push ebx
call fcn.0042590d
cmp dword [ebx + 0x6c], edi
je 0x48a9f0
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00415bf4
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x49eea3
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x52374e
call fcn.0050262b
xor edi, edi
cmp dword [0x573024], edi
je 0x49ef6c
cmp dword [0x573d14], 0xfffffffe
jne 0x49ef59
cmp dword [ebp + 8], 0xffffffff
je 0x49ef6c
test byte [0x57b1c0], 1
mov esi, 0x57b1a0
jne 0x49ef02
or dword [0x57b1c0], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0043458c
push 0x529eed
call fcn.00501927
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.004345e3
cmp dword [0x57b19c], edi
je 0x49ef16
call fcn.00403be8
push edi
push edi
push 0x49ee4b
call fcn.00506865
add esp, 0xc
mov dword [0x57b19c], eax
cmp eax, edi
jbe 0x49ef46
cmp eax, 0xffffffff
je 0x49ef46
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x573d14], eax
jmp 0x49ef4c
mov dword [0x57b19c], edi
push 0x57b1a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x49ef6c
mov eax, dword [ebp + 8]
mov dword [0x573d14], eax
cmp eax, 0xffffffff
jne 0x49ef6c
mov dword [0x57b19c], edi
call fcn.00502703
ret
Function at 0x4dab4e
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x525d48
call fcn.00502694
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.004e05ed
push 0x15c
call fcn.00403144
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4dab92
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004e1ef0
jmp 0x4dab94
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004e05bf
call fcn.0040a436
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x4dad34
cmp dword [edi + 4], ebx
jle 0x4dad34
lea ecx, [ebp - 0x21c]
call fcn.004030c0
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4dad18
lea ecx, [ebp - 0x220]
call fcn.004030c0
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4dac69
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.00405638
add esp, 0xc
jmp 0x4dac9b
jge 0x4dac89
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.00405638
add esp, 0x10
jmp 0x4dac9b
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004038f8
push 0x15c
call fcn.00403144
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4dacbf
mov ecx, eax
call fcn.004b3a2a
mov esi, eax
jmp 0x4dacc1
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.00409687
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.004e05bf
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004018d0
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004018d0
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4dac02
call fcn.00502717
ret
Function at 0x4df750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4df768
mov edi, dword [esi + 0xc]
jmp 0x4df7a8
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4df781
call fcn.004121a6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4df796
call fcn.004121a6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4df7a8
call fcn.004121a6
call fcn.0040a436
cmp dword [eax + 0x3c], 0
je 0x4df7bd
push edi
mov ecx, ebx
call fcn.004de633
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004df676
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4df7db
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4df7e7
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4e6cb8
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4e6d02
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e6d02
call fcn.004e65a0
test eax, eax
je 0x4e6d02
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00403080
xor eax, eax
inc eax
jmp 0x4e6f1a
cmp dword [ebx + 4], 0x100
push edi
jne 0x4e6f11
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4e6dff
push 0x11
call edi
test ax, ax
jl 0x4e6dff
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e6dff
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4e6d72
cmp eax, 0x20
jbe 0x4e6dff
cmp eax, 0x24
jbe 0x4e6d65
cmp eax, 0x26
je 0x4e6d65
cmp eax, 0x28
jne 0x4e6dff
call fcn.004e65a0
test eax, eax
je 0x4e6dff
mov ecx, esi
call fcn.0040b26a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004e65a0
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4e6da7
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00403080
jmp 0x4e6f0c
call fcn.00410056
test eax, eax
je 0x4e6f0c
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0041008e
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4e6dd5
xor edi, edi
jmp 0x4e6dd8
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.00410056
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4e6f0c
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4e6edb
sub eax, 0x12
je 0x4e6eb3
sub eax, 0xb
je 0x4e6e21
dec eax
dec eax
jne 0x4e6f11
push 0x12
call edi
test ax, ax
jl 0x4e6f11
push 0x11
call edi
test ax, ax
jl 0x4e6f11
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e6f11
call fcn.004e65a0
test eax, eax
jne 0x4e6f0c
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004e651a
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040e9e4
test eax, eax
je 0x4e6f0c
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0040e9e4
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4e6f0c
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e6ec7
push 0
call fcn.004e651a
mov ecx, esi
call fcn.0040fb24
test eax, eax
je 0x4e6f11
mov ecx, esi
call fcn.0040fb24
jmp 0x4e6f05
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0040e9e4
test eax, eax
je 0x4e6f11
push dword [esi + 0x20]
call edi
push eax
call fcn.0040e9e4
push 0
push esi
mov ecx, eax
call fcn.00407a3a
mov ecx, eax
call fcn.0040b26a
xor eax, eax
inc eax
jmp 0x4e6f19
push ebx
mov ecx, esi
call fcn.0040c7e3
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4fc48b
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x4fc4d0
test edi, edi
jl 0x4fc4d0
cmp ax, 0x20
je 0x4fc4c5
cmp word [ebp + 8], 0x71
jne 0x4fc4d0
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x501794
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x575804]
jne 0x50179e
repz ret
jmp fcn.00508816

Function at 0x514fb8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0050817a
and dword [ebp - 4], 0
cmp dword [0x57cfa8], 0
mov ebx, eax
jne 0x515069
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51511a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x51511a
push eax
call fcn.00508108
mov dword [esp], 0x552ea0
push edi
mov dword [0x57cfa8], eax
call esi
push eax
call fcn.00508108
mov dword [esp], 0x552e8c
push edi
mov dword [0x57cfac], eax
call esi
push eax
call fcn.00508108
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x57cfb0], eax
call esi
push eax
call fcn.00508108
pop ecx
mov dword [0x57cfb8], eax
test eax, eax
je 0x515069
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00508108
pop ecx
mov dword [0x57cfb4], eax
mov eax, dword [0x57cfb4]
cmp eax, ebx
je 0x5150c1
cmp dword [0x57cfb8], ebx
je 0x5150c1
push eax
call fcn.00508183
push dword [0x57cfb8]
mov esi, eax
call fcn.00508183
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5150c1
test edi, edi
je 0x5150c1
call esi
test eax, eax
je 0x5150b8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5150b8
test byte [ebp - 0xc], 1
jne 0x5150c1
or dword [ebp + 0x10], 0x200000
jmp 0x5150fa
mov eax, dword [0x57cfac]
cmp eax, ebx
je 0x5150fa
push eax
call fcn.00508183
pop ecx
test eax, eax
je 0x5150fa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5150fa
mov eax, dword [0x57cfb0]
cmp eax, ebx
je 0x5150fa
push eax
call fcn.00508183
pop ecx
test eax, eax
je 0x5150fa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x57cfa8]
call fcn.00508183
pop ecx
test eax, eax
je 0x51511a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x51511c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f30
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x401fa0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401340
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x428f109a
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x72b628b2
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4304c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4de77b
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.004d2e62
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x430542
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d0963
mov eax, dword [eax]
push 0x6add14
push eax
call fcn.004c1df4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d30ed
test bl, bl
je 0x430542
push 0x6add14
lea ecx, [esp + 0xc]
call fcn.004d347d
push 0x6add20
lea ecx, [esp + 0xc]
call fcn.004d347d
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 0x43057e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d30ed
jmp 0x430649
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 0x430602
lea edx, [esp + 0x7c]
push 0x6add1c
push edx
call fcn.004c1df4
add esp, 8
test eax, eax
je 0x430602
lea eax, [esp + 0x7c]
push 0x6add18
push eax
call fcn.004c1df4
add esp, 8
test eax, eax
je 0x430602
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 0x430592
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.004d30ed
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 0x4318b0
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 0x431912
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 0x431920
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4de8db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6c8e28]
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 0x431a58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x431986
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d30ed
xor eax, eax
jmp 0x431acf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d322a
push esi
lea ecx, [esp + 0xc]
call fcn.004d34b9
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6add64
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x431aad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.004318b0
test eax, eax
jne 0x431aad
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 bind
mov ecx, edi
call fcn.004318b0
test eax, eax
jne 0x431aad
lea eax, [esp + 0x14]
push 0x6add40
push eax
call fcn.004c2f60
mov esi, eax
add esp, 8
test esi, esi
jne 0x431a8c
lea ecx, [esp + 0x14]
push 0x6add3c
push ecx
call fcn.004c2ee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x431a8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x431a8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d31da
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43199e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d30ed
xor eax, eax
jmp 0x431acf
mov byte [esi], 0
push 0x6add38
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.004d30ed
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

Function at 0x43c246
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x43c26e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret