joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425086
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov al, byte [0x460a68]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x104], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
xor ebx, ebx
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x28], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x4250c1
xor edx, edx
cmp dword [0x4647a4], ebx
sete dl
jmp 0x4250c7
mov edx, dword [0x4647a4]
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x104]
cmp edx, ebx
rep stosd dword es:[edi], eax
je 0x425194
cmp dword [ebp + 0xc], ebx
jne 0x4250e8
mov dword [ebp + 0xc], 0x40ad98
push 1
call fcn.00423fd4
mov ebx, eax
pop ecx
cmp dword [ebx], 0
je 0x42518c
and byte [ebp - 0x208], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
cmp dword [ebp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, 0x103
stosb byte es:[edi], al
mov dword [ebp + 0x28], edx
jne 0x42512e
lea eax, [ebp - 0x208]
lea esi, [ebp + 0x28]
mov dword [ebp + 0x20], eax
jmp 0x425131
mov esi, dword [ebp + 0x24]
and byte [ebp - 0x104], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
push dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40ad90
lea eax, [ebp - 0x104]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [esi]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x20]
push dword [eax]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebx]
call fcn.0043ab43
add esp, 0x2c
dec al
neg al
sbb eax, eax
neg eax
jmp 0x42523a
push 1
pop eax
jmp 0x42523a
or edx, 0xffffffff
mov edi, 0x40ad6c
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x104]
sub edi, ecx
mov eax, ecx
mov dword [ebp + 0x28], esi
mov esi, edi
mov edi, dword [ebp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dword [ebp + 0xc], ebx
rep movsb byte es:[edi], byte [esi]
je 0x42521f
mov edi, 0x40a0a0
mov ecx, edx
xor eax, eax
lea ebx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
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 ebx, [ebp - 0x104]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
mov ecx, edx
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]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHEnumValueA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425d14
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402be0
push 0x45ea34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x260], 1
or dword [ebp - 0x264], 0xffffffff
push 0x40aad4
push dword [ebp + 8]
push 0x40aa14
mov edi, 0x104
push edi
lea eax, [ebp - 0x25c]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
call esi
add esp, 0x14
and byte [ebp - 0x159], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x425da7
or dword [ebp - 4], eax
xor eax, eax
jmp 0x425f1b
mov ecx, 0x40aad0
lea eax, [ebp - 0x12c]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [ecx]
jne 0x425dd4
test dl, dl
je 0x425dd0
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x425dd4
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x425db2
xor eax, eax
jmp 0x425dd9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x425e96
mov ecx, 0x40aacc
lea eax, [ebp - 0x12c]
mov bl, byte [eax]
mov dl, bl
cmp bl, byte [ecx]
jne 0x425e0e
test dl, dl
je 0x425e0a
mov bl, byte [eax + 1]
mov dl, bl
cmp bl, byte [ecx + 1]
jne 0x425e0e
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x425dec
xor eax, eax
jmp 0x425e13
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x425e96
test byte [ebp - 0x158], 0x10
je 0x425e60
test byte [ebp + 0xc], 3
je 0x425e96
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
push 0x40aafc
push edi
lea eax, [ebp - 0x368]
push eax
call esi
and byte [ebp - 0x265], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x368]
push eax
call fcn.00425d14
add esp, 0x1c
mov dword [ebp - 0x260], eax
jmp 0x425e96
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
push 0x40aa14
push edi
lea eax, [ebp - 0x46c]
push eax
call esi
add esp, 0x14
and byte [ebp - 0x369], 0
test byte [ebp + 0xc], 1
je 0x425e96
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x425da7
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x264], 0xffffffff
test byte [ebp + 0xc], 3
je 0x425f11
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x260], eax
test eax, eax
jne 0x425f11
test byte [ebp + 0xc], 8
je 0x425f11
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x425f11
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x426153
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
mov dword [ebp - 8], 1
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push 0x40ae4c
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4261a6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x40ae8c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x4261ab
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 4
pop ebx
lea eax, [ebp - 8]
push eax
push 0x40ae4c
push SysReAllocStringLen
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x426221
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov esi, 0x40ae8c
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
xor eax, eax
cmp dword [ebp - 4], eax
sete al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret

