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

Disassembly:
push 0xffffffffffffffff
push 0x4a9c48
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 [fcn.004ab5d8]
push 0
lea ecx, [esp + 0x20]
call fcn.004a1ced
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0046a670
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.004a1c1b
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.0049e4d9
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.0049e4d9
push 1
push 0
push 0
mov ecx, esi
call fcn.0049e481
push 1
push 0
push 1
mov ecx, esi
call fcn.0049e481
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], reloc.WINMM.dll_midiStreamOut
call fcn.004a1d5f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x46ae50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a9c68
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.004a1ced
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0046a670
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.004a1c1b
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.004ab5d8]
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 0x46af14
cmp dword [esp + 0x40], 1
jne 0x46af12
cmp ecx, eax
jge 0x46af14
mov eax, ecx
cmp eax, 0xc8
jge 0x46af20
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0046acd0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.004ab5d4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], reloc.WINMM.dll_midiStreamOut
call fcn.004a1d5f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x46b690
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a9cd3
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.0049c8f7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4ceea0
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], 0x4cd0f8
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 [fcn.004ab0fc]
push eax
mov ecx, edi
call fcn.004a1f95
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a34b1
test eax, eax
je 0x46b7ac
mov ecx, dword [esp + 0x3c]
call fcn.004a1fc2
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004ab5f8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x46b770
push edi
mov ecx, esi
call fcn.0049f627
mov ecx, esi
call fcn.0046b910
cmp dword [esp + 0x38], 1
jne 0x46b7a5
or ecx, reloc.WINMM.dll_midiStreamOut
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.0049f762
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 0x46e1e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46e213
push esi
call fcn.004712f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46e20c
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 0x46e299
mov eax, dword [esi + reloc.WINMM.dll_midiStreamOut]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46e282
mov eax, dword [esi + 8]
test eax, eax
je 0x46e237
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + reloc.WINMM.dll_midiStreamOut]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46e27e
cmp eax, 2
je 0x46e282
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46e22a
cmp eax, 3
je 0x46e25d
cmp eax, 1
jne 0x46e22a
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 0x46e22a
mov edx, dword [esi + reloc.WINMM.dll_midiStreamOut]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46e22a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046e2c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46e2a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046e2c0
add esp, 4
pop esi
ret

Function at 0x47d330
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cda88
push 0x48c844
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], reloc.WINMM.dll_midiStreamOut
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.0048ad20
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e120
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.0048b600
mov eax, dword [esp + reloc.WINMM.dll_midiStreamOut]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push 0x4e6e30
push ecx
call fcn.0048c302
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [fcn.004ab294]
mov esi, eax
cmp esi, reloc.WINMM.dll_midiStreamOut
je 0x47e2cd
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, reloc.WINMM.dll_midiStreamOut
mov dword [esp + 0x14], eax
mov ebx, dword [fcn.004ab298]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, reloc.WINMM.dll_midiStreamOut
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x47e2cd
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov edx, dword [esp + reloc.WINMM.dll_midiStreamOut]
push ecx
push 0
lea eax, reloc.WINMM.dll_midiStreamOut
push edx
push eax
call fcn.0047e2e0
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov edx, dword [esp + reloc.WINMM.dll_midiStreamOut]
push ecx
push 0
lea eax, reloc.WINMM.dll_midiStreamOut
push edx
push eax
call fcn.0047e2e0
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov edx, dword [esp + reloc.WINMM.dll_midiStreamOut]
push ecx
push 0
lea eax, reloc.WINMM.dll_midiStreamOut
push edx
push eax
call fcn.0047e2e0
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov edx, dword [esp + reloc.WINMM.dll_midiStreamOut]
push ecx
push 1
lea eax, reloc.WINMM.dll_midiStreamOut
push edx
push eax
call fcn.0047e2e0
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
add esp, 0x40
xor eax, eax
lea edi, reloc.WINMM.dll_midiStreamOut
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, reloc.WINMM.dll_midiStreamOut
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x47e2cd
mov edi, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov edx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov eax, dword [esp + reloc.WINMM.dll_midiStreamOut]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov edx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [fcn.004ab368]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x480190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aa330
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.0047fd40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047fdc0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047fdc0
lea ecx, [esi + 0xc]
call fcn.0049b2a9
lea ecx, [esi + 0x10]
call fcn.0049b2a9
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00481350
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00481350
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00481350
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0049b31e
lea ecx, [esp + 4]
mov dword [esp + 0x14], reloc.WINMM.dll_midiStreamOut
call fcn.0049b31e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5fce85
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
jmp 0x5fce98
movzx ebx, byte [eax]
movzx edx, byte [eax + 1]
movzx edi, byte [eax + 5]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 2]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 6]
shl edx, 8
or byte [ebx], dh
xlatb

