joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401afc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
pushal
mov esi, dword [0x405e1e]
or esi, esi
je 0x401b54
push dword [0x405e26]
call sub.kernel32.dll_UnmapViewOfFile
push dword [0x405e2a]
call sub.kernel32.dll_CloseHandle
push 0
push 0
push dword [0x405e2e]
push esi
call sub.kernel32.dll_SetFilePointer
push esi
call sub.kernel32.dll_SetEndOfFile
push esi
call sub.kernel32.dll_CloseHandle
push dword [ebp + 8]
call fcn.0040184f
push dword [0x405e1a]
push 0x40561a
call sub.kernel32.dll_SetFileAttributesA
popal
leave
ret 4

Function at 0x401b83
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
pushal
mov byte [ebp - 0x401], 0
push 1
push 8
call fcn.00401057
or eax, eax
je 0x401be0
mov esi, eax
push 0x400
lea eax, [ebp - 0x400]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push str.BASSMOD.dll
lea eax, [ebp - 0x400]
push eax
call sub.kernel32.dll_lstrcatA
mov ecx, dword [esi + 1]
lea eax, [esi + 5]
push ecx
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00403398
mov byte [ebp - 0x401], 1
popal
movzx eax, byte [ebp - 0x401]
leave
ret
Function at 0x10001000
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x128], 0x128
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x130]
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x138], eax
push dword [ebp + 8]
call fcn.10006bfe
pop ecx
mov eax, dword [0x1000b148]
mov dword [ebp - 0x13c], eax
push dword [0x1000b148]
call sub.MSVCRT.dll_strlen
pop ecx
dec eax
mov dword [ebp - 0x12c], eax
jmp 0x10001070
mov eax, dword [ebp - 0x12c]
dec eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jl 0x100010a6
mov eax, dword [0x1000b148]
add eax, dword [ebp - 0x12c]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x100010a4
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x13c]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x13c], eax
jmp 0x100010a6
jmp 0x10001063
push dword [ebp - 0x13c]
call fcn.10006bfe
pop ecx
cmp dword [ebp - 0x138], 0
je 0x10001156
lea eax, [ebp - 0x104]
push eax
call fcn.10006bfe
pop ecx
push dword [ebp - 0x13c]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x10001139
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10001139
push dword [ebp - 0x120]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x1000112d
push 0
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x134], eax
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x130]
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x138], eax
jmp 0x100010b2
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x10001164
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.100082d0
push 0x25
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x100011a2
push 0x400
lea eax, [ebp - 0xc54]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x100011a2
lea eax, [ebp - 0xc54]
mov dword [ebp + 8], eax
push dword [ebp + 8]
call fcn.10006bfe
pop ecx
push dword [0x1000b148]
call fcn.10006bfe
pop ecx
push dword [0x1000b148]
call fcn.10006c38
pop ecx
push eax
push dword [0x1000b148]
push dword [ebp + 8]
call fcn.10006b85
add esp, 0xc
test eax, eax
jne 0x100011e1
push 1
pop eax
jmp 0x1000134f
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x22
jne 0x100011f3
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x105c], eax
jmp 0x10001212
mov eax, dword [ebp - 0x105c]
dec eax
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
jl 0x10001230
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x105c]
movsx eax, byte [eax]
cmp eax, 0x2e
jne 0x1000122e
jmp 0x10001230
jmp 0x10001205
cmp dword [ebp - 0x105c], 0
jge 0x10001240
xor eax, eax
jmp 0x1000134f
push dword [0x1000b148]
lea eax, [ebp - 0x400]
push eax
call fcn.10006c65
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc58], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x105c], eax
jmp 0x1000128c
mov eax, dword [ebp - 0x105c]
dec eax
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
jl 0x100012bd
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x105c]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x100012bb
mov eax, dword [ebp - 0x105c]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0xc58], eax
jmp 0x100012bd
jmp 0x1000127f
push dword [ebp - 0xc58]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x105c], eax
jmp 0x100012df
mov eax, dword [ebp - 0x105c]
dec eax
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
jl 0x10001340
mov eax, dword [ebp - 0xc58]
add eax, dword [ebp - 0x105c]
movsx eax, byte [eax]
cmp eax, 0x2e
jne 0x1000133e
mov eax, dword [ebp - 0xc58]
add eax, dword [ebp - 0x105c]
mov byte [eax + 1], 0x65
mov eax, dword [ebp - 0xc58]
add eax, dword [ebp - 0x105c]
mov byte [eax + 2], 0x78
mov eax, dword [ebp - 0xc58]
add eax, dword [ebp - 0x105c]
mov byte [eax + 3], 0x65
mov eax, dword [ebp - 0xc58]
add eax, dword [ebp - 0x105c]
and byte [eax + 4], 0
jmp 0x10001340
jmp 0x100012d2
push dword [ebp - 0xc58]
call section..text
pop ecx
push 1
pop eax
leave
ret
Function at 0x10001419
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0c
and dword [ebp - 0x60c], 0
mov dword [ebp - 0x104], 0x3ff
lea eax, [ebp - 0x208]
push eax
push 0x20019
push 0
push 0x1000a02c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001461
push dword [ebp - 0x208]
call fcn.10001351
pop ecx
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x208]
push eax
push 0x20019
push 0
push 0x1000a05c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000149b
push dword [ebp - 0x208]
call fcn.10001351
pop ecx
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1000a08c
call section..text
pop ecx
push 0x1000a098
call section..text
pop ecx
leave
ret

