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

Disassembly:
adc byte [edx], bl
fnstenv [esi - 0x593f8d8c]
push esi
inc ebx
or eax, 0xc5bd9520
mov al, byte [0xd3ec31f1]
rol dword [ebx + 0x6750f525], 1
adc bh, byte [ecx + 0x412f30e1]
adc bh, byte [bx + di + 0x30e1]
das
inc ecx
add dword [edi + 8], esi
pop es
arpl word [ecx], bp
sub eax, 0x949242a1
add dword [edi - 0x3a4a4b41], eax
bound edx, qword [edx - 0x29]
ror dword [esi + 0x1307b5bb], cl
push edx
inc edx
inc edi
jno 0x5f9a69
mov eax, dword [0x2c38f054]
jo 0x5f9a24
invalid
cdq
mov bl, 0xe0
mov dh, 0xb0
xchg esi, eax
xchg esp, eax
xlatb
mov cl, 0x67
mov cl, 0xe3
push eax
push es
rcl byte [esi + 0x3724e231]
xor byte [edi], al
add byte [ebx + 0x30], al
jne 0x5f99d8
cmp byte [ebx + edx*8 - 0x80], 0xeb
out 0x9b, al
aam 0xe1
jg 0x5f9a53
mov dl, 0xf7
cmp byte [edi - 0x6aafffed], 0x5c
xchg ebp, eax
pop esp
mov ch, 0x17
xor dword [eax], edx
inc esi
mov al, byte [0x21672416]
ja 0x5f99f1
not esp
xchg edi, eax
not dword [ebx]
out 0xa3, al
lahf
mov dword [ecx - 0x5fbe1f19], 0xa4c7e0f6
movups xmm7, xmm3
xor byte [edx], cl
adc esp, dword [ebx]
aas
loope 0x5f9a76
mov esi, 0x970347e4
and dword [ebx + edi], esp
mov eax, dword [edi]
retf

Function at 0x6449e7
Capabilities:
Encode data using xor

Disassembly:
call 0x28f66183
lodsb al, byte [esi]
mov edi, 0x96af98f2
push ecx
outsd dx, dword [esi]
push 0x59
aaa
popfd
push ds
cmp byte [edx], cl
push ebp
push 0x320f2238
cli
pop ds
sbb dl, al
out 0xf0, eax
mov cs, ecx
mov byte [ebp - 0x497cda8], dl
mov byte [ecx], dh
cmp byte [edx + 0x4d], ah
inc esp
inc esp
and edx, dword [esi + 0x1d]
cmp byte [eax], dl
push esi
rcl dword [ecx], cl
lodsb al, byte [esi]
invalid
Function at 0x68f297
Capabilities:
Encode data using xor

Disassembly:
out dx, al
pop edx
clc
inc edx
xlatb
movsd dword es:[edi], dword [esi]
rol dword [ebx - 0x3b], 0xa5
jecxz 0x68f299
add dword [edx], esp
salc
pop edi
push ebp
xchg esp, eax
pop ebp
test dword [0x82534550], esi
xor dh, ch
stosd dword es:[edi], eax
adc dh, 0xc0
aam 0x94
ficom dword [ebx + edx*4 - 5]
cmp dl, 0x1e
nop
adc byte [0x215d13bd], dh
xor eax, 0x215d13bd
aad 0x47
sub byte [ebp + 0x7d], dl
adc esi, dword [ecx + 0x59]
jno 0x68f328
jp 0x68f2c2
in al, 0xb6
test dword [ebx - 0x6e], esp
aaa
mov dword [0xe5a5b9b1], eax
sal dword [ebp - 0x779d70c8], cl
arpl word [ebx + eax - 0x4b], sp
arpl word [edi + 0x35], sp
and dl, ch
add byte [ecx], 3
add al, 0x73
xor al, 0xf7
mov bh, 0xd7
into
sbb eax, dword [ebp - 0x59cc4ba1]
xlatb
xchg ebp, eax
jne 0x2c752463
push esi
inc ecx
pop es
dec ecx
jge 0x68f33c
mov dh, 0x25
push ebx
sub al, byte [edx + 7]
jecxz 0x68f2cd
leave
mov byte [0x553384d1], al
xor edx, dword [edi + edx*8 + 0x127592a5]
clc
jbe 0x68f377
popal
xor dword [ecx + 0x41], edx
inc ebx
inc esp
daa
and eax, 0x1413af63
rcl dword [ebp + 0x64e2f530], cl
rep outsb dx, byte [esi]
ret
xchg edx, eax
scasd eax, dword es:[edi]
dec esp
rcl byte [ebx + 0x4f647fb4]
cmp byte [edi + 0x32], cl
xchg edx, eax
and al, 0xb6
and dword [eax + 0x7e3fd8d9], ecx
neg byte [edx - 0x1b]
invalid
sahf
mov eax, dword es:[0xc9d0ffe2]
rcl cl, 0x7a
adc eax, 0x2c9cb452
mov esp, 0x971346f9
xor al, 0xf
enter 0xffffffffffffc71f, 0x50
aaa
pop es
movsb byte es:[edi], byte [esi]
cli
push 0xbd66a9cc
xor byte [edi + 0x41c0574c], 0xa3
xchg ebp, eax
scasb al, byte es:[edi]
test dword [edx + 0x71aa4408], edx
imul ebx, dword [esi], 0x68
pop esi
leave
push es
mov al, byte [0x10311aa]
not dword [0xf26f9150]
movsb byte es:[edi], byte [esi]
inc ecx
fcomp dword [esi - 0x3dbc302f]
mov eax, dword [0x8708c91a]
mov dh, 0xa
outsb dx, byte [esi]
cdq
pop edx
sub al, 0x3a
sbb bh, ch
nop
adc byte [ecx + ebx*4], dh
inc esi
int3
Function at 0x4022fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x4815c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402366
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b4a
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00403a65
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40237e
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402e72
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40232e
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406114
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402e72
jmp 0x402368

