joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406802
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x406811
pop dword [ebp - 0x2c]
mov eax, 0x2645900b
add eax, 0xd9fad806
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x83e76b0e
add dword [ebp - 0x3c], 0xca6ada3d
mov dword [ebp - 0x38], 0xf4ff9a9c
add dword [ebp - 0x38], 0x3d33b1a9
mov dword [ebp - 0x34], 0xcd2090d7
add dword [ebp - 0x34], 0x7f2bb357
mov dword [ebp - 0x30], 0x1f133f1a
sub dword [ebp - 0x30], 0x1f133f1a
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x84bde7d5
add dword [ebp - 0x3c], 0xefb48181
mov dword [ebp - 0x38], 0xcc8b6b5f
sub dword [ebp - 0x38], 0x8b1f09ea
mov dword [ebp - 0x34], 0x20189088
add dword [ebp - 0x34], 0x4356dbe4
mov dword [ebp - 0x30], 0x5589cf5a
sub dword [ebp - 0x30], 0x5589cf5a
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xee399168
sub eax, 0xedf8b0e0
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b28e
push 0
call eax
mov ecx, 0x5634af42
sub ecx, 0x5634596e
xor edi, edi
add edi, eax
mov ebx, 0xa3f8d23a
add ebx, 0x5c491dc6
add ebx, dword [ebp - 0x2c]
mov edx, 0xa0fa9091
sub edx, 0xa688cfce
mov esi, dword [ebx]
add dword [ebp - 0x10], 0x4772e1c6
xor esi, edx
xor dword [ebp - 0x1c], 0x2afdb858
mov dword [edi], esi
mov dword [ebp - 0x20], 0xc602034e
add edi, 0x99804070
sub edi, 0x9980406c
add ebx, 4
loop 0x406930
add eax, 0x14a23
xor ebx, ebx
add ebx, eax
add eax, 0xe83f949c
sub eax, 0xe83f9497
mov ecx, 0xaebb80e
sub ecx, 0xaabb80e
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x406b16
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x40d6f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x41a174]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x110]
lea eax, [ebp]
mov edi, dword [ebp + 0x114]
mov ebx, 0x104
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp]
push ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x406bb4
cmp eax, ebx
jae 0x406bb4
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004060ea
pop ecx
pop ecx
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x18]
jmp 0x406ba7
push esi
lea ecx, [edi + 0x18]
call fcn.00403db8
add esi, 0x18
cmp esi, dword [ebp - 0x14]
jne 0x406b9b
lea ecx, [ebp - 0x18]
call fcn.0040422a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0040baa8
add ebp, 0x108
leave
ret
Function at 0x402340
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x4024dd
mov esi, dword [ebp + 8]
test esi, esi
je 0x4024dd
mov dword [esi + 0xf0], 0xa
mov ecx, dword [edi]
mov eax, ecx
rol ecx, 8
and ecx, 0xff00ff
ror eax, 8
and eax, 0xff00ff00
or eax, ecx
mov dword [esi], eax
lea eax, [esi + 4]
mov edx, dword [edi + 4]
mov ecx, edx
ror ecx, 8
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov dword [eax], ecx
mov edx, dword [edi + 8]
mov ecx, edx
ror ecx, 8
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0xc]
mov edi, 0x5ed684
push ebx
mov ebx, ecx
rol ecx, 8
and ecx, 0xff00ff
ror ebx, 8
and ebx, 0xff00ff00
or ebx, ecx
mov ecx, ebx
mov dword [esi + 0xc], ebx
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + 0x5eebb0]
mov ecx, ebx
shr ecx, 8
xor edx, 0x1000000
and ecx, 0xff
and edx, 0xff000000
mov ecx, dword [ecx*4 + 0x5ee7b0]
and ecx, 0xff0000
xor edx, ecx
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x5eefb0]
xor edx, ecx
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x5ef3b0]
and ecx, 0xff00
xor edx, ecx
mov ecx, dword [eax]
xor edx, dword [esi]
xor ecx, edx
mov dword [esi + 0x10], edx
mov edx, dword [esi + 8]
xor edx, ecx
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov dword [esi + 0x18], edx
xor ecx, edx
mov dword [esi + 0x1c], ecx
pop ebx
mov edi, edi
mov edx, dword [eax + 0x18]
lea eax, [eax + 0x10]
mov ecx, edx
shr ecx, 8
and ecx, 0xff
mov esi, dword [ecx*4 + 0x5ee7b0]
mov ecx, edx
shr ecx, 0x10
and esi, 0xff0000
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5eebb0]
and ecx, 0xff000000
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x5eefb0]
xor esi, ecx
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x5ef3b0]
and ecx, 0xff00
xor esi, ecx
xor esi, dword [eax - 4]
xor esi, dword [edi]
add edi, 4
mov dword [eax + 0xc], esi
mov ecx, dword [eax]
xor ecx, esi
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
cmp edi, 0x5ed6a8
jne 0x402450
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x4024f0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.00402340
add esp, 4
test eax, eax
js 0x4026dc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x402564
lea esi, [eax + 8]
add eax, 8
lea esi, [esi + edi*4]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x402524
mov ebx, dword [ebp + 8]
mov edi, 1
cmp dword [ebx + 0xf0], edi
jle 0x4026d7
lea esi, [ebx + 2]
jmp 0x402580
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x5eefb0]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x5ee3b0]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5edbb0]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5ed7b0]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5edfb0]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x5eefb0]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x5ee3b0]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5edbb0]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5edfb0]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5ed7b0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x5eefb0]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x5ee3b0]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5edbb0]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5edfb0]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5ed7b0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x5eefb0]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x5ee3b0]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5edbb0]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5edfb0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x5eefb0]
xor ecx, dword [eax*4 + 0x5ed7b0]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebx + 0xf0]
jl 0x402580
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4037c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0aea
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0058657c
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x403866
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x5ed590
push eax
lea ecx, [ebp - 0x24]
call fcn.00565ca9
push 0x61413c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0056afe5
push edi
push esi
call fcn.00586812
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret 4

