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

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [esp + 0x20]
mov ebx, dword [eax]
mov eax, dword [0x461068]
test eax, eax
js 0x414380
test eax, eax
jne 0x414352
mov dword [0x46f998], ebx
add esp, 0x18
pop ebx
ret
mov eax, dword [0x46f994]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x41434d
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
pop ebx
jmp eax
call fcn.00414020
mov eax, dword [0x461068]
jmp 0x414343

Function at 0x414490
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x461068]
mov edi, dword [esp + 0x40]
test eax, eax
js 0x414580
test eax, eax
mov esi, dword [0x46f998]
jne 0x414511
test esi, esi
mov dword [esp + 0x2c], esi
je 0x414505
lea ebx, [esp + 0x2c]
mov eax, esi
nop
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4144f7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 4], 1
mov dword [esp], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call eax
cmp eax, 6
je 0x414540
cmp eax, 8
jne 0x414570
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x4144c0
mov eax, 5
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov esi, dword [0x46f994]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x4144b1
mov eax, dword [esp + 0x2c]
mov dword [edi + 0xc], 0
mov edx, ebx
mov dword [esp + 0x2c], esi
mov dword [edi + 0x10], eax
mov eax, edi
call fcn.00413f40
cmp eax, 7
jne 0x41450a
mov eax, ebx
call fcn.00414230
mov esi, esi
lea edi, [edi]
add esp, 0x30
mov eax, 3
pop ebx
pop esi
pop edi
ret
call fcn.00414020
mov eax, dword [0x461068]
jmp 0x4144a7

