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

Disassembly:
push edx
mov ebp, 0xafdcb542
lodsb al, byte [esi]
xchg ebp, eax
xor ch, byte [edx + 0x6c08b34a]
or edi, dword [eax]
add edi, dword [esi + esi*2 - 0x71]
dec edx
xchg dh, bh
ror byte [esi - 0x3e0c044a], 0xb1
cmp eax, 0x625287e3
stosb byte es:[edi], al
mov al, 0xe2
idiv byte [edx + edx*4 + 0xf]
push edx
inc esi
inc ebx
xor eax, 0x2781d4ce
jmp 0xe2b9389c
cwde
loopne 0x588b67
jne 0x588b08
add cl, byte [edi + 0x7f]
add cl, byte [eax - 0x2e]
mov dword [0x26230e37], eax
pop es
cld
test byte [ebx + esi*8], bh
stc
mov byte [ecx + esi - 0x43], ah
adc esi, dword es:[edx - 0x7eac0457]
add dword [edi - 0x4c62fc35], 0xda42fc84
xchg esi, eax
add dword [edx - 0x18408301], esp
mov dh, 0x37
sub dword [eax + 0x32263351], 0x59
invalid
je 0x588bfc
add dword [edi - 0x4c62fc35], 0xda42fc84
xchg esi, eax
add dword [edx - 0x18408301], esp
mov dh, 0x37
sub dword [eax + 0x32263351], 0x59
adc dh, byte [ebp + ebp*2 + 0x5e]
pop esi
lahf
xchg ebp, eax
movsd dword es:[edi], dword [esi]
jl 0x588b98
pop es
dec eax
sbb ebx, edx
sub byte [eax + 0x12], ch
jg 0x588ba2
shr dword [eax], cl
push 0x14047f12
mov al, byte [0x83893077]
invalid
mov ds, ebx
jbe 0x588bda
adc al, 0xa0
ja 0x588bd2
mov dword [ebx + 0x3276db8e], eax
fdivr dword [edi + 0x6180e23d]
test byte [ecx - 0x54694b4e], dh
in eax, dx
sbb al, 0x63
jle 0x588be5
dec esi
adc edx, dword [edx - 0x56]
je 0x588b52
mov al, byte [0x915ee1b4]
popal
rol dword [ebx + 0x2634fa78], cl
cdq
pushfd
shl byte [edx + 0x4d], cl
insb byte es:[edi], dx
xchg ebx, eax
add dword [edx], esp
rcr byte [eax + 0x41337b1c], cl
sbb al, 0x7b
xor eax, dword [ecx + 0x44]
inc ecx
inc esp
xchg edx, eax
jl 0x588bd7
adc dword [ecx + ebx*8 - 0x3cc28a32], 0x5310bfd7
fstp qword [0xb331e0e8]
adc bh, byte [eax]
xchg ecx, eax
push edi
sbb dword [esi - 0x6a8dba8e], edi
and ebx, dword [edx - 0x1d4ed8ce]
ret
xor ah, byte [edi]
mov cl, 0xe2
mov ah, 0x75
xor eax, 0xd2c3cd1a
inc dword [edx - 0x5d]
dec ecx
daa
mov al, 0x13
imul ebp, dword [eax], 0x6e
inc ebx
add eax, 0x3164829e
lodsd eax, dword [esi]
ficomp dword [ebp - 0x10]
add byte [edx], al
cmc
xchg edx, eax
cli
mov dl, 0xdf
push ecx
mov dl, 0xe
in eax, dx
inc edi
aam 0xa8
loop 0x588c43
out dx, eax
xor byte [edx + 0x4d], ah
push eax
sbb eax, 0x601a1ec1
mov esp, 0x1347757a
in al, dx
push edi
mov byte [0xdb5b13d5], al
invalid

Function at 0x5c132b
Capabilities:
Access peb ldr_data

Disassembly:
in al, 0
add byte [eax], al
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0xcc]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push ecx
add edi, 0xd0
push edi
push 0xffffffffffffffff
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005ca8e8
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d8f09
Capabilities:
Encode data using xor

Disassembly:
inc edx
mov bl, 0x57
mov eax, 0x2b9ac4f2
mov word [ebp + 0x77576872], cs
push 0xffffffffffffffd8
mov edi, 0x21905a75
push eax
or eax, 0x7f58e11f
fdiv qword [0x75877508]
in al, 0xf5
or byte [ecx + 0x4c], 0x62
add al, 0xb2
jo fcn.005d8f09
invalid

