joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4913f5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b9b70
push 0x4b9b68
push str.FlsGetValue
push 0x20
call fcn.00491260
mov esi, eax
add esp, 0x10
test esi, esi
je 0x49142c
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b54fc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x494e1c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e3050]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x494e67
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00494fbb
test al, al
jne 0x494e61
sub edx, 2
cmp edx, edi
jne 0x494e47
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x494e89
lea eax, [edi + 2]
cmp edx, eax
je 0x494e89
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00494d68
add esp, 0x10
jmp 0x494f83
push esi
lea ecx, [ebp - 0x255]
call fcn.00494fbb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x494ecc
push dword [ebp - 0x25c]
jmp 0x494e79
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x494f09
cmp word [ebp - 0x226], 0
je 0x494f2a
cmp word [ebp - 0x226], ax
jne 0x494f09
cmp word [ebp - 0x224], 0
je 0x494f2a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00494d68
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x494f76
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x494ee3
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x494f5e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x494f83
push 0x494b98
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0049bd20
add esp, 0x10
jmp 0x494f53
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d4df
leave
ret
Function at 0x499efe
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 + 0x4e4ee8]
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 0x499f3e
cmp byte [ebx], 0xa
jne 0x499f3e
or byte [eax + edi + 0x28], 4
jmp 0x499f43
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x49a041
mov al, byte [edx]
cmp al, 0x1a
je 0x49a023
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x499f72
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x499f97
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x499fa1
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 0x499f54
jmp 0x49a041
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 0x49a01e
cmp dword [ebp - 0xc], 0
je 0x49a01e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4e4ee8]
test byte [eax + edi + 0x28], 0x48
je 0x499ff8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x499fe3
mov byte [esi], dl
jmp 0x499ff4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4e4ee8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x49a041
cmp byte [ebp - 1], 0xa
jne 0x49a007
cmp esi, ebx
jne 0x49a007
mov byte [esi], 0xa
jmp 0x49a040
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00490132
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x49a041
mov byte [esi], 0xd
jmp 0x49a040
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4e4ee8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49a03d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x49a041
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49a04a
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 + 0x4e4ee8]
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 0x49a08d
cmp word [esi], dx
jne 0x49a08d
or byte [edi + eax + 0x28], 4
jmp 0x49a092
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 0x49a1e5
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 0x49a1c5
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x49a0d4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x49a10a
cmp eax, edx
jae 0x49a116
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 0x49a0ac
jmp 0x49a1e5
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 0x49a1c1
cmp dword [ebp - 0x14], 0
je 0x49a1c1
mov eax, dword [ebx*4 + 0x4e4ee8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x49a199
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x49a162
mov word [esi], cx
jmp 0x49a195
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4e4ee8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4e4ee8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4e4ee8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x49a1e5
pop ebx
cmp word [ebp - 4], bx
jne 0x49a1aa
cmp esi, dword [ebp + 0xc]
jne 0x49a1aa
mov word [esi], bx
jmp 0x49a1e2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00490132
add esp, 0x10
cmp word [ebp - 4], bx
je 0x49a1e5
push 0xd
jmp 0x49a1de
mov ecx, dword [ebx*4 + 0x4e4ee8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49a1dc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x49a1e5
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 0x49c985
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0049c901
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x49cafd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x49cafd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x49caac
jg 0x49c9de
test eax, eax
je 0x49caa2
push 1
push 0x1000
call fcn.0048f1b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x49ca04
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x49ca99
push 0x8000
push ebx
call fcn.0048bb91
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x49ca30
jg 0x49ca2b
cmp ecx, 0x1000
jb 0x49ca30
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0048fceb
add esp, 0x10
cmp eax, 0xffffffff
je 0x49ca75
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x49ca2b
jl 0x49ca5c
test ecx, ecx
jne 0x49ca1d
push dword [ebp - 0xc]
push ebx
call fcn.0048bb91
push esi
call fcn.0048db21
add esp, 0xc
xor edi, edi
jmp 0x49cb0e
cmp byte [edi + 0x24], 0
je 0x49ca8c
cmp dword [edi + 0x20], 5
jne 0x49ca8c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x49ca97
mov edi, dword [edi + 0x18]
jmp 0x49ca99
xor edi, edi
push esi
call fcn.0048db21
pop ecx
jmp 0x49cb0e
test ecx, ecx
jg 0x49ca6e
jl 0x49caac
test eax, eax
jae 0x49ca6e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00490132
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x49cacf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x49ca6e
jmp 0x49cb06
push ebx
call fcn.00495d73
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x49ca6e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x49cb0e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x49cb0b
mov edi, dword [edi + 0x18]
jmp 0x49cb0e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00490132
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49cf90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49cfbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49cfbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x418610
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x624
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, dword [esp + 0x63c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ebp
push 1
push edi
call ebx
push ebp
mov esi, dword [esp + 0x63c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41872d
push 0x2a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x41867b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x624
ret 8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4186b3
mov eax, dword [0x4ca7ec]
push 0x4ca4f0
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [esp + 0x14], eax
jne 0x41872d
lea ecx, [esp + 0x42c]
push ecx
push 0xffffffffffffffff
push esi
push 1
push edi
call ebx
lea edx, [esp + 0x224]
push edx
push 0xffffffffffffffff
push esi
push 4
push edi
call ebx
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push ebp
push 1
push edi
call ebx
cmp word [esi], 0
je 0x41871b
xor eax, eax
mov cl, pe_nt_image_headers32
test byte [esp + eax + 0x224], cl
je 0x41870f
mov dx, word [esp + eax + 0x42c]
cmp dx, word [esp + eax + 0x1c]
jne 0x41872d
add esi, 2
add eax, 2
cmp word [esi], 0
jne 0x4186f7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x624
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x624
ret 8

Function at 0x418740
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov dword [esp + 4], eax
mov al, byte [0x4cb9f0]
test al, al
je 0x4187ad
mov ecx, dword [0x4cba60]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
and ecx, 0xffff
cmp ecx, 0xffffd7b2
push edi
jne 0x41877a
mov eax, dword [0x4c9cdc]
test eax, eax
je 0x41877a
push 0xfffffffffffffff5
call esi
push 0xfffffffffffffff5
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0xc]
push 0
push edx
push 0x1d
push 0x4ca9c0
push eax
call edi
push 0xfffffffffffffff5
call esi
lea ecx, [esp + 0xc]
push 0
push ecx
push 2
push 0x4cba70
push eax
call edi
pop edi
pop esi
ret
mov al, byte [0x4ca548]
test al, al
jne 0x4187c7
push 0
push 0
push 0x4ca9c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret

Function at 0x4564f5
Capabilities:
Encode data using xor

Disassembly:
cwde
xor eax, 0x4e444277
mov fs, edi
sti
stosd dword es:[edi], eax
mov byte [0xea6a763a], al
invalid
Function at 0x47efb5
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0x27]
je 0x47ef5b
imul esp, dword [ebx + 0x320d67a9], 0x958c145d
or eax, 0x8c145d32
xchg ebp, eax
pushal
pop edi
dec ebp
adc edi, dword [esi]
mov dword [0x862fab2c], eax
pop eax
ror ebx, cl
pop es
aad 0x85
sub bl, byte [ebx]
outsd dx, dword [esi]
ja 0x47efc3
dec esp
stosb byte es:[edi], al
push edi
push ds
test byte [0xf086373], bl
and bh, byte [ebx]
ret
xchg esi, eax
cmp al, 0xaf
push esp
jg 0x47ef53
adc byte [ecx], dh
jno 0x47efad
add al, 0x1d
aaa
fcomp dword [ebp + 0x6cc3b6ee]
loope 0x47effd
scasd eax, dword es:[edi]
mov esi, dword [edi + 0x76]
aad 0x9a
invalid
aam 0xec
xchg ebp, eax
inc ebx
adc ebx, dword [ebx - 0x6dc474ad]
les esi, [ecx]
stosb byte es:[edi], al
movsd dword es:[edi], dword [esi]
test dword [edx], ecx
mov dword [0x73d8fcb], eax
sub dword [ecx], esi
in al, dx
xor eax, 0x292c50a
out 0x1a, eax
jne 0x47f015
dec esp
push cs
xchg ebp, eax
sub al, 0xf
add ch, byte [eax + 0x4ecdd67b]
lodsb al, byte [esi]
lea eax, [ebp - 0x4ebd2225]
add ah, byte [edi - 0x79]
pop ds
jae 0x47f049
sbb dword [edi - 0x37], eax
jl 0x47f060
sar dword [esi + 0x50], 0x16
mov esi, 0xc0f51a22
xchg esi, eax
jns 0x47f0b2
sahf
adc dword [ebx + 0x4c03c67f], 0x31
int 0x5c
or al, 0
push es
hlt
and eax, 0x25d8e351
fsubr qword [esi - 0x7e4781be]
sar byte [edx + 0x42], 0x39
retf 0xe467
lodsd eax, dword gs:[esi]
push cs
push edx
invalid

Function at 0x48c911
Capabilities:
Encode data using xor

Disassembly:
aaa
or eax, dword [eax + 0x1e628774]
pop esp
push esi
movsb byte es:[edi], byte [esi]
inc ecx
clc
mov bl, pe_nt_image_headers32
stosd dword es:[edi], eax
push ss
mov dh, 0x7b
xchg byte [ebx + edx], bh
in eax, dx
pop ebx
push es
arpl word [edx - 0x3b088470], bp
daa
inc esp
pop eax
cmp dword [esi - 0x5aaa6ee6], edx
sub dword [0x9a2515c5], esp
fnstcw word [ecx]
adc byte [edx + 0x54], bh
imul edi, dword [edx], 0x6e
xor ebp, dword [ebx - 0x2251b50a]
mov ecx, 0x5b6d87
clc
fisub dword [eax + 0x62]
je 0x48c93e
or al, 0x94
inc ecx
nop
mov al, 0x40
cmp dword [edx], 0x88513e0e
push eax
invalid

Function at 0x4a3f81
Capabilities:
Encode data using xor

Disassembly:
pop es
and dl, ch
add ebx, ebx
sub eax, ebp
mov al, cl
in al, 0x48
les esi, [ebx]
push dword [eax]
mov al, byte [0x37eb59d7]
xor edi, edi
xor byte [eax + 0x37eb59d7], ah
pop esi
sbb ebp, dword [ebx + 0x51754135]
jb 0x4a3f8d
xchg ecx, eax
xchg edx, eax
inc edx
out dx, al
xchg esp, eax
adc eax, 0x1ee727de
mov eax, dword [0xa24c0cbd]
add dword [ecx + 0xa], 0xda278011
inc ecx
or dl, byte [ecx]
and byte [edi], 0xda
mov ebx, 0x9e2ccfeb
mov dh, byte [edi + 0x6c2815ad]
mov byte [ecx + ebp*8 - 0x52], cl
xchg dword [ebp + ebp + 0x59], eax
xchg edi, eax
jl 0x4a4035
adc esp, esp
cmp ecx, ebp
in eax, dx
jmp 0x4a3fae
jecxz 0x4a4055
mov dl, 0xd
invalid
invalid
Function at 0x4bf29a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c7390
cmp edx, dword [eax]
je 0x4bf2bc
add eax, 8
inc ecx
cmp eax, 0x4c7420
jl 0x4bf2ad
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c7390]
jne 0x4bf3ea
mov eax, dword [0x4cba7c]
cmp eax, 1
je 0x4bf3c4
test eax, eax
jne 0x4bf2ed
cmp dword [0x4c72d4], 1
je 0x4bf3c4
cmp edx, 0xfc
je 0x4bf3ea
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bf324
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bf9b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bfbe0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bf367
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bfbe0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c39c0
push edi
call fcn.004c13b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bf9b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bf9c0
lea eax, [ebp - 0xa0]
push 0x4c39a0
push eax
call fcn.004bf9c0
push dword [esi + 0x4c7394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bf9c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c1324
add esp, 0x2c
pop edi
jmp 0x4bf3ea
lea eax, [ebp + 8]
lea esi, [esi + 0x4c7394]
push 0
push eax
push dword [esi]
call fcn.004bfbe0
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 0x10008e45
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10008e54
pop dword [ebp - 0x4c]
mov eax, 0x981e53
add eax, 0xf687001
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x9390d7ea
sub dword [ebp - 0x5c], 0x453e929f
mov dword [ebp - 0x58], 0x55693e24
add dword [ebp - 0x58], 0xdcca0e21
mov dword [ebp - 0x54], 0xdf27c5d
sub dword [ebp - 0x54], 0xc1a6382f
mov dword [ebp - 0x50], 0x6f0f39e0
sub dword [ebp - 0x50], 0x6f0f39e0
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xf1dce670
add eax, 0x1e23d9b4
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x30d3a2b7
add dword [ebp - 0x5c], 0x439ec69f
mov dword [ebp - 0x58], 0xf8929b8d
sub dword [ebp - 0x58], 0xb7263a18
mov dword [ebp - 0x54], 0xb8297b0e
sub dword [ebp - 0x54], 0x54ba0ea2
mov dword [ebp - 0x50], 0x879b1dc1
sub dword [ebp - 0x50], 0x879b1dc1
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x36487
push 0
call eax
mov ecx, 0x415c
xor esi, esi
add esi, eax
mov edx, 0x3c9f4169
sub edx, 0x2c9acd69
add edx, dword [ebp - 0x4c]
mov ebx, 0x6c3f2bfa
sub ebx, 0xd25cb1cd
mov dword [ebp - 8], 0x30d3a25c
mov edi, dword [edx]
xor dword [ebp - 0xc], 0xd0d5ad6
sub edi, ebx
add dword [ebp - 0x44], 0x605bec3b
mov dword [esi], edi
sub dword [ebp - 0x24], esi
add esi, 0x4d85baf0
add esi, 0xb27a4514
add edx, 0xda779d78
add edx, 0x2588628c
loop 0x10008f6d
add eax, 0xc8ffbbf9
add eax, 0x37013c4a
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x407210
Capabilities:
Copy file
Get common file path
Get startup folder
Write file on windows
Write file to startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a42b6
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
push 0x206
lea edx, [esp + 0x52]
xor ecx, ecx
push edi
mov dword [esp + 0x470], edi
push edx
mov word [esp + 0x58], cx
call fcn.00455040
add esp, 0xc
push 0x104
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4072a3
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
call fcn.004093f0
push 5
mov eax, str._tool
mov ecx, esi
call fcn.00409310
push 0x206
lea eax, [esp + 0x25a]
xor edx, edx
push edi
push eax
mov word [esp + 0x260], dx
call fcn.00455040
add esp, 0xc
push edi
push 0x1a
lea ecx, [esp + 0x25c]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edx, edx
lea eax, [esp + 0x254]
mov word [esp + 0x18], dx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407320
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x258]
lea esi, [esp + 0x18]
call fcn.004093f0
push 0xf
mov eax, str.Free_CD_Burner
mov ecx, esi
mov byte [esp + 0x46c], 1
call fcn.00409310
push 9
mov eax, str._tool.exe
mov ecx, esi
call fcn.00409310
mov ecx, dword [esp + 0x18]
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jae 0x407377
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebx
jae 0x407385
lea eax, [esp + 0x34]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebx
jae 0x40739c
lea eax, [esp + 0x18]
push edi
push 0x80
push 3
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4073d2
push edi
lea eax, [esp + 0x14]
push eax
push 2
push 0x4b644c
push esi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x2c], ebx
jb 0x4073ec
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00442977
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], ebx
jb 0x407412
mov eax, dword [esp + 0x34]
push eax
call fcn.00442977
add esp, 4
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.0044e200
add esp, 0x45c
ret