Function at 0x414630
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x461068]
mov ebx, dword [esp + 0x30]
test edx, edx
js 0x4146a5
test edx, edx
mov eax, dword [0x46f998]
jne 0x41467d
mov ecx, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, ebx
mov edx, esi
test ecx, ecx
jne 0x41466f
call fcn.00413f40
cmp eax, 7
je 0x414676
call sub.msvcrt.dll_abort
call fcn.004140c0
jmp 0x414665
mov eax, esi
call fcn.00414230
mov esi, dword [0x46f994]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
push edi
jmp 0x41464d
call fcn.00414020
mov edx, dword [0x461068]
jmp 0x414644
Function at 0x4146c0
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x414700
mov edx, dword [0x461068]
test edx, edx
js 0x414750
test edx, edx
mov eax, dword [0x46f998]
jne 0x414720
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, ebx
call fcn.004140c0
cmp eax, 7
je 0x414710
call sub.msvcrt.dll_abort
lea esi, [esi]
mov dword [esp], ebx
call fcn.00414490
add esp, 0x20
pop ebx
pop esi
pop edi
ret
lea eax, [esp + 0x1c]
call fcn.00414230
lea esi, [esi]
mov esi, dword [0x46f994]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
sub esp, 4
jmp 0x4146e4
call fcn.00414020
mov edx, dword [0x461068]
jmp 0x4146db
Function at 0x419010
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x214
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x220]
push esi
push edi
push 0x104
push eax
push ecx
mov word [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4190d2
cmp eax, 0x104
jne 0x419055
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x4190d2
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4190d2
push edi
call fcn.004c299f
mov esi, eax
add esp, 4
test esi, esi
je 0x4190d2
mov ecx, dword [esp + 0x10]
push ebx
push esi
push edi
lea edx, [esp + 0x24]
push ecx
push edx
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4190ba
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4190ba
mov edx, dword [esp + 0x10]
mov ebx, 1
mov ax, word [edx]
mov word [ebp], ax
push esi
call fcn.004c2994
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x214
ret 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x214
ret 8

Function at 0x4395e0
Capabilities:
Encode data using xor

Disassembly:
dec eax
cli
fistp qword [edx - 0x64]
mov bl, 0xe7
pop esi
cmp edi, ebx
sal byte [eax + 0x20], 1
dec ecx
inc esp
out dx, al
adc ah, byte [edi]
xor ah, dh
add dl, bh
and bl, byte [ecx + 0x1c]
stosb byte es:[edi], al
inc eax
aad 0x7d
or bl, byte [esi - 0x70]
pop es
invalid

Function at 0x476410
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
or eax, dword [ecx + 0x19]
imul eax, dword ds:[ebx + 0x7b], 0xbdaf26c6
xor eax, 0x1a121ca9
popfd
sbb eax, 0x4c32e8b4
mov eax, 0x95193e26
inc eax
adc ebp, 0x22
invalid
sbb dword [ebp + 0x22d58340], edx
push 0x41
loop 0x476419
sub byte [eax], al
add eax, 0xd2d2d96a
add ecx, esp
test eax, 0x2ef7d14
mov dword [0xc8ebd623], eax
mov dword [edx + 0x608700f1], edx
jle 0x47642d
outsd dx, dword [esi]
ret 0x4c1a

Function at 0x4a0f6b
Capabilities:
Encode data using xor

Disassembly:
dec edx
test byte [edi + 0x62f974b9], ch
and al, 0x17
xor cl, byte [ebx]
call 0x8e1de56c
invalid

Function at 0x4c3ab1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
Function at 0x401500
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x401558
mov eax, dword [esp + 8]
cmp eax, 4
ja 0x40154c
jne 0x401584
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x401584
cmp eax, 0x5a
jae 0x40154c
cmp dword [esp + 0x10], 0x40a08ae
sbb eax, eax
inc eax
add esp, 0x98
ret
mov eax, 2
add esp, 0x98
ret
cmp eax, 2
jne 0x401584
mov ecx, dword [esp + 8]
mov eax, 3
cmp ecx, 4
jbe 0x40156f
mov eax, dword [esp]
cmp ecx, 5
jne 0x401589
cmp dword [esp + 0xc], 1
sbb eax, eax
add eax, ecx
add esp, 0x98
ret
mov ax, word [esp]
add esp, 0x98
ret
Function at 0x4017f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x104
xor eax, eax
push ebx
mov ebx, ecx
push ebp
push esi
lea edx, [ebx + 0x214]
push edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x14]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebp
lea ebp, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.Speaker_Configuration
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Speaker_Type
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x118]
mov edx, dword [ebx + 0x10]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax*8]
lea esi, [ebx + 0xc]
add edx, ecx
push esi
mov dword [ebx + 0x10], edx
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x418]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push 0
push 0xf003f
push 0
push 0x40aca0
push 0
push 0x4082cc
push eax
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40190e
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x10]
push 4
push ecx
push 4
push 0
push 0x4082cc
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebx + 0x418]
lea ecx, [esp + 0x10]
push esi
push ecx
push 0
push 0xf003f
push 0
push 0x40aca0
push 0
push 0x4082bc
push edx
call edi
test eax, eax
jne 0x40195a
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x10]
add eax, 4
push 4
push eax
push 4
push 0
push 0x4082bc
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 4
Function at 0x401970
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebx
mov edx, ecx
push esi
push edi
or ecx, 0xffffffff
mov edi, str.SYSTEMCurrentControlSet_
xor eax, eax
lea ebx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], 2
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Settings
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x20019
lea ecx, [esp + 0x24]
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x401a60
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.SpkrCnfg
push edx
mov dword [esp + 0x20], 0xff
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x110
ret
Function at 0x401a70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov edx, ecx
or ecx, 0xffffffff
xor eax, eax
push ebx
push esi
push edi
mov edi, str.SYSTEMCurrentControlSet_
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Settings
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x120]
xor edi, edi
lea ecx, [esp + 0x1c]
mov byte [esi], al
lea eax, [esp + 0xc]
push eax
push 0x20019
push edi
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b7e
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
push str.SRCQuality
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401b73
mov eax, dword [esp + 0x14]
cmp al, 0xff
je 0x401b7e
mov byte [esi], 1
pop edi
pop esi
and eax, 0xff
pop ebx
add esp, 0x110
ret 4
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4

Function at 0x401c50
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [ecx + 0xc]
lea edx, [esp + 4]
push eax
mov eax, dword [ecx + 0x418]
push edx
push 0
push 0xf003f
push 0
push 0x40aca0
push 0
push str.Device_Presence
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401cf1
mov edx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 4]
push 4
push ecx
push 4
push eax
push str.Emulated
push edx
mov dword [esp + 0x1c], 1
call esi
mov ecx, dword [esp + 8]
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push 0x408394
push ecx
mov dword [esp + 0x1c], 1
call esi
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push 4
push edx
push 4
push 0
push 0x408390
push eax
mov dword [esp + 0x1c], 1
call esi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret
Function at 0x401d00
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push edi
mov edi, ecx
lea ecx, [esp + 4]
push eax
mov edx, dword [edi + 0x418]
push ecx
push 0
push 0xf003f
push 0
push 0x40aca0
push 0
push str.Mixer_Defaults
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401db2
mov ecx, dword [esp + 4]
mov dword [esp + 8], eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.Acceleration
push ecx
call esi
cmp byte [esp + 0x18], 1
jne 0x401d76
mov eax, dword [esp + 8]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push 0
push str.SRC_Quality
push eax
jmp 0x401da4
mov ecx, edi
call fcn.00401500
cmp ax, 1
je 0x401d90
mov ecx, edi
call fcn.00401500
cmp ax, 2
jne 0x401da6
mov ecx, dword [esp + 8]
add edi, 8
push 4
push edi
push 4
push 0
push str.SRC_Quality
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
add esp, 0xc
ret 8