Function at 0x403e00
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a0b78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x619490]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004045f0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00403d30
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x403e71
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.00565ca9
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x403e9a
push dword [esp + 0xc]
call fcn.0043dd17
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a0d58
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x619490]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x619490]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea edx, [edi + 0x10]
lea ecx, [esp + 0x18]
call fcn.0041f580
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x28]
add eax, 0xa
mov dword [edi], eax
add eax, 4
push eax
call fcn.0043dd0e
mov esi, eax
mov dword [esp + 0x14], 0xe
mov eax, dword [edi]
sub esp, 0x14
mov ecx, esp
mov dword [esi], eax
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
mov eax, dword [edi + 8]
mov dword [esi + 6], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xa], eax
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004045f0
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00405db0
mov ecx, dword [edi]
add esp, 0x1c
add ecx, 4
mov dword [ebx], esi
cmp dword [esp + 0x2c], 0x10
mov dword [ebx + 4], ecx
jb 0x405f2a
push dword [esp + 0x18]
call fcn.0043dd17
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret 4

Function at 0x407000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0f28
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x619490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00586f26
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 0
mov dword [edi], vtable.std::_LaunchPad_class_std::_Bind_1__void__void____cdecl__const__struct_AgentPack::CreateAgentAppLinkPack___struct_AgentPack::CreateAgentAppLinkPack__.0
push 0xffffffffffffffff
mov eax, dword [esi]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x14], eax
movzx eax, byte [esi + 8]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 9]
mov byte [edi + 0x19], al
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1c], eax
movzx eax, byte [esi + 0x10]
mov byte [edi + 0x20], al
mov eax, dword [esi + 0x14]
mov dword [edi + 0x24], eax
lea eax, [esi + 0x18]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004045f0
mov ax, word [esi + 0x30]
mov word [edi + 0x40], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40b690
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a1668
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x619490]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004557d7
sub esp, 8
mov ecx, esi
push eax
call fcn.0040bc60
mov dword [0x629164], esi
call fcn.004182e0
call fcn.0041ec00
push 0x62935c
mov byte [0x6292d9], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
movdqa xmm0, xmmword [0x5f1410]
movdqa xmmword [0x629390], xmm0
call fcn.004323d0
sub esp, 0x18
mov edx, 0x693825
mov ecx, esp
call fcn.00432a30
lea ecx, [esp + 0x20]
call fcn.0040a170
add esp, 0x18
mov dword [esp + 0x30], 0
mov ecx, esi
push dword [eax]
call fcn.00457741
mov dword [esp + 0x30], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b75f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov edx, 0x3b9cdb
mov ecx, esp
call fcn.00432a30
call fcn.0040a260
add esp, 0x18
lea ecx, [esp + 0xc]
mov edx, 0x83bd48
call fcn.00432a30
cmp dword [esp + 0x20], 0x10
jb 0x40b797
push dword [esp + 0xc]
call fcn.0043dd17
add esp, 4
mov ecx, esi
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov dword [0x6292bc], 0x40aba0
call fcn.0040a4a0
mov ecx, dword [esi + 0x20]
call fcn.0041bb70
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40c120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00453473

