joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469570
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b4b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004ab68a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00468ed0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004ab5b8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a7d9f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a7d9f
push 1
push 0
push 0
mov ecx, esi
call fcn.004a7d47
push 1
push 0
push 1
mov ecx, esi
call fcn.004a7d47
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ab6fc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4696f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b4b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004ab68a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00468ed0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004ab5b8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4697b4
cmp dword [esp + 0x40], 1
jne 0x4697b2
cmp ecx, eax
jge 0x4697b4
mov eax, ecx
cmp eax, 0xc8
jge 0x4697c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00469570
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ab6fc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x469fb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b4c03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004a61bf
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004ab932
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004ace8a
test eax, eax
je 0x46a0cc
mov ecx, dword [esp + 0x3c]
call fcn.004ab95f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x46a090
push edi
mov ecx, esi
call fcn.004a8f1a
mov ecx, esi
call fcn.0046a270
cmp dword [esp + 0x38], 1
jne 0x46a0c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a9084
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x46c2e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46c313
push esi
call fcn.0047a6a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46c30c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x46c399
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46c382
mov eax, dword [esi + 8]
test eax, eax
je 0x46c337
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46c37e
cmp eax, 2
je 0x46c382
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46c32a
cmp eax, 3
je 0x46c35d
cmp eax, 1
jne 0x46c32a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46c32a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46c32a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046c3c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46c3a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046c3c0
add esp, 4
pop esi
ret