Function at 0x100014bf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push edi
and dword [ebp - 0x98], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x440
and dword [ebp - 0x90], 0
and dword [ebp - 0x8c], 0
mov eax, dword [0x1000b148]
mov dword [ebp - 0x88], eax
mov eax, dword [0x1000b14c]
mov dword [ebp - 0x84], eax
and dword [ebp - 0x80], 0
and dword [ebp - 0x7c], 0
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 1
pop eax
pop edi
leave
ret

Function at 0x10001534
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
and dword [ebp - 0x138], 0
and dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0x134], eax
jmp 0x1000156c
mov eax, dword [ebp - 0x134]
dec eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jb 0x1000159a
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x134]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x10001598
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 1]
mov dword [ebp - 4], eax
jmp 0x1000159a
jmp 0x1000155f
push dword [ebp - 4]
call fcn.10006bfe
pop ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
jne 0x100015d2
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
jmp 0x10001654
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x13c]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10001606
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
jmp 0x10001654
lea eax, [ebp - 0x10c]
push eax
call fcn.10006bfe
pop ecx
push dword [ebp - 4]
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1000162f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x13c]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10001606
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x10001a3f
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerExtensionsCF819DA3_9882_4944_ADF5_6EF17ECF3C6E
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001a7d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerLowRegistryExtensionsCmdMapping
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001ada
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.CF819DA3_9882_4944_ADF5_6EF17ECF3C6E
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10001acd
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x10001adc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10001adc
xor eax, eax
leave
ret