Function at 0x4035dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4084b0
cmp edx, dword [eax]
je 0x4035ff
add eax, 8
inc ecx
cmp eax, 0x408540
jl 0x4035f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4084b0]
jne 0x40372d
mov eax, dword [0x40acf8]
cmp eax, 1
je 0x403707
test eax, eax
jne 0x403630
cmp dword [0x4083fc], 1
je 0x403707
cmp edx, 0xfc
je 0x40372d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403667
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404100
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403aa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4036aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403aa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407464
push edi
call fcn.004058d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404100
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404110
lea eax, [ebp - 0xa0]
push 0x407444
push eax
call fcn.00404110
push dword [esi + 0x4084b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404110
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405844
add esp, 0x2c
pop edi
jmp 0x40372d
lea eax, [ebp + 8]
lea esi, [esi + 0x4084b4]
push 0
push eax
push dword [esi]
call fcn.00403aa0
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 0x1000fcc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006585d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push 2
lea ecx, [ebp - 0x48]
call fcn.1000a859
and dword [ebp - 4], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x1000fd08
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1000fd1e
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
call fcn.1000a8c0
or dword [eax], 0xffffffff
jmp 0x1000fd01
mov dword [ebp - 0x20], 0
jmp 0x1000fd2e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jg 0x1000fd4d
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1000fd4b
push 0xcbf
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x1000fd27
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000a8bb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x24], 0
jmp 0x1000fd76
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1000fd89
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x3c], 0x56834504
jmp 0x1000fd6f
mov dword [ebp - 0x18], 0
jmp 0x1000fd99
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1000fddd
mov dword [ebp - 0x28], 0x2e8588d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x3c]
mov dword [ebp + ecx*4 - 0x3c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x3c], 0
je 0x1000fdd4
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1000fdd2
push 0
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
jmp 0x1000fddb
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
jmp 0x1000fd92
mov dword [ebp - 0x18], 0
jmp 0x1000fded
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
je 0x1000fe2e
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1000fe18
push 1
push 0x263f
push 0x5b5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x1000fe2c
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
jmp 0x1000fde6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0x8261f9c2
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000fe54
push 0x30c
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1000fe76
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10017252
Capabilities:
Create process on windows

Disassembly:
push 0x68c
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
ret
Function at 0x10028a50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10028a88
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.10041447
add esp, 0x10
jmp 0x10028b0b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10028ac0
push 0xd73
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10028b0b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10028aee
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x10028b0b
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.1000a8c0
mov dword [eax], 0x82ecc90c
jmp 0x10028ae3
mov esp, ebp
pop ebp
ret
Function at 0x100291cf
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10029211
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x100291fc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
jmp 0x1002920c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1002938d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 8], 3
mov dword [ebp - 0x28], 0x64f16efa
mov dword [ebp - 0x38], 0x40fff069
mov dword [ebp - 0x3c], 0xd3cd3624
mov dword [ebp - 8], 0xe
jmp 0x10029243
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x12
jg 0x10029376
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x10029264
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10029277
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x14], 0x81826fbd
jmp 0x1002925d
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10029292
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 8], 0
je 0x10029367
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
xor eax, eax
inc eax
cmp eax, 0xd635290c
jae 0x100292b5
mov dword [ebp - 0x18], 1
jmp 0x100292b9
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
neg eax
cmp eax, dword [ebp - 8]
je 0x100292cc
mov dword [ebp - 0x34], 1
jmp 0x100292d0
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
push 0x21
pop eax
imul eax, eax, 0xffff
test eax, eax
je 0x100292f2
cmp dword [ebp - 0xc], 0
je 0x100292f2
mov dword [ebp - 0x1c], 1
jmp 0x100292f6
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jl 0x10029307
mov dword [ebp - 0x20], 1
jmp 0x1002930b
and dword [ebp - 0x20], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
add eax, dword [ebp - 0x20]
cmp eax, 0xfff6
jae 0x10029328
mov dword [ebp - 0x24], 1
jmp 0x1002932c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x24]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x14]
lea eax, [eax + ecx + 0x30f8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x28], eax
jg 0x10029367
mov dword [ebp - 0x2c], 1
jmp 0x1002936b
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
jmp 0x1002923c
push 0x4e40
push dword [ebp - 0x40]
push 0x55d5
push 0
call fcn.10028518
add esp, 0x10
mov esp, ebp
pop ebp
ret