Function at 0x60a26e
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esi, 0x33ddb594
call fcn.0060a43a
invalid
push word [esp + 1]
jmp 0x60a2e6
lea esp, [esp + 2]
mov dword [esp + 0x8c], edi
lea esp, [esp + 0x8c]
pushfd
xchg si, bp
jmp 0x60a2fa
push dword [esp]
pop word [esp + 0x1d]
mov word [esp + 0x14], di
pop dword [esp + 0x10]
pushal
jmp 0x60a2a2
push esp
mov byte [esp + 8], ch
push dword [esp + 4]
lea esp, [esp + 2]
mov dword [esp + 0x54], esi
pushal
jmp 0x60a2cb
rdtsc
inc bp
jmp 0x60a5dd
shr ch, 5
jmp 0x60a56b
mov ecx, esi
stc
jne 0x60a406
mov dl, byte [esp]
inc dx
mov bx, sp
jmp 0x60a1f1
call 0x60a326
invalid
mov ebp, esp
mov ecx, dword [esp]
lea ecx, [ecx + 0x53]
not cx
rcl dx, cl
jg 0x60a35b
jle 0x60a343
mov ebp, 0x36dbbc2e
test byte [edi + 0x2474ff86], bh
push dword [esp + 2]
not bx
pop dword [esp]
mov ah, byte [esp + 1]
jmp 0x60a3cf
mov ebp, 0xb9c47de8
lea ebp, [ebx + edi]
xchg ebp, eax
sub esp, 0xc0
jmp 0x60a374
lea ecx, [ecx - 0x1d]
mov bl, 0xa0
rol bx, cl
shl ax, cl
mov dx, word [esp]
jmp 0x60a45d
stc
mov cx, 0xec79
jmp 0x60a4d8
inc dx
mov bx, sp
jmp 0x60a1f1
mov dl, byte [esp]
jmp 0x60a3ef
mov ebx, 0x19678c2e
push dword [esp + 0x10]
ret 0x14
xchg dx, ax
xchg dword [esp + 4], ecx
rcr dh, 5
sub esp, 0x10
pop dword [esp + 2]
stc
jmp 0x60a42e
stc
mov cx, 0xec79
lea edi, [esp]
mov ebx, dword [esp]
jmp 0x60a3bd
mov esi, dword [esp + 0x28]
rdtsc
add edi, ebp
jbe 0x60a4d3
ja 0x60a3e5
jp 0x60a304
shr ch, 5
jmp 0x60a56b