Function at 0x10001ade
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [ebp + 8]
mov dword [0x1000b148], eax
mov eax, dword [ebp + 0xc]
mov dword [0x1000b14c], eax
mov eax, dword [ebp + 0x10]
mov dword [0x1000a704], eax
mov eax, dword [ebp + 0x14]
mov dword [0x1000a708], eax
mov eax, dword [ebp + 0x18]
mov dword [0x1000b138], eax
call fcn.10001a3f
test eax, eax
je 0x10001b20
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10001656
movzx eax, al
test eax, eax
je 0x10001b34
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.100016c3
movzx eax, al
test eax, eax
je 0x10001b48
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
je 0x10001b67
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.10001c67
push 1
pop eax
leave
ret
Function at 0x10001faf
Capabilities:
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.100082d0
push 0x25
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x10001fed
push 0x400
lea eax, [ebp - 0xc54]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x10001fed
lea eax, [ebp - 0xc54]
mov dword [ebp + 8], eax
push dword [ebp + 8]
call fcn.10006bfe
pop ecx
push dword [0x1000b148]
call fcn.10006bfe
pop ecx
push str..exe
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov dword [ebp - 0xc58], eax
cmp dword [ebp - 0xc58], 0
jne 0x10002027
push 1
pop eax
jmp 0x100021d5
mov eax, dword [ebp - 0xc58]
add eax, 4
mov dword [ebp - 0xc58], eax
mov eax, dword [ebp - 0xc58]
and byte [eax], 0
push dword [0x1000b148]
call fcn.10006c38
pop ecx
push eax
push dword [0x1000b148]
push dword [ebp + 8]
call fcn.10006b85
add esp, 0xc
test eax, eax
jne 0x10002069
push 1
pop eax
jmp 0x100021d5
mov eax, dword [0x1000b144]
inc eax
mov dword [0x1000b144], eax
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
cmp eax, 0x22
jne 0x10002086
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x105c], eax
jmp 0x100020a5
mov eax, dword [ebp - 0x105c]
dec eax
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
jl 0x100020c3
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x105c]
movsx eax, byte [eax]
cmp eax, 0x2e
jne 0x100020c1
jmp 0x100020c3
jmp 0x10002098
cmp dword [ebp - 0x105c], 0
jge 0x100020d3
xor eax, eax
jmp 0x100021d5
push dword [0x1000b148]
lea eax, [ebp - 0x400]
push eax
call fcn.10006c65
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x105c], eax
jmp 0x10002116
mov eax, dword [ebp - 0x105c]
dec eax
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x105c], 0
jl 0x10002134
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x105c]
movsx eax, byte [eax]
cmp eax, 0x2e
jne 0x10002132
jmp 0x10002134
jmp 0x10002109
mov eax, dword [ebp - 0x105c]
and byte [ebp + eax - 0x844], 0
push 0x1000a270
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x844]
push eax
call fcn.10002b0f
pop ecx
test eax, eax
je 0x10002198
push dword [ebp + 8]
call fcn.10001f30
pop ecx
test eax, eax
je 0x10002182
mov eax, dword [0x1000b144]
dec eax
mov dword [0x1000b144], eax
push 2
pop eax
jmp 0x100021d5
push dword [ebp + 8]
call fcn.10002988
pop ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100021b3
lea eax, [ebp - 0x844]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
lea eax, [ebp - 0x400]
push eax
call fcn.1000177b
pop ecx
pop ecx
push dword [ebp + 8]
push 0x1000ad38
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
pop eax
leave
ret
Function at 0x1000229f
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push 0x10
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.10006ce9
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.10006ce9
add esp, 0xc
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x18], 0x101
and word [ebp - 0x14], 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x1000230f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push edi
and dword [ebp - 0x598], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x594]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x598], 0x3c
mov dword [ebp - 0x594], 0x440
and dword [ebp - 0x590], 0
and dword [ebp - 0x58c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x588], eax
mov eax, dword [0x1000b14c]
mov dword [ebp - 0x584], eax
and dword [ebp - 0x580], 0
and dword [ebp - 0x57c], 0
and dword [ebp - 0x578], 0
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
leave
ret
Function at 0x10002892
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push edi
and dword [ebp - 0x598], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x594]
rep stosd dword es:[edi], eax
push dword [0x1000b148]
lea eax, [ebp - 0x400]
push eax
call fcn.10006c65
pop ecx
pop ecx
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x55c], eax
jmp 0x100028e7
mov eax, dword [ebp - 0x55c]
dec eax
mov dword [ebp - 0x55c], eax
cmp dword [ebp - 0x55c], 0
jb 0x10002907
mov eax, dword [ebp - 0x55c]
movsx eax, byte [ebp + eax - 0x400]
cmp eax, 0x2e
jne 0x10002905
jmp 0x10002907
jmp 0x100028da
mov eax, dword [ebp - 0x55c]
and byte [ebp + eax - 0x400], 0
push str._.exe
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x598], 0x3c
mov dword [ebp - 0x594], 0x440
and dword [ebp - 0x590], 0
and dword [ebp - 0x58c], 0
lea eax, [ebp - 0x400]
mov dword [ebp - 0x588], eax
mov eax, dword [0x1000b14c]
mov dword [ebp - 0x584], eax
and dword [ebp - 0x580], 0
and dword [ebp - 0x57c], 0
and dword [ebp - 0x578], 0
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 1
pop eax
pop edi
leave
ret
Function at 0x1000344a
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x1000b27c
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x400]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1000348e
push 0x1000a5c0
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0x1000a5c4
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xffffffff
je 0x10003513
push 0
lea eax, [ebp - 0x404]
push eax
push 4
push 0x1000b278
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x404]
push eax
push 4
push 0x1000a524
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x10003515
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x1000b280
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x404]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x10003559
push 0x1000a5cc
lea eax, [ebp - 0x404]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push str.100.dat
lea eax, [ebp - 0x404]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xffffffff
je 0x100035d8
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x1000b278
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x1000a524
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x10004600
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
pop eax
test eax, eax
je 0x10004639
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 4]
and eax, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10004635
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10004637
jmp 0x10004639
jmp 0x10004606
leave
ret

