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

Disassembly:
push 0xffffffffffffffff
push 0x4cac48
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 [0x4cd5ec]
push 0
lea ecx, [esp + 0x20]
call fcn.004c2f8e
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00459640
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.004c2ebc
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.004bf77f
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.004bf77f
push 1
push 0
push 0
mov ecx, esi
call fcn.004bf727
push 1
push 0
push 1
mov ecx, esi
call fcn.004bf727
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004c3000
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x459e60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4cac68
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.004c2f8e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00459640
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.004c2ebc
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4cd5ec]
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 0x459f24
cmp dword [esp + 0x40], 1
jne 0x459f22
cmp ecx, eax
jge 0x459f24
mov eax, ecx
cmp eax, 0xc8
jge 0x459f30
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00459ce0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4cd5e8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004c3000
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x45a720
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4cad13
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.004bdb9b
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 [0x4cd150]
push eax
mov ecx, edi
call fcn.004c3236
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004c4752
test eax, eax
je 0x45a83c
mov ecx, dword [esp + 0x3c]
call fcn.004c3263
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4cd60c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x45a800
push edi
mov ecx, esi
call fcn.004c08c6
mov ecx, esi
call fcn.0045a9e0
cmp dword [esp + 0x38], 1
jne 0x45a835
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.004c0a01
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 0x45ca30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45ca63
push esi
call fcn.0046ae00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45ca5c
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 0x45cae9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45cad2
mov eax, dword [esi + 8]
test eax, eax
je 0x45ca87
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 0x45cace
cmp eax, 2
je 0x45cad2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45ca7a
cmp eax, 3
je 0x45caad
cmp eax, 1
jne 0x45ca7a
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 0x45ca7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45ca7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045cb10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45caf8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045cb10
add esp, 4
pop esi
ret
Function at 0x4826a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cb320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00482250
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004822d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004822d0
lea ecx, [esi + 0xc]
call fcn.004bc54a
lea ecx, [esi + 0x10]
call fcn.004bc54a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00483860
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00483860
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00483860
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004bc5bf
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004bc5bf
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4858e0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x12f902c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4858f3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x485934
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x12f90d4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x485966
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48596a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x48595b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x485988
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48598c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x48597d
xor ecx, ecx
mov eax, 0x12f903c
xor ebx, ebx
mov bl, byte [ecx + 0x12f90e4]
cmp byte [esp + ebx + 0x14], 0
je 0x4859b7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x12f90fc]
cmp byte [esp + ebx + 0x14], 0
je 0x4859ce
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x48599e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x485927
lea edx, [esp + 0x84]
push edx
call fcn.00485a10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x48a1a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1333a78]
xor edx, edx
cmp eax, edx
jne 0x48a1c6
xor eax, eax
mov byte [eax + 0x1333978], al
inc eax
cmp eax, 0x100
jl 0x48a1ae
mov dword [0x1333a78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1333978
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x48a257
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48a22a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x48a1f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x48a2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x48a323
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48a30a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x490cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cb73e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004915e0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x12157f4
call fcn.004bc300
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x490d53
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004bc300
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x490d4c
push 0
mov ecx, eax
call fcn.00487de0
mov dword [esi + 0xc], eax
jmp 0x490d55
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x490d55
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40c47f
pop dword [ebp - 0x40]
mov eax, 0x869abe9d
sub eax, 0x8659fa1e
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd9766be0
add dword [ebp - 0x50], 0x74dbd96b
mov dword [ebp - 0x4c], 0xdb596de1
add dword [ebp - 0x4c], 0x56d9de64
mov dword [ebp - 0x48], 0xfe788b11
sub dword [ebp - 0x48], 0xb22c46e3
mov dword [ebp - 0x44], 0x172d21da
add dword [ebp - 0x44], 0xe8d2de26
lea eax, [ebp - 0x50]
push eax
mov eax, 0x2cfb4a28
sub eax, 0x2cb919b4
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x3646f0dc
add dword [ebp - 0x50], 0x3e2b787a
mov dword [ebp - 0x4c], 0xbf148ebb
add dword [ebp - 0x4c], 0x8257d2ba
mov dword [ebp - 0x48], 0x9f14550b
add dword [ebp - 0x48], 0xc45b1761
mov dword [ebp - 0x44], 0x8ba8c16b
sub dword [ebp - 0x44], 0x8ba8c16b
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xfffe1639
add eax, 0x441aeb
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3fc33
push 0
call eax
mov ecx, 0x5e204868
sub ecx, 0x5e1ff818
mov edx, eax
mov ebx, 0x434400
add ebx, dword [ebp - 0x40]
mov edi, 0xaba74557
add edi, 0x5549d3c0
xor dword [ebp - 0x34], 0xdd48937c
mov esi, dword [ebx]
xor dword [ebp - 0x28], 0x4a9858c1
add esi, edi
add dword [ebp - 4], esi
mov dword [edx], esi
add dword [ebp - 0x1c], ecx
add edx, 0xf0bbe132
add edx, 0xf441ed2
add ebx, 4
loop 0x40c59b
add eax, 0x13413
xor ebx, ebx
add ebx, eax
add eax, 0x906de137
add eax, 0x6f921ece
mov ecx, 0x5e8f081a
add ecx, 0xa1b0f7e6
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x100014d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
cmp ax, 3
jne 0x100015e0
test ebx, ebx
je 0x100015e0
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [ebp - 0x10], ecx
call sym._DeviceCapabilitiesA_20
sub esp, 0x14
test eax, eax
jle 0x100015d1
shl eax, 3
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x10]
sub esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [esp], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], edi
call sym._DeviceCapabilitiesA_20
sub esp, 0x14
mov esi, eax
test eax, eax
jle 0x100015a8
mov eax, dword [ebp - 0x10]
lea edx, [ebx + 2]
add eax, 4
lea ebx, [eax + esi*8]
lea esi, cs:[esi]
nop
mov ecx, dword [eax - 4]
add eax, 8
add edx, 4
mov word [edx - 6], cx
mov ecx, dword [eax - 8]
mov word [edx - 4], cx
cmp eax, ebx
jne 0x10001590
mov edi, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
movzx eax, ax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], esi
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x10], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym._DeviceCapabilitiesA_20
Function at 0x10002020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10002078
cmp byte [esi + ebx - 1], 0xa
je 0x1000204c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100032d8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x4076ca
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040787a
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4077c8
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40776b
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4077ae
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x407782
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40779d
test al, 0x40
je 0x407794
mov ecx, dword [edi + 0x20]
jmp 0x40779b
test al, 0x80
je 0x4077ae
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4077ae
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40773a
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret

Function at 0x40787a
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push ebx
push ecx
push edx
push esi
xor ecx, ecx
mov esi, dword fs:[ecx + 0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x20]
mov esi, dword [esi]
cmp byte [edi + 0x18], cl
jne 0x407896
nop
nop
mov dword [ebp - 0x94], eax
push ebp
mov ebp, eax
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + eax + 0x78]
add edx, ebp
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, ebp
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, ebp
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4078bf
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4078bf
mov ebx, dword [edx + 0x24]
add ebx, ebp
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, ebp
mov eax, dword [ebx + ecx*4]
add eax, ebp
pop ebp
pop esi
pop edx
pop ecx
pop ebx
mov dword [ebp - 0x90], eax
mov cl, 0x72
mov dl, 0x61
mov al, 0x65
xor bl, bl
mov byte [ebp - 0x8c], 0x56
mov byte [ebp - 0x8b], 0x69
mov byte [ebp - 0x8a], cl
mov byte [ebp - 0x89], 0x74
mov byte [ebp - 0x88], 0x75
mov byte [ebp - 0x87], dl
mov byte [ebp - 0x86], 0x6c
mov byte [ebp - 0x85], 0x50
mov byte [ebp - 0x84], cl
invalid
test dword [ebp - 1], edi
invalid
Function at 0x414090
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af1cb
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.004a3932
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414112
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a1323
mov eax, dword [eax]
push 0x15f1cd0
push eax
call fcn.00492cd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a3bbd
test bl, bl
je 0x414112
push 0x15f1cd0
lea ecx, [esp + 0xc]
call fcn.004a3f4d
push 0x15f1cdc
lea ecx, [esp + 0xc]
call fcn.004a3f4d
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 0x41414e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a3bbd
jmp 0x414219
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 0x4141d2
lea edx, [esp + 0x7c]
push 0x15f1cd8
push edx
call fcn.00492cd4
add esp, 8
test eax, eax
je 0x4141d2
lea eax, [esp + 0x7c]
push 0x15f1cd4
push eax
call fcn.00492cd4
add esp, 8
test eax, eax
je 0x4141d2
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 0x414162
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.004a3bbd
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 0x414ea0
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 0x414f02
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 0x414f10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af28b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1607458]
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 0x415048
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414f76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a3bbd
xor eax, eax
jmp 0x4150bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a3cfa
push esi
lea ecx, [esp + 0xc]
call fcn.004a3f89
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x15f1d18
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41509d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00414ea0
test eax, eax
jne 0x41509d
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.00414ea0
test eax, eax
jne 0x41509d
lea eax, [esp + 0x14]
push 0x15f1cf4
push eax
call fcn.00493d50
mov esi, eax
add esp, 8
test esi, esi
jne 0x41507c
lea ecx, [esp + 0x14]
push 0x15f1cf0
push ecx
call fcn.00493cd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41507c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41507f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a3caa
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x414f8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a3bbd
xor eax, eax
jmp 0x4150bf
mov byte [esi], 0
push 0x15f1cec
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.004a3bbd
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