Function at 0x618ada
Capabilities:
Encode data using xor

Disassembly:
enter 0xffffffffffff9fdc, 0xffffffffffffffaf
movsd dword es:[edi], dword [esi]
fmul dword [esi]
cli
pop edx
outsd dx, dword [esi]
xor eax, 0xfebe65ee
dec esp
or edi, dword [ebx + 0x1b]
sub dword [eax - 0x62bed08f], esp
xchg edi, eax
fstp xword [ebx]
xor dword [edi + 0x45e282fc], ecx
invalid

Function at 0x619435
Capabilities:
Encode data using xor

Disassembly:
invalid
rol dword [edx], 1
dec esp
sbb dword [ebx + 0x16], ebp
pop ds
ror esi, 0x2b
jns 0x6193c5
dec edi
js 0x6193e1
mov eax, dword [0x37facdb0]
sti
push 0x6c
insb byte es:[edi], dx
aad 0xae
fistp qword [eax]
sub eax, 0x51a97dd6
cmp byte [0x51a97dd6], ch
xor al, 0xba
insd dword es:[edi], dx
xor dword [esp + edi + 0x39304abf], ebx
out dx, al
jecxz 0x6193e5
rol byte [ebx + 0x511b57b5], cl
push ds
imul ebp, edi, 0x3d6386cf
out dx, eax
inc edx
insd dword es:[edi], dx
push 0xf5021698
sub bl, byte [edi]
inc esp
sub dword cs:[ecx - 0x3e], esp
mov ah, 0x23
or cl, bh
and bl, byte [edi + 0x397e07b7]
xor ah, byte [0xbe7e8a11]
lcall 0x3e69, 0xf7e0f14
aas
fild dword [eax - 0x39]
sub al, 0x6d
sub edx, esp
xchg ecx, eax
inc ebp
loop 0x6193cb
lds ebx, [esi - 0x5074ed63]
sbb bl, byte [esi + 0x30]
in al, dx
out dx, al
fnsave dword [edi + 0x52b40813]
out dx, eax
ret 0x5a57

Function at 0x61c058
Capabilities:
Encode data using xor

Disassembly:
ror byte [esi - 0x46cfa832], 0xae
fidivr word [esi + 0x7d00e8d0]
cmc
push es
sub byte [0x4538bffc], 0x98
fistp word [ebx - 0x40]
loopne 0x61c074
movsb byte es:[edi], byte [esi]
mov word [esi - 0x4f], ss
push cs
push esi
mov cl, 0xe
test cl, 0
movsd dword es:[edi], dword [esi]
pop ds
push eax
push eax
fisub word [ecx - 0x35]
xchg ebp, eax
in eax, 0x97
out 0x58, eax
add byte [ebp + 0x1d], bh
adc byte [esi], al
movsd dword es:[edi], dword [esi]
enter 0x5dd0, 0xfffffffffffffffd
xor dword [esi], ecx
outsd dx, dword [esi]
loopne 0x61c075
rcl edi, 1
lahf
rol byte [eax - 0xd027862], 1
mov esi, 0x9aff1dba
fisubr word [edi + 0x2f81c4c9]
jg 0x61c0d5
mov al, byte [0x1b6fcdb1]
and byte [esi], bh
pop edi
pop ds
and edi, dword [eax]
sahf
xchg edx, eax
mov edi, gs
mov dh, 0x1d
mov ebx, 0x8edc9ff3
cwde
invalid
popfd
out dx, al
invalid
invalid
invalid
Function at 0x431005
Capabilities:
Encode data using xor

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2a7604d6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2a4b2a8f
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x407054], 1
mov dword [0x407058], 1
mov dword [0x40705c], 1
mov dword [0x407048], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x401415
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401438
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x40145a
cmp eax, 0x20b
je 0x40147f
jmp 0x4014aa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x40146c
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x401497
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, 0
leave
ret

Function at 0x401a18
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00402a58
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00402a58
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x402568
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x402587
mov eax, 0
jmp 0x4025cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x4025aa
mov eax, 0
jmp 0x4025cb
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x4025c6
mov eax, 0
jmp 0x4025cb
mov eax, 1
leave
ret
Function at 0x4025cd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x40262c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x402624
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x402624
mov eax, dword [ebp - 4]
jmp 0x402640
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x402601
mov eax, 0
leave
ret