Function at 0x40c360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40c375
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40c3b4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40c3b0
lea ebx, [ebx]
cmp esi, edx
jae 0x40c3b4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40c3a0
cmp esi, edx
jb 0x40c3b9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x40e3f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a19cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x619490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea edx, [edi + 0x30]
mov byte [edi + 0x1c], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp + 8], 0x2c
mov eax, dword [esi]
mov dword [edi], eax
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, word [esi + 6]
mov word [edi + 6], ax
movzx eax, word [esi + 8]
mov word [edi + 8], ax
movzx eax, word [esi + 0xa]
mov word [edi + 0xa], ax
movzx eax, word [esi + 0xc]
mov word [edi + 0xc], ax
movzx eax, word [esi + 0xe]
mov word [edi + 0xe], ax
movzx eax, word [esi + 0x10]
mov word [edi + 0x10], ax
movzx eax, word [esi + 0x12]
mov word [edi + 0x12], ax
movzx eax, word [esi + 0x14]
mov word [edi + 0x14], ax
movzx eax, word [esi + 0x16]
mov word [edi + 0x16], ax
movzx eax, word [esi + 0x18]
mov word [edi + 0x18], ax
movzx eax, word [esi + 0x1a]
mov word [edi + 0x1a], ax
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x1c], al
mov eax, dword [esi + 0x1d]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x21]
mov dword [edi + 0x24], eax
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x28], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x29], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x2a], al
mov eax, dword [esi + 0x28]
push eax
mov dword [edi + 0x2c], eax
lea eax, [ebp + 8]
push edx
push eax
call fcn.004080d0
mov eax, dword [ebp + 8]
add esp, 0xc
mov eax, dword [eax + esi]
mov dword [edi + 0x48], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416000
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
push ebx
push esi
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416025
push 0
push 0
sub eax, edx
inc eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416046
push edx
sub eax, ebx
lea ecx, [ebp - 0x3ec]
push ecx
inc eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x3ec]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x1c], 0x10
pop esi
pop ebx
jb 0x416084
push dword [ebp + 8]
call fcn.0043dd17
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret
Function at 0x4165b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a24e8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x619490]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov eax, dword [0x619490]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], 0
call fcn.00433a60
push str.pro.nlp
lea edx, [esp + 0x44]
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.00409780
add esp, 4
mov byte [esp + 0x68], 1
lea edx, [esp + 0x28]
cmp dword [esp + 0x3c], 0x10
lea ecx, [esp + 0x10]
cmovae edx, dword [esp + 0x28]
call fcn.004248b0
mov byte [esp + 0x68], 2
lea ecx, [esp + 0x10]
cmp dword [esp + 0x24], 0x10
mov edx, 0x5ed5ad
push 0
cmovae ecx, dword [esp + 0x14]
call fcn.00405d10
add esp, 4
test eax, eax
jne 0x41667d
cmp dword [esp + 0x20], eax
setne al
test eax, eax
jne 0x41667d
push eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x5ed5ad
mov byte [esi], al
call fcn.00404a30
jmp 0x4166b5
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4166a9
test al, 0x10
je 0x4166a9
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00404320
jmp 0x4166b5
push 0x5ed5ad
mov ecx, esi
call fcn.004042c0
cmp dword [esp + 0x24], 0x10
jb 0x4166c8
push dword [esp + 0x10]
call fcn.0043dd17
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
jb 0x4166f0
push dword [esp + 0x28]
call fcn.0043dd17
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x416718
push dword [esp + 0x40]
call fcn.0043dd17
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret
Function at 0x4180d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2828
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.004345d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
test eax, 0xfffffffc
jne 0x418160
test ecx, ecx
je 0x418147
push ecx
call fcn.0043dd17
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret
cmp dword [0x61a718], 1
jne 0x41816e
call fcn.00417870
cmp dword [0x6291d8], 0
je 0x41817c
call fcn.004160a0
push 0
call fcn.0056701c
int3
Function at 0x41d7e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0x130]
sub eax, dword [ecx + 0x134]
cmp eax, 0x28
jge 0x41d806
cmp byte [ecx + 0x61], 0
jne 0x41d806
cmp byte [ecx + 0x60], 0
je 0x41d806
mov byte [ecx + 0x60], 0
jmp fcn.00439810
ret