Function at 0x403ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ecx
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4824f0], eax
push 0x27
push 0x481030
push 0x547
mov esi, 0x481058
push esi
call fcn.0040239c
push 0x8aafdc01
push dword [0x4824f0]
call fcn.004022fd
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x403f40
call fcn.00403de5
xor eax, eax
pop ecx
ret 0x10
Function at 0x1001b8b
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push ebx
xor ebx, ebx
cmp byte [0x100a2e0], bl
je 0x1001c7c
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001c7c
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x344]
push eax
push ebx
push ebx
mov esi, 0x100a2e0
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x238
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001c72
push edi
push 0x40
pop ecx
mov byte [ebp - 0x10c], bl
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
pop edi
je 0x1001c2e
push 0x1001251
lea eax, [ebp - 0x10c]
push eax
call fcn.01005b32
push 0x100ac44
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x344]
push str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x344]
push eax
push 1
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret

Function at 0x1001ddf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
push 0x104
lea eax, [ebp - 0x104]
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1001e4d
push esi
push 0x1001290
lea eax, [ebp - 0x104]
push eax
call fcn.01005b32
lea eax, [ebp - 0x104]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x40
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001e4c
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll__llseek]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll__lclose]
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x1001e52
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 8]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001e9b
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001e92
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
Function at 0x1002691
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x7c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
jle 0x10027d0
mov dword [ebp - 0xc], ebx
jmp 0x10026b8
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0x80]
add eax, edi
lea esi, [eax + ecx + 0x84]
mov eax, dword [esi + 0x38]
lea eax, [eax + edi + 0x84]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.01002081
test eax, eax
je 0x10027d7
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x10027b4
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10027d7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x10027d7
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10027a9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x100132c
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10027a9
cmp dword [ebp - 0x1c], 0
je 0x10027a9
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 0xc]
mov ebx, dword [eax + 8]
lea ecx, [esi + 0x10]
xor edx, edx
push dword [ecx - 0xc]
push dword [ecx - 0x10]
push edi
push ebx
call fcn.010021d4
push dword [ecx]
mov dword [ebp + edx - 0x28], eax
push dword [ecx - 4]
push edi
push ebx
call fcn.010021d4
mov dword [ebp + edx - 0x30], eax
add edx, 4
add ecx, 0x18
cmp edx, 8
jl 0x1002762
cmp dword [ebp - 0x28], 0
jl 0x100279a
cmp dword [ebp - 0x30], 0
jle 0x10027a6
cmp dword [ebp - 0x24], 0
jl 0x10027f8
cmp dword [ebp - 0x2c], 0
jg 0x10027f8
mov edi, dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x10027bd
cmp dword [esi], ebx
jne 0x10027d7
cmp dword [esi + 4], ebx
jne 0x10027d7
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], 0x3c
cmp eax, dword [edi + 0x7c]
jl 0x10026b6
mov dword [ebp - 0x10], 1
cmp dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
je 0x10027f1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10]
leave
ret 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x10027d7
Function at 0x1002a34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push edi
push 0xa
push dword [ebp + 8]
xor edi, edi
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, dword [ebp + 0x10]
ja 0x1002a9d
cmp dword [ebp + 0xc], edi
je 0x1002a9d
cmp ebx, edi
je 0x1002a7d
push 0xa
push dword [ebp + 8]
push edi
call esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
jne 0x1002a81
xor eax, eax
jmp 0x1002a9f
mov edi, dword [ebp + 0xc]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x1002b34
Capabilities:
Create directory