Function at 0x46cc40
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46cc61
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x46cc61
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46cc61
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x489820
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4898c3
test eax, eax
jbe 0x4898c3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4898c3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x48986e
xor esi, esi
jmp 0x489874
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x48989f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0048b7e0
add esi, eax
push esi
mov ebx, esi
call fcn.0048b7e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x489880
pop ebp
test edi, edi
pop edi
jne 0x4898c3
test ebx, ebx
je 0x4898c3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00495230
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x489a25
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x489b3d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x489b3d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a6611
mov esi, eax
test esi, esi
je 0x489b3d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x489b3d
mov ecx, esi
call fcn.004899b0
cmp edi, eax
jge 0x489b3d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x489ac3
mov dword [esp + 0x34], 1
jmp 0x489b1e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x489b3d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00488f60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4a6fb5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a6fed
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a4fcc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a4fa4
jmp 0x4a6ff9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a86a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a86e5
call fcn.004ae391
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a86e5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a86dc
xor eax, eax
jmp 0x4a86ed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a86f3
pop edi
pop esi
pop ebx
ret 4
Function at 0x4ae8c1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ae8ef
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ae90d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ae827
jmp 0x4ae90d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ae90d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ae827
test edi, edi
mov eax, edi
jne 0x4ae8f7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430c40
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
cmp eax, 1
push ebx
push edi
jne case.default.0x430c9a
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], bl
mov byte [esp + 0x10c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x218]
add eax, 0xfffff006
cmp eax, 5
ja case.default.0x430c9a
jmp dword [eax*4 + 0x430ddc]
mov ecx, dword [0x5c88a4]
push ebx
call fcn.00408d70
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c8890]
push ebx
call fcn.0048aca0
pop edi
pop ebx
add esp, 0x208
ret 0x10
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
push 0x13
jmp 0x430dc4
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea edx, [esp + 8]
lea eax, [esp + 0x10c]
push edx
push str._sImagedpshdg.list
push eax
call fcn.004b8784
add esp, 0xc
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0x13
jmp 0x430dc4
cmp dword [0x5c899c], ebx
je 0x430d82
mov ecx, dword [0x5c8890]
call fcn.0048be20
mov ecx, 0x5ecbb8
call fcn.0046af40
mov edx, dword [0x5d339c]
xor eax, eax
mov ecx, 0x4b0
mov dword [0x5d9ed0], ebx
mov dword [edx*4 + 0x5d33a0], ebx
mov edx, dword [0x5d339c]
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edi, [edx + edx*4]
shl edi, 6
add edi, 0x5c9d98
rep stosd dword es:[edi], eax
mov ecx, dword [0x5c88bc]
push ebx
push 1
call fcn.00472d50
mov ecx, dword [0x5c8884]
call fcn.0042b0b0
cmp eax, 1
jne 0x430dc2
mov eax, dword [0x5c8884]
mov dword [0x5d33c0], ebx
push ebx
mov ecx, dword [eax + 0xd40]
call fcn.004340e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
push 9
mov ecx, dword [0x5c8884]
call fcn.0042b0e0
pop edi
pop ebx
add esp, 0x208
ret 0x10
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x45b82a48
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x18883fc1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x402fc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x4034e0
test edx, edx
je 0x4034e0
call fcn.00402fd7
mov eax, 0xffffffff
pop ebx
pop ebp
ret
Function at 0x414580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea edx, [ebp - 0x1c]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], 0x7ffffff
cmp edx, str.GROUP:
ja 0x4145bb
lea eax, [ebp - 0x15]
cmp eax, str.GROUP:
ja 0x4146e2
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x19], 0x203a5055
mov dword [ebp - 0x1c], 0x554f5247
mov byte [ebp - 0x15], 0
test esi, esi
je 0x4146e9
mov ebx, dword [ebp + 0xc]
push esi
call fcn.00501ee0
add esp, 4
lea edi, [ebp - 0x1c]
mov ecx, edi
push eax
push esi
call fcn.004a22b0
mov ecx, edi
push 8
push str.__NAME:
call fcn.004a22b0
test ebx, ebx
je 0x4146e9
mov esi, dword [ebp + 0x10]
push ebx
call fcn.00501ee0
add esp, 4
mov ecx, edi
push eax
push ebx
call fcn.004a22b0
mov ecx, edi
push 0xc
push str.__DURATION:
call fcn.004a22b0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, eax
or edx, ecx
je 0x414680
sub eax, dword [esi]
sbb ecx, dword [esi + 4]
lea esi, [ebp - 0x28]
push ecx
push eax
push esi
call fcn.004545c0
add esp, 0xc
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x414659
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
push eax
push esi
call fcn.004a22b0
cmp byte [ebp - 0x1d], 0
jns 0x414674
push dword [ebp - 0x28]
call fcn.004e6c3e
add esp, 4
lea ecx, [ebp - 0x1c]
push 5
push str.__us_
jmp 0x41468a
lea ecx, [ebp - 0x1c]
push 0x12
push str.unknown_unfinished
call fcn.004a22b0
mov ecx, edi
push 2
push 0x55f328
call fcn.004a22b0
movsx eax, byte [ebp - 0x11]
test eax, eax
jns 0x4146ab
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
push ecx
push ecx
push eax
push edi
mov eax, dword [ebp - 0x2c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [ebp - 0x11], 0
jns 0x4146ce
push dword [ebp - 0x1c]
call fcn.004e6c3e
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push str....._third_partylibc_srcinclude__stringchar_traits.h:146:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
jmp 0x4146ee
push str....._third_partylibc_srcinclude_string:2862:_assertion___s___nullptr_failed:_string::append_received_nullptr_n
push 0x55eb93
call fcn.00516c70
int3
Function at 0x41d800
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x218]
mov dword [esi], 0x101
lea edi, [ebp - 0x212]
push 0x202
push 0xff
push edi
call fcn.004eac00
add esp, 0xc
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, eax
test eax, eax
je 0x41d852
mov ecx, dword [ebp + 8]
push edi
call fcn.004543a0
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41d870
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 2
pop ebp
jmp fcn.0041d890
Function at 0x428dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x1c
mov eax, dword [0x57f040]
xor eax, ebp
mov dword [ebp - 8], eax
call fcn.0041df50
mov esi, eax
lea eax, [ebp - 0x20]
mov byte [eax + 0xb], 9
cmp eax, str.Software_
ja 0x428df4
lea eax, [ebp - 0x17]
cmp eax, str.Software_
ja 0x428eb8
mov dword [ebp - 0x1c], 0x65726177
mov dword [ebp - 0x20], 0x74666f53
mov word [ebp - 0x18], 0x5c
test esi, esi
je 0x428eb1
push esi
call fcn.00501ee0
add esp, 4
lea ecx, [ebp - 0x20]
push eax
push esi
call fcn.004a22b0
mov edx, dword [eax + 8]
lea ecx, [ebp - 0x14]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
movsx eax, byte [ecx + 0xb]
test eax, eax
cmovs eax, dword [ecx + 4]
cmovs ecx, dword [ecx]
test eax, eax
js 0x428ea2
je 0x428e59
test ecx, ecx
je 0x428e9b
mov esi, dword [ebp + 8]
push eax
push ecx
push esi
call fcn.00462d60
add esp, 0xc
cmp byte [ebp - 9], 0
jns 0x428e78
push dword [ebp - 0x14]
call fcn.004e6c3e
add esp, 4
cmp byte [ebp - 0x15], 0
jns 0x428e89
push dword [ebp - 0x20]
call fcn.004e6c3e
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0x1c
pop esi
pop ebp
ret
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x428ea7
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x55eb93
call fcn.00516c70
push str....._third_partylibc_srcinclude_string:2862:_assertion___s___nullptr_failed:_string::append_received_nullptr_n
jmp 0x428ea7
push str....._third_partylibc_srcinclude__stringchar_traits.h:146:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
jmp 0x428ea7