Function at 0x402cb8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push edi
mov ecx, 8
push esi
mov esi, 0x405044
push ebx
sub esp, 0x250
mov eax, dword [0x407040]
mov dword [esp + 0x24c], eax
xor eax, eax
lea edi, [esp + 0x2c]
mov ebx, dword [esp + 0x260]
rep movsd dword es:[edi], dword [esi]
mov edx, eax
mov byte [esp + eax + 0x14c], al
and edx, 0x1f
mov dl, byte [esp + edx + 0x2c]
mov byte [esp + eax + 0x4c], dl
inc eax
cmp eax, 0x100
jne 0x402ce6
xor esi, esi
xor edi, edi
movzx eax, byte [esp + esi + 0x14c]
add eax, edi
add al, byte [esp + esi + 0x4c]
movzx edi, al
lea eax, [esp + 0x14c]
add eax, esi
inc esi
mov dword [esp + 4], eax
lea eax, [esp + 0x14c]
add eax, edi
mov dword [esp], eax
call fcn.00402c60
cmp esi, 0x100
jne 0x402d06
mov edi, dword [esp + 0x264]
xor esi, esi
xor eax, eax
add edi, ebx
cmp edi, ebx
je 0x402d9d
lea edx, [esi + 1]
lea ecx, [esp + 0x14c]
movzx esi, dl
add al, byte [esp + esi + 0x14c]
movzx eax, al
lea edx, [ecx + eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], edx
lea edx, [ecx + esi]
mov dword [esp], edx
call fcn.00402c60
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + eax + 0x14c]
add dl, byte [esp + esi + 0x14c]
movzx edx, dl
mov dl, byte [esp + edx + 0x14c]
xor byte [ebx], dl
inc ebx
jmp 0x402d4b
mov eax, dword [esp + 0x24c]
sub eax, dword [0x407040]
je 0x402db1
call fcn.00401760
mov eax, dword [esp + 0x264]
add esp, 0x250
pop ebx
pop esi
pop edi
ret
Function at 0x402dc4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x15c]
mov esi, 0x405064
push ebx
sub esp, 0x17c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x11c], 0
mov eax, dword [0x407040]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov eax, 0x10
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x118]
mov eax, ecx
mov ecx, 0x3f
rep stosd dword es:[edi], eax
movzx edx, byte [ebp + eax - 0x15c]
mov byte [ebp + edx - 0x11c], al
inc eax
cmp eax, 0x40
jne 0x402e0a
xor edx, edx
test byte [ebp + 0xc], 3
jne 0x402fa2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
shr edx, 2
cmp byte [ebx + eax - 1], 0x3d
lea edx, [edx + edx*2]
jne 0x402e3f
dec edx
mov eax, dword [ebp + 0xc]
cmp byte [ebx + eax - 2], 0x3d
jne 0x402e4a
dec edx
lea eax, [edx + 0xf]
shr eax, 4
shl eax, 4
call fcn.00402944
mov ecx, 0
mov dword [ebp - 0x170], 0
sub esp, eax
test edx, edx
cmovns ecx, edx
mov edi, esp
xor eax, eax
mov dword [ebp - 0x174], esp
xor esi, esi
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp + 0xc]
jb 0x402e98
mov esi, dword [ebp - 0x174]
mov edi, ebx
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
jmp 0x402fa2
mov eax, dword [ebp - 0x170]
xor edi, edi
movzx eax, byte [ebx + eax]
cmp al, 0x3d
je 0x402eb0
movzx edi, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x170]
movzx eax, byte [ebx + eax + 1]
cmp al, 0x3d
je 0x402ed7
movzx eax, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x170]
movzx eax, byte [ebx + eax + 2]
cmp al, 0x3d
je 0x402efe
movzx eax, byte [ebp + eax - 0x11c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x170]
xor ecx, ecx
add dword [ebp - 0x170], 4
movzx eax, byte [ebx + eax + 3]
cmp al, 0x3d
je 0x402f20
movzx eax, byte [ebp + eax - 0x11c]
mov ecx, eax
mov dword [ebp - 0x16c], esi
cmp edx, esi
ja 0x402f35
mov esi, dword [ebp - 0x16c]
jmp 0x402e7c
mov eax, dword [ebp - 0x178]
shl edi, 0x12
inc dword [ebp - 0x16c]
shl eax, 0xc
add eax, edi
mov edi, dword [ebp - 0x17c]
shl edi, 6
add eax, edi
mov edi, dword [ebp - 0x174]
add eax, ecx
mov ecx, eax
shr eax, 0x10
mov byte [edi + esi], al
cmp edx, dword [ebp - 0x16c]
jbe 0x402f2a
lea eax, [esi + 2]
mov dword [ebp - 0x178], eax
mov eax, edi
mov edi, dword [ebp - 0x16c]
mov byte [eax + edi], ch
lea eax, [esi + 2]
mov dword [ebp - 0x16c], eax
cmp edx, eax
jbe 0x402f2a
lea eax, [esi + 3]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x174]
mov byte [eax + esi + 2], cl
jmp 0x402f2a
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x407040]
je 0x402fb2
call fcn.00401760
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402fbc
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x402ff9
cmp word [ebx + 0x24], 0
je 0x402ff7
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll__wcsicmp
test eax, eax
jne 0x402ff3
mov ebx, dword [ebx + 0x10]
jmp 0x402ff9
mov ebx, dword [ebx]
jmp 0x402fcc
xor ebx, ebx
add esp, 0x18
mov eax, ebx
pop ebx
ret 4