Function at 0x6154c2
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
pushal
lea esp, [esp + 0x20]
jmp 0x5ff2a0
jmp 0x6154a9
Function at 0x436000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x436175
cmp dword [esp + 0x54], 0x40
jne 0x436175
cmp word [esp + 0x10], 0x5a4d
jne 0x436175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x436175
lea eax, [esp + 0x54]
push 0
push eax
push 0xf8
push 0x43c960
push esi
call ebx
test eax, eax
je 0x436175
cmp dword [esp + 0x54], 0xf8
jne 0x436175
cmp dword [0x43c960], 0x4550
jne 0x436175
mov eax, dword [0x43c976]
test ah, 0x20
jne 0x436175
mov edx, dword [0x43ca80]
xor eax, eax
mov ax, word [0x43c966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x43ca58], eax
je 0x436175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x43ca6c], eax
xor eax, eax
mov ax, word [0x43c966]
mov edx, dword [0x43ca58]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x436175
cmp dword [esp + 0x54], edi
jne 0x436175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x43ca80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x43c9b4]
cmp edx, eax
ja 0x436175
mov edi, dword [0x43ca58]
mov ecx, dword [0x43c988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x436175
xor eax, eax
push 2
mov ax, word [0x43c966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x436175
cmp dword [edi - 0x20], ebx
ja 0x436175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x438769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43c190
cmp edx, dword [eax]
je 0x43878b
add eax, 8
inc ecx
cmp eax, 0x43c220
jl 0x43877c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43c190]
jne 0x4388b9
mov eax, dword [0x43cbb0]
cmp eax, 1
je 0x438893
test eax, eax
jne 0x4387bc
cmp dword [0x43c0e4], 1
je 0x438893
cmp edx, 0xfc
je 0x4388b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4387f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00439670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00439490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x438836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00439490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43b45c
push edi
call fcn.00439f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00439670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00439680
lea eax, [ebp - 0xa0]
push 0x43b43c
push eax
call fcn.00439680
push dword [esi + 0x43c194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00439680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00439e75
add esp, 0x2c
pop edi
jmp 0x4388b9
lea eax, [ebp + 8]
lea esi, [esi + 0x43c194]
push 0
push eax
push dword [esi]
call fcn.00439490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x65ff0329
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x3d1d258e
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x1403e
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00014005
pop ebp
jmp fcn.00011128
Function at 0x401030
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
push esi
call fcn.004010d0
add esp, 4
test eax, eax
je 0x401090
push edi
push str.Setup
push str.Param
push esi
call fcn.004010a0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x401090
push eax
lea eax, [esp + 8]
push eax
push edx
call fcn.004014d0
add esp, 0xc
test eax, eax
je 0x401090
lea ecx, [esp + 4]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop esi
add esp, 0x104
ret

Function at 0x4011f0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebp, ebp
push edi
je 0x401203
mov dword [ebp], 0
mov eax, dword [esp + 0x14]
push 0x40604c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x401364
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call edi
add esp, 0xc
test eax, eax
push esi
jne 0x40135b
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
cmp eax, 1
mov dword [esp + 0x18], eax
jl 0x40135a
cmp eax, 0x6400000
jg 0x40135a
push 0
push 0
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x40135a
mov ecx, dword [esp + 0x18]
inc ecx
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebx, eax
test ebx, ebx
push esi
je 0x40135b
mov edx, dword [esp + 0x1c]
push edx
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, 1
jge 0x4012bc
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov byte [eax + ebx], 0
mov edi, str.__TEXT
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.__TEXT
push ebx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x401353
test ebp, ebp
je 0x4012ee
mov dword [ebp], 1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.004032f0
add esp, 0xc
mov ebp, eax
test ebp, ebp
push ebx
jne 0x401318
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [esp + 0x1c]
inc edx
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, ecx
mov esi, ebp
mov edi, ebx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov byte [ecx + ebx], 0
call fcn.00403360
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x403380
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
jne 0x403395
or eax, 0xffffffff
pop esi
mov dword [0x406470], eax
not eax
ret
mov esi, dword [esp + 0xc]
mov eax, dword [0x406470]
test esi, esi
je 0x4033c2
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x406070]
xor eax, edx
inc ecx
dec esi
jne 0x4033a3
pop ebx
mov dword [0x406470], eax
pop esi
not eax
ret
Function at 0x4188c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48e62b
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.00482d01
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x418942
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004809f0
mov eax, dword [eax]
push 0x572210
push eax
call fcn.00472e14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00482f8c
test bl, bl
je 0x418942
push 0x572210
lea ecx, [esp + 0xc]
call fcn.0048331c
push 0x575d8c
lea ecx, [esp + 0xc]
call fcn.0048331c
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 0x41897e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00482f8c
jmp 0x418a49
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 0x418a02
lea edx, [esp + 0x7c]
push 0x575d88
push edx
call fcn.00472e14
add esp, 8
test eax, eax
je 0x418a02
lea eax, [esp + 0x7c]
push 0x575d84
push eax
call fcn.00472e14
add esp, 8
test eax, eax
je 0x418a02
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 0x418992
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.00482f8c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4