Function at 0x10004c7a
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push 0x1000b264
push 0x1000a6e0
push 5
push 0
push 0x1000a6d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10004cb3
cmp dword [0x1000b264], 0
jne 0x10004cbb
or eax, 0xffffffff
jmp 0x10004d59
push 0
mov eax, dword [0x1000b264]
mov eax, dword [eax]
push dword [0x1000b264]
call dword [eax + 0x110]
push 0
mov eax, dword [0x1000b264]
mov eax, dword [eax]
push dword [0x1000b264]
call dword [eax + 0xc4]
push 1
mov eax, dword [0x1000b264]
mov eax, dword [eax]
push dword [0x1000b264]
call dword [eax + 0xac]
push 0
mov eax, dword [0x1000b264]
mov eax, dword [eax]
push dword [0x1000b264]
call dword [eax + 0xbc]
cmp dword [ebp + 8], 0
je 0x10004d41
push 0
mov eax, dword [0x1000b264]
mov eax, dword [eax]
push dword [0x1000b264]
call dword [eax + 0xa4]
push 0xffffffffffffffff
mov eax, dword [0x1000b264]
mov eax, dword [eax]
push dword [0x1000b264]
call dword [eax + 0xf0]
jmp 0x10004d56
push 0xffffffffffffffff
mov eax, dword [0x1000b264]
mov eax, dword [eax]
push dword [0x1000b264]
call dword [eax + 0xa4]
push 1
pop eax
leave
ret

Function at 0x100055de
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
push edi
push 0xa
pop ecx
mov esi, str.SoftwareMicrosoftWindowsCurrentVersion
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 4], 0x400
lea eax, [ebp - 0x38]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x30]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10005621
xor eax, eax
jmp 0x1000567e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push 0
push str.ProductId
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005668
push dword [ebp - 4]
lea eax, [ebp - 0x438]
push eax
push dword [ebp + 8]
call fcn.10006cab
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov dword [ebp - 0x34], 1
jmp 0x10005672
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x34], 0
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
pop edi
pop esi
leave
ret
Function at 0x10005682
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0x1000a744
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x74]
push 0x1000a748
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.100055de
pop ecx
pop ecx
call fcn.10005532
and dword [ebp - 0x78], 0
jmp 0x100056e5
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005704
call fcn.1000550b
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x4c4], dl
jmp 0x100056de
cmp dword [ebp - 0x49c], 0
je 0x10005747
and dword [ebp - 0x78], 0
jmp 0x1000571a
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005747
mov eax, dword [ebp - 0x78]
cdq
idiv dword [ebp - 0x49c]
mov eax, dword [ebp - 0x78]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ebp + edx - 0x498]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x10005713
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], eax
and dword [ebp - 0x78], 0
jmp 0x10005764
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005790
mov eax, dword [ebp - 0x78]
xor edx, edx
push 0x24
pop ecx
div ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ecx + edx]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x1000575d
lea eax, [ebp - 0x74]
mov dword [ebp - 4], eax
and dword [ebp - 0x78], 0
jmp 0x100057a3
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x100057cf
mov eax, dword [ebp - 0x78]
xor edx, edx
push 4
pop ecx
div ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ecx + edx]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x1000579c
and dword [ebp - 0x78], 0
jmp 0x100057dc
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005806
mov eax, dword [ebp - 0x78]
movzx eax, byte [ebp + eax - 0x4c4]
push eax
push str._02x
mov eax, dword [ebp - 0x78]
lea eax, [ebp + eax*2 - 0x70]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x100057d5
push 0x40
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
call fcn.10006cab
add esp, 0xc
leave
ret