Function at 0x403004
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
cmp word [ebx], 0x5a4d
jne 0x403083
mov edx, dword [ebx + 0x3c]
add edx, ebx
cmp dword [edx], 0x4550
jne 0x403083
mov eax, dword [edx + 0x78]
xor esi, esi
add eax, ebx
mov ecx, dword [eax + 0x14]
mov ebp, dword [eax + 0x20]
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x24]
add ebp, ebx
add ecx, ebx
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x14], esi
je 0x403081
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
lea eax, [ebx + eax*4]
mov eax, dword [eax + edi]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + esi*4]
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x40307e
mov eax, dword [esp + 0x18]
add eax, ebx
jmp 0x403083
inc esi
jmp 0x403044
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x4010d0
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x84376c], 0x594
mov dword [ebp - 8], eax
jne 0x4010f9
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x423f68]
mov edx, dword [str.Qt]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
call fcn.004010c0
mov eax, dword [0x423f70]
mov ecx, dword [0x423f74]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x84376c]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40118e
push ebx
lea edx, [ebp - 0x38]
push edx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
xor eax, eax
xor ecx, ecx
lea edx, [ebp - 0x3c]
push edx
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], cx
mov eax, dword [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84376c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x4011a8
mov dword [0x843768], 0xedeb2e40
jmp 0x4011c8
cmp ecx, 0x3eb
jne 0x4011c8
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x84311c], ebx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
add edx, edi
mov dword [ebp - 0x14], edx
mov edx, edi
shr edx, cl
mov dword [0x843764], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
shr esi, cl
mov ecx, dword [ebp - 0x14]
push ecx
push edx
add esi, dword [ebp - 0x34]
call fcn.004010a0
cmp dword [0x84376c], 0xb03
mov dword [ebp - 4], eax
jne 0x401251
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
lea eax, [ebp - 0x18]
call fcn.00401090
sub dword [ebp - 0x20], 1
jne 0x401135
cmp dword [0x84376c], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401297
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e7c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x41e7e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e7d8
mov eax, 1
add ebx, ebx
jne 0x41e7fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e7f0
jne 0x41e80c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e7f0
xor ecx, ecx
sub eax, 3
jb 0x41e820
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e892
mov ebp, eax
add ebx, ebx
jne 0x41e82b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e85c
inc ecx
add ebx, ebx
jne 0x41e848
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e83d
jne 0x41e859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e83d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e87c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e86d
jmp 0x41e7de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e87c
add edi, ecx
jmp 0x41e7de
pop esi
mov edi, esi
mov ecx, 0x88
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e89a
cmp byte [edi], 3
jne 0x41e89a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41e89f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e917
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x204f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20570]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e8cc
mov ecx, edi
jns 0x41e8fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20578]
or eax, eax
je 0x41e911
mov dword [ebx], eax
add ebx, 4
jmp 0x41e8e9
call dword [esi + 0x20574]
mov ebp, dword [esi + 0x2057c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e94b
sub esp, 0xffffff80
jmp 0x401745

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x43bcc8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043bb3e
Function at 0x4019f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str._system32777.dll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401a5f
cmp dword [ebp - 0x118], 0
je 0x401a5f
jmp 0x401ac3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x401ac3
mov dword [ebp - 0x11c], 0x15f
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x438274], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x438290], ecx
mov dword [ebp - 0x11c], 0x15f
mov dword [ebp - 0x11c], 0x15f
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x43828c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.004013b0
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x401a5f
mov esp, ebp
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x53266ded
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0xb8b3fc1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
jmp 0x401219