Disassembly:
push edi
mov edi, dword [esp + 8]
mov cl, byte [edi]
test cl, cl
je 0x1002b99
push ebx
push esi
lea esi, [edi + 1]
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x3a
jne 0x1002b57
cmp byte [edi + 2], 0x5c
jne 0x1002b57
lea esi, [edi + 3]
jmp 0x1002b92
cmp cl, 0x5c
jne 0x1002b92
cmp al, cl
jne 0x1002b92
push 2
lea esi, [edi + 2]
pop ebx
jmp 0x1002b92
cmp byte [esi], 0x5c
jne 0x1002b89
cmp byte [esi - 1], 0x3a
je 0x1002b89
test ebx, ebx
je 0x1002b7a
dec ebx
jmp 0x1002b89
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0
jne 0x1002b68
pop esi
pop ebx
pop edi
ret 4

Function at 0x1002f7a
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Get common file path
Get file attributes

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [esp + 0x118]
push edi
xor edi, edi
xor ebp, ebp
push edi
lea eax, [esp + 0x14]
push 0x1001348
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esp + 0x118]
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.01005b32
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
je 0x1003015
cmp edi, 0x190
jl 0x1002f8f
push esi
push 0
push 0x1001344
push dword [esp + 0x124]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1003006
xor ebp, ebp
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
call ebx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x104
ret 8
xor ebp, ebp
push ebp
push esi
call ebx
test eax, eax
je 0x1002fde
xor eax, eax
inc eax
mov dword [0x100b880], eax
mov ebp, eax
jmp 0x1003006
Function at 0x1005a5e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x1005a85
inc esi
mov al, byte [esi]
test al, al
je 0x1005a7e
cmp al, 0x22
jne 0x1005a73
cmp byte [esi], 0x22
jne 0x1005a96
jmp 0x1005a95
cmp al, 0x20
jle 0x1005a96
inc esi
cmp byte [esi], 0x20
jg 0x1005a89
jmp 0x1005a96
cmp al, 0x20
jg 0x1005a9c
inc esi
mov al, byte [esi]
test al, al
jne 0x1005a91
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x1005ab6
movzx eax, word [ebp - 0x14]
jmp 0x1005ab9
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1005bca
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1005bdd
xor eax, eax
jmp 0x1005be5
shr eax, 4
not eax
and eax, 1
ret 4

Function at 0x1005d22
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb0
and dword [ebp + 0x74], 0
cmp dword [0x100a2cc], 0xfffffffe
mov dword [ebp + 0x6c], 0xc
jne 0x1005e09
and dword [0x100a2cc], 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1005e09
cmp dword [ebp - 0x28], 1
jne 0x1005e09
cmp dword [ebp - 0x34], 4
jne 0x1005e09
cmp dword [ebp - 0x30], 0xa
jae 0x1005e09
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1005e09
lea eax, [ebp + 0x70]
push eax
push 0x20019
push 0
push 0x1001488
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1005e09
push edi
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x68]
push eax
push 0
push 0x1001251
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x70]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x1005e09
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.01005c1c
test eax, eax
je 0x1005e09
and dword [ebp + 0x74], 0x3ff
cmp dword [ebp + 0x74], 1
je 0x1005dff
cmp dword [ebp + 0x74], 0xd
jne 0x1005e09
mov dword [0x100a2cc], 1
mov eax, dword [0x100a2cc]
add ebp, 0x78
leave
ret

Function at 0x1005e13
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x1005e49
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1005e4d
xor eax, eax
jmp 0x1005e63
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4
Function at 0x1007083
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x10070be
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x100709b
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x10070da
dec esi
je 0x10070d3
dec esi
jne 0x10070df
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x424850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x424872
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x424879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x424868
mov eax, 1
add ebx, ebx
jne 0x42488b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x424880
jne 0x42489c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424880
xor ecx, ecx
sub eax, 3
jb 0x4248b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x424922
mov ebp, eax
add ebx, ebx
jne 0x4248bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4248c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4248ec
inc ecx
add ebx, ebx
jne 0x4248d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4248cd
jne 0x4248e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4248cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42490c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4248fd
jmp 0x42486e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42490c
add edi, ecx
jmp 0x42486e
pop esi
mov edi, esi
mov ecx, 0x8ae
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42492a
cmp byte [edi], 6
jne 0x42492a
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 eax, ebx
loop 0x42492f
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x42499e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2403c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42495c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24040]
or eax, eax
je 0x424998
mov dword [ebx], eax
add ebx, 4
jmp 0x424979
call dword [esi + 0x24044]
popal
jmp 0x401014
Function at 0x40b300
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b4ce
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b32b
mov eax, 0x7000000
jmp 0x40b333
test eax, eax
je 0x40b4a9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.0045d020
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x523ec0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b4c1
cmp ecx, 0x21
jae 0x40b4b5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00457c30
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.00457d00
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4be6a8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4be710]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b484
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4be758]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.0045d100
mov eax, ecx
mov ecx, 0x21
call fcn.0045d1a0
nop
call fcn.0045bc60
jmp fcn.0040b300