Function at 0x4264c5
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402bf0
push 0x45ea34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x3c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], esi
mov ecx, esi
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
push 0x10000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42656b
push dword [ebp + 8]
push 0x40a158
dec esi
push esi
jmp 0x426561
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
or dword [ebp - 4], 0xffffffff
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42666d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x4266ad
cmp dword [ebp - 0x90], 5
jne 0x4266ad
cmp dword [ebp - 0x8c], 0
jne 0x4266ad
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x4267f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
and dword [ebp - 4], 0
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0042679b
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x426851
cmp dword [ebp - 4], 0
jbe 0x426851
push 0x40a7b8
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x426851
push esi
push 1
push dword [ebp - 4]
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 1
pop eax
jmp 0x426853
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x427210
Capabilities:
Create directory

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
jne 0x427235
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x427235
push 1
pop eax
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x427384
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x4273c1
cmp dword [ebp - 0x90], 5
jne 0x4273c1
push 1
pop eax
cmp dword [ebp - 0x8c], eax
je 0x4273c3
xor eax, eax
leave
ret

Function at 0x427687
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push 1
xor esi, esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4276ec
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4276ec
push ebx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
cmp ebx, esi
je 0x4276e5
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x4276e5
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0x40a158
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [edi + esi - 1], 0
add esp, 0x10
push 1
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, esi
pop esi
ret

Function at 0x427740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40acfc]
cmp eax, 0xffffffff
jne 0x4277b7
push esi
push 1
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
and dword [0x40acfc], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x40b024
push 0x40affc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4277b1
push 3
lea eax, [ebp - 0x10c]
push 0x40aff8
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jle 0x4277b1
mov dword [0x40acfc], esi
mov eax, dword [0x40acfc]
pop esi
leave
ret
Function at 0x4277b9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x40ad00]
cmp eax, 0xffffffff
jne 0x427830
push esi
push 1
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
and dword [0x40ad00], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x40b024
push 0x40affc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42782a
push 3
lea eax, [ebp - 0x10c]
push 0x40b02c
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jle 0x42782a
mov dword [0x40ad00], esi
mov eax, dword [0x40ad00]
pop esi
leave
ret
Function at 0x427ba2
Capabilities:
Create process on windows
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
mov byte [ebp - 0x130], bl
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov edi, 0x104
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x460a68
push 0x40b090
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], edi
call esi
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.0042692e
pop ecx
test eax, eax
pop ecx
jne 0x427c3e
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x40b08c
push 0x40b050
push SysReAllocStringLen
mov dword [ebp - 8], edi
mov byte [ebp - 0x130], bl
call esi
lea edi, [ebp - 0x130]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x427c8f
lea eax, [ebp - 0x930]
push 0x800
push eax
push dword [ebp + 8]
call fcn.0042523f
add esp, 0xc
lea eax, [ebp - 0x930]
push 0xa
push ebx
push eax
lea eax, [ebp - 0x130]
push eax
push 0x40a7e0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x427d2e
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x427d33
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
je 0x427d33
lea eax, [ebp - 4]
push eax
push 0x4036b0
push 0x15
push ebx
push 0x4036e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x427d33
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x427d2e
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
cmp dword [ebp + 8], ebx
je 0x427cf8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x2c]
mov word [ebp - 0x1c], bx
mov word [ebp - 0x2c], 8
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
jmp 0x427d35
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4281a9
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4281c0
push 1
pop eax
pop ecx
ret
call fcn.00428136
test eax, eax
jne 0x4281bb
push eax
push 0x40b164
call sub.SensApi.dll_IsDestinationReachableA
pop ecx
ret
Function at 0x4283c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
and byte [ebp - 0x108], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov dword [ebp - 4], 1
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
push 0x40a0d0
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x108]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov edi, dword [ebp + 0xc]
add esp, 0x10
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x108]
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x428436
push 1
pop eax
jmp 0x42843b
and byte [edi], 0
xor eax, eax
pop edi
leave
ret

Function at 0x42843e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and byte [ebp - 0x10c], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x210], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x103
push 0x40b17c
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
pop edi
jne 0x4284dd
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push dword [ebp + 0xc]
push eax
call fcn.004283c2
add esp, 0xc
leave
ret
mov eax, dword [ebp + 0xc]
and byte [eax], 0
xor eax, eax
leave
ret