Function at 0x41ed30
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a32f2
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x619490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x154], 0
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5ed5ad
mov dword [ebp - 0x158], esi
mov byte [esi], 0
call fcn.00404a30
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x154], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x18
push str.unknown_OperatingSystem.
mov ecx, esi
mov dword [ebp - 0x150], 0x11c
call fcn.00404a30
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41eef6
mov eax, dword [ebp - 0x14c]
sub eax, 4
je 0x41eeb1
dec eax
je 0x41ee54
dec eax
jne 0x41eef6
mov eax, dword [ebp - 0x148]
sub eax, 0
je 0x41ee38
dec eax
je 0x41ee1c
dec eax
jne 0x41eef6
cmp byte [ebp - 0x36], 1
jne 0x41eef6
push str.Microsoft_Windows_10
jmp 0x41eeef
cmp byte [ebp - 0x36], 1
mov ecx, esi
jne 0x41ee2e
push str.Microsoft_Windows_7
jmp 0x41eef1
push str.Microsoft_Windows_Server_2008_R2
jmp 0x41eef1
cmp byte [ebp - 0x36], 1
mov ecx, esi
jne 0x41ee4a
push str.Microsoft_Windows_Vista
jmp 0x41eef1
push str.Microsoft_Windows_Server_2008
jmp 0x41eef1
mov eax, dword [ebp - 0x148]
sub eax, 0
je 0x41eeaa
dec eax
je 0x41eea3
dec eax
jne 0x41eef6
cmp byte [ebp - 0x36], 1
jne 0x41ee7d
cmp word [ebp - 0x34], 9
jne 0x41ee7d
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x41eeef
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x41ee90
push str.Microsoft_Windows_Server_2003
jmp 0x41eeef
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x41eef6
push str.Microsoft_Windows_Server_2003_R2
jmp 0x41eeef
push str.Microsoft_Windows_XP
jmp 0x41eeef
push str.Microsoft_Windows_2000
jmp 0x41eeef
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x41eed3
cmp eax, 0xa
je 0x41eecc
cmp eax, 0x5a
jne 0x41eef6
push str.Microsoft_Windows_Me
jmp 0x41eeef
push str.Microsoft_Windows_98
jmp 0x41eeef
mov eax, dword [ebp - 0x140]
cmp eax, 2
jne 0x41eee5
push str.Microsoft_Windows_NT_4.0
jmp 0x41eeef
cmp eax, 1
jne 0x41eef6
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.00405860
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565bf6
mov esp, ebp
pop ebp
ret