Function at 0x4285b6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor eax, eax
push edi
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
mov esi, 0xfa000
push dword [ebp + 8]
mov edi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x4285ea
push 1
pop eax
jmp 0x428629
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
jae 0x4285f4
mov edi, ebx
lea eax, [ebp - 4]
push 0
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x428616
cmp edi, ebx
je 0x42861b
sub ebx, esi
add dword [ebp + 0xc], edi
jmp 0x4285ee
push 1
pop esi
jmp 0x42861d
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4292d6
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push esi
push edi
mov esi, 0x40b1d0
lea edi, [ebp - 0x14]
cmp dword [0x40ad04], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, 0x462008
je 0x42938c
mov al, byte [0x460a68]
mov ecx, 0x208
mov byte [ebp - 0x838], al
xor eax, eax
lea edi, [ebp - 0x837]
mov esi, 0x823
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x838]
push eax
push 0
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jne 0x42938c
lea eax, [ebp - 0x838]
push 0x29
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
pop ecx
test edx, edx
pop ecx
je 0x42938c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jne 0x42938c
and byte [edx], al
lea eax, [ebp - 0x838]
push 0x40a37c
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40b1c4
push esi
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
and dword [0x40ad04], 0
cmp dword [ebp + 8], 0
mov eax, ebx
jne 0x429399
mov eax, 0x462014
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42939e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0x20]
xor esi, esi
push eax
push 1
lea eax, [ebp - 0x30]
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], 0xbcde0395
mov word [ebp - 0x2c], 0xe52f
mov word [ebp - 0x2a], 0x467c
mov byte [ebp - 0x28], 0x8e
mov byte [ebp - 0x27], 0x3d
mov byte [ebp - 0x26], 0xc4
mov byte [ebp - 0x25], 0x57
mov byte [ebp - 0x24], 0x92
mov byte [ebp - 0x23], 0x91
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0x2e
mov dword [ebp - 0x20], 0xa95664d2
mov word [ebp - 0x1c], reloc.MSVCRT.dll__splitpath
mov word [ebp - 0x1a], 0x4f35
mov byte [ebp - 0x18], 0xa7
mov byte [ebp - 0x17], 0x46
mov byte [ebp - 0x16], 0xde
mov byte [ebp - 0x15], 0x8d
mov byte [ebp - 0x14], 0xb6
mov byte [ebp - 0x13], 0x36
mov byte [ebp - 0x12], 0x17
mov byte [ebp - 0x11], 0xe6
mov dword [ebp - 0x40], 0xbfa971f1
mov word [ebp - 0x3c], 0x4d5e
mov word [ebp - 0x3a], 0x40bb
mov byte [ebp - 0x38], 0x93
mov byte [ebp - 0x37], 0x5e
mov byte [ebp - 0x36], 0x96
mov byte [ebp - 0x35], 0x70
mov byte [ebp - 0x34], 0x39
mov byte [ebp - 0x33], 0xbf
mov byte [ebp - 0x32], 0xbe
mov byte [ebp - 0x31], 0xe4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4294f8
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x4294f8
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
push edx
push 1
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x4294ef
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x4294ef
lea edx, [ebp - 8]
mov dword [ebp - 8], esi
mov ecx, dword [eax]
push edx
push esi
lea edx, [ebp - 0x40]
push 1
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4294e6
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x4294e6
lea edx, [ebp - 4]
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push edx
push esi
push 0x462830
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x4294dd
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x4294dd
mov ecx, dword [eax]
push esi
push dword [ebp + 8]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [ebp - 4]
neg esi
mov ecx, dword [eax]
push eax
sbb esi, esi
inc esi
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
leave
ret
Function at 0x42a2f8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 5
push dword [esi + 4]
lea eax, [esi + 8]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esi + 4]
add esp, 0xc
lea ebx, [esi + 0x34]
mov dword [ebp + 8], eax
xor edi, edi
push 0
push dword [ebp + 8]
push ebx
call fcn.0041d1ff
sub eax, dword [ebp + 8]
add dword [ebp + 8], eax
add edi, eax
add ebx, eax
cmp edi, 5
jl 0x42a320
mov eax, dword [esi + 4]
mov dword [esi + 0x30], edi
sub edi, ebx
xor ecx, ecx
push 5
mov byte [ebp - 8], 0xe9
lea eax, [edi + eax - 5]
mov cl, ah
mov byte [ebp - 7], al
mov byte [ebp - 6], cl
xor ecx, ecx
shr eax, 0x10
mov byte [ebp - 5], al
mov cl, ah
lea eax, [ebp - 8]
mov byte [ebp - 4], cl
push eax
push ebx
call fcn.0043a430
lea eax, [esi + 0x18]
push 5
push eax
push dword [esi + 4]
call fcn.0043a430
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43150d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
lea eax, [ebp - 0x2c]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x2c], 0x2c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
mov dword [esi + 0x24], eax
push dword [esi + 4]
call edi
push 0
push dword [esi + 4]
call edi
pop edi
pop esi
leave
ret