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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push ecx
call dword [sym.imp.ole32.dll_StringFromIID]
push dword [ebp - 4]
mov esi, 0x4aeda8
push 0x481204
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x800
push eax
push esi
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
mov ecx, 0x4aedbc
cmovne esi, ecx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40cc56
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x167c
call fcn.00443be0
push ebx
push 0x40
xor ebx, ebx
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.00443c10
mov eax, dword [0x4ae264]
xorps xmm0, xmm0
add esp, 0xc
mov dword [esp + 0x18], 0x44
movdqu xmmword [esp + 8], xmm0
test byte [eax + 0xaf68], 1
je 0x40cd20
cmp dword [eax + 0xaf70], ebx
jne 0x40cd20
push 1
push eax
lea ecx, [esp + 0x270]
call fcn.00413d2f
xor eax, eax
push 0x206
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push ebx
push eax
call fcn.00443c10
add esp, 0xc
mov ecx, ebx
movzx eax, word [esp + ecx + 0x115a]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x5e], ax
test ax, ax
jne 0x40cccf
push 0x481a6c
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1162]
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [esp + 0x80]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [0x4ae264]
test byte [eax + 0xaf68], 2
je 0x40cda0
push 2
push eax
lea ecx, [esp + 0x270]
call fcn.00413d2f
xor eax, eax
push 0x206
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push ebx
push eax
call fcn.00443c10
add esp, 0xc
mov ecx, ebx
movzx eax, word [esp + ecx + 0x115a]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x5e], ax
test ax, ax
jne 0x40cd54
push 0x481a8c
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1162]
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [esp + 0x80]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d2ba
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
call fcn.0041026f
test eax, eax
jne 0x40d2e6
push 0x30
push 0x481ba8
push 0x481bc0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40d33f
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.0040dbe5
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov eax, dword [0x4ae264]
add eax, 0xd851
push eax
call fcn.004217ed
mov edx, dword [0x4ae264]
pop ecx
lea ecx, [edx + 0xa4d8]
cmp byte [ecx], 0
jne 0x40d32d
cmp dword [edx + 0xa5d7], 0
je 0x40d33c
mov edx, dword [edx + 0xa5d7]
push ecx
push ecx
call fcn.00407301
pop ecx
pop ecx
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x40d3f1
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
lea eax, [ebp - 0x25c]
push ebx
push esi
push edi
mov esi, 0x104
xor ebx, ebx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x360]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [0x4ae264]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test byte [eax + 0xaf68], 1
je 0x40d451
lea ecx, [ebp - 0x158]
add eax, 0xb07b
push ecx
push ebx
push eax
lea eax, [ebp - 0x360]
push eax
call esi
mov eax, dword [0x4ae264]
test byte [eax + 0xaf68], 2
je 0x40d471
lea ecx, [ebp - 0x158]
add eax, 0xa8de
push ecx
push ebx
push eax
lea eax, [ebp - 0x360]
push eax
call esi
push ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push 0x4000000
push 3
push ebx
push 1
push ebx
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x25c]
push eax
push edi
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x560]
push 0x481bf0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.00443c10
add esp, 0x20
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x54]
push eax
push ecx
push ecx
push ecx
push 1
push ecx
push ecx
lea eax, [ebp - 0x560]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d52a
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
push edi
mov esi, ecx
mov edi, edx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x5c
push edi
call fcn.0043d730
pop ecx
pop ecx
test eax, eax
je 0x40d558
mov byte [eax], 0
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
ret
Function at 0x40dbe5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push edi
push 0x481ca0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x481cac
push eax
mov dword [0x4ae27c], eax
call edi
push 0x481cbc
mov dword [0x4ae288], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x481cc4
push eax
mov dword [0x4ae284], eax
call edi
push 0x481cd4
push dword [0x4ae284]
mov dword [0x4ae274], eax
call edi
cmp dword [0x4ae288], 0
mov dword [0x4ae268], eax
pop edi
je 0x40dc5b
cmp dword [0x4ae274], 0
mov byte [0x4ae270], 1
jne 0x40dc62
mov byte [0x4ae270], 0
push 0x90
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0x94
push 0
push eax
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
sbb al, al
inc al
mov byte [0x4ae270], al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
xor ebx, ebx
lea eax, [ebp - 0x103]
push 0x103
push ebx
push eax
mov byte [ebp - 0x104], bl
call fcn.00443c10
add esp, 0xc
lea edx, [ebp - 0x104]
push ebx
push ecx
call fcn.0040b8b5
push ecx
lea ecx, [ebp - 0x104]
call fcn.0040b922
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40e186
mov ebx, eax
and ebx, 0x10
xor eax, eax
test ebx, ebx
pop ebx
setg al
mov esp, ebp
pop ebp
ret
Function at 0x40e69f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push esi
xor ebx, ebx
mov dword [ebp - 8], eax
push 0x103
mov dword [eax], ebx
lea eax, [ebp - 0x133]
push ebx
push eax
mov dword [edx], ebx
mov byte [ebp - 0x134], bl
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 0x134]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push 3
push ebx
push 5
push SysReAllocString
lea eax, [ebp - 0x134]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40e713
xor eax, eax
jmp 0x40e85e
push edi
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x3c
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 4]
push 0
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call edi
push 0
push 0
push dword [ebp - 0x14]
push esi
call ebx
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push esi
call edi
cmp dword [ebp - 0x20], 0x4550
jne 0x40e84c
mov edi, dword [ebp - 0x14]
xor eax, eax
push eax
push eax
add edi, 0x18
mov dword [ebp - 0x10], eax
push edi
push esi
call ebx
push 0
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x10b
cmp word [ebp - 0x10], ax
jne 0x40e790
sub edi, 0xffffff80
jmp 0x40e7a5
mov eax, 0x20b
cmp word [ebp - 0x10], ax
jne 0x40e7a3
add edi, 0x90
jmp 0x40e7a5
xor edi, edi
test edi, edi
je 0x40e84c
push 0
push 0
push edi
push esi
call ebx
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
lea edi, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x30], ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x40e84c
push ecx
push ecx
lea eax, [edi - 0x10]
push eax
push esi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x30], 0
jne 0x40e84c
cmp dword [ebp - 0x2c], 0
jne 0x40e84c
cmp dword [ebp - 0x28], 0
jne 0x40e84c
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40e84c
mov ecx, dword [ebp - 0xc]
push eax
mov dword [ecx], eax
call fcn.0041ed67
pop ecx
mov ecx, dword [ebp - 8]
push 0
push 0
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
sub edi, dword [eax]
sub edi, 0x10
push edi
push esi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
cmp dword [ecx], eax
setne al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411ec4
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov edx, dword [ebp + 8]
push edi
test edx, edx
je 0x41200c
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41200c
xor eax, eax
test esi, esi
je 0x411ef5
cmp dword [esi + 4], eax
jne 0x411eff
cmp dword [esi + 0xc], eax
je 0x411f37
cmp dword [esi + 4], eax
je 0x411f1a
push ecx
push edx
mov edx, esi
mov ecx, ebx
call fcn.00411e7d
pop ecx
pop ecx
test eax, eax
jne 0x41200e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp dword [esi + 0xc], 0
je 0x41200e
push ecx
push edx
lea edx, [esi + 8]
mov ecx, ebx
call fcn.00411e7d
pop ecx
pop ecx
jmp 0x41200e
push 0x103
push eax
mov byte [ebp - 0x10c], al
lea eax, [ebp - 0x10b]
push eax
call fcn.00443c10
add esp, 0xc
lea edx, [ebp - 0x10c]
push 0x482928
push ecx
call fcn.0040b8b5
mov edx, ebx
mov esi, ebx
mov al, byte [edx]
inc edx
test al, al
jne 0x411f67
lea edi, [ebp - 0x10c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411f77
mov ecx, edx
xor eax, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push eax
push 3
push eax
push 1
mov ecx, edx
lea eax, [ebp - 0x10c]
and ecx, 3
push SysReAllocString
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x412015
push 0x482930
push ecx
lea edx, [ebp - 0x10c]
call fcn.0040b8b5
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x411fc3
lea edi, [ebp - 0x10c]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411fd3
mov ecx, ebx
lea eax, [ebp - 0x10c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
and ecx, 3
push SysReAllocString
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x412017
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
inc eax
push eax
call fcn.0041ed67
mov edi, dword [ebp + 8]
pop ecx
push ebx
mov ebx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
mov dword [edi], eax
push dword [esi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [edi]
mov ecx, dword [esi]
push ebx
mov byte [edx + ecx], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x41200e
Function at 0x41234d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4741f4
call fcn.00473e04
mov eax, 0x1528
call fcn.00443be0
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push SysReAllocString
push 0x48086e
lea ecx, [ebp - 0x1530]
call fcn.0041f1f7
mov dword [ebp - 4], ebx
mov edx, dword [0x4ae264]
cmp byte [edx + 0xcd1c], bl
je 0x412484
lea ecx, [edx + 0xcd1d]
test ecx, ecx
je 0x412484
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4123a4
sub ecx, esi
je 0x412484
lea ecx, [edx + 0xd621]
test ecx, ecx
je 0x412484
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4123c4
sub ecx, esi
je 0x412484
lea eax, [edx + 0xd725]
push eax
push SysReAllocString
call fcn.0041f977
test eax, eax
jne 0x412484
mov eax, dword [0x4ae264]
add eax, 0xd725
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041f977
test eax, eax
jne 0x412484
call fcn.00412495
push 0x103
mov esi, eax
mov byte [ebp - 0x120], bl
lea eax, [ebp - 0x11f]
push ebx
push eax
call fcn.00443c10
mov ecx, dword [0x4ae264]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x10], ebx
lea edx, [ebp - 0x120]
mov dword [ebp - 0x14], ebx
push ecx
push ecx
push eax
lea eax, [ebp - 0x10]
add ecx, 0xd51d
push eax
push 0x104
call fcn.00410cfb
add esp, 0x14
test esi, esi
je 0x41247d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41245f
sub ecx, edx
je 0x41247d
push 5
push ebx
lea eax, [ebp - 0x120]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
call fcn.0041ed70
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412495
Capabilities:
Check http status code
Create http request
Reference http user-agent string

Disassembly:
mov eax, 0x474208
call fcn.00473e04
sub esp, 0x410
push ebx
push esi
push edi
mov esi, 0x104
push esi
call fcn.0041ed67
pop ecx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], eax
push ebx
push eax
call fcn.00443c10
mov edx, dword [0x4ae264]
add esp, 0xc
cmp byte [edx + 0xcd1c], bl
je 0x41268b
lea ecx, [edx + 0xcd1d]
test ecx, ecx
je 0x41268b
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4124e7
sub ecx, esi
je 0x41268b
lea ecx, [edx + 0xd621]
test ecx, ecx
je 0x41268b
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412507
sub ecx, edx
je 0x41268b
push ebx
push ebx
push ebx
push ebx
push 0x482a10
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x4ae264]
push ebx
push 0x40300
push ebx
push ebx
add ecx, 0xcd1d
mov dword [ebp - 0x18], eax
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0x3ff
mov esi, eax
mov byte [ebp - 0x41c], bl
lea eax, [ebp - 0x41b]
push ebx
push eax
call fcn.00443c10
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x1c], 0x400
push ebx
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x13
push esi
call edi
lea eax, [ebp - 0x41c]
push eax
call fcn.0043e548
mov byte [ebp - 0x41c], bl
mov dword [ebp - 0x1c], 0x400
pop ecx
cmp eax, 0xc8
jne 0x412602
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x2f
push esi
call edi
neg eax
lea ecx, [ebp - 0x41c]
lea edx, [ecx + 1]
sbb al, al
and byte [ebp - 0x41c], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4125c4
sub ecx, edx
je 0x412602
lea eax, [ebp - 0x41c]
push 0x482a6c
push eax
call fcn.0043f060
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x412602
add edi, 9
push 0x482a78
push edi
call fcn.0043f060
pop ecx
pop ecx
test eax, eax
je 0x4125fe
mov byte [eax], bl
test edi, edi
jne 0x41261d
mov eax, dword [0x4ae264]
add eax, 0xcd1d
push 0x2f
push eax
call fcn.0043d730
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41261d
inc edi
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x18]
call esi
mov ecx, dword [0x4ae264]
call fcn.004126a1
push 0x1414
mov esi, eax
call fcn.0043d6b0
pop ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x41265d
push esi
push dword [0x4ae264]
mov ecx, eax
call fcn.00413d2f
mov ebx, eax
mov esi, dword [ebp - 0x14]
lea eax, [ebx + 0xef2]
push eax
push 0x481d54
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test ebx, ebx
je 0x41268e
push ebx
call fcn.0043d685
pop ecx
jmp 0x41268e
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4126b8
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x410], ax
mov ebx, edx
lea eax, [ebp - 0x40e]
mov edi, ecx
push eax
call fcn.00443c10
xor eax, eax
push esi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00443c10
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x208]
add esp, 0x18
call fcn.00420d25
test eax, eax
je 0x412788
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test ebx, ebx
je 0x412740
push ebx
lea eax, [ebp - 0x208]
push eax
call esi
xor eax, eax
mov ecx, eax
movzx eax, word [ebp + ecx - 0x208]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x412], ax
test ax, ax
jne 0x412728
push edi
lea eax, [ebp - 0x208]
push eax
call esi
lea edi, [ebp - 0x208]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x412755
mov esi, 0x482a7c
lea eax, [ebp - 0x208]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x412788
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x54]
push edi
push eax
mov esi, ecx
call fcn.00443c10
xor eax, eax
mov dword [ebp - 0x58], 0x44
push 0x206
mov word [ebp - 0x260], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x25e]
push edi
push eax
movdqu xmmword [ebp - 0x10], xmm0
call fcn.00443c10
lea edx, [ebp - 0x260]
add esp, 0x18
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4134b2
push 0x482c00
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push edi
push 0x20
push edi
push edi
push edi
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x413502
push 0x1388
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41356f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x924]
dec eax
je 0x4135a6
dec eax
jne 0x4135ae
lea edx, [ecx + 0x208]
add ecx, 0x30c
call fcn.0040da1e
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [ebp + 8]
call fcn.0042643c
jmp 0x4135ae
push dword [ebp + 8]
call fcn.004135b3
pop ecx
pop ebp
ret 4
Function at 0x413b89
Capabilities:
Create process on windows
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2044
call fcn.00443be0
push esi
mov esi, dword [0x4ae264]
push edi
lea edi, [esi + 0x2b58]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413ba9
sub ecx, edx
je 0x413d29
xor eax, eax
cmp dword [esi + 0xaf74], eax
je 0x413d29
push ebx
mov ebx, 0x3ff
mov byte [ebp - 0x1844], al
push ebx
push eax
lea eax, [ebp - 0x1843]
push eax
call fcn.00443c10
push ebx
lea eax, [ebp - 0x443]
mov byte [ebp - 0x444], 0
push 0
push eax
call fcn.00443c10
push ebx
lea eax, [ebp - 0x1043]
mov byte [ebp - 0x1044], 0
push 0
push eax
call fcn.00443c10
push ebx
lea eax, [ebp - 0x843]
mov byte [ebp - 0x844], 0
push 0
push eax
call fcn.00443c10
push ebx
lea eax, [ebp - 0xc43]
mov byte [ebp - 0xc44], 0
push 0
push eax
call fcn.00443c10
push ebx
xor ebx, ebx
mov byte [ebp - 0x1444], 0
lea eax, [ebp - 0x1443]
push ebx
push eax
call fcn.00443c10
lea eax, [ebp - 0x1844]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0xc], eax
add esp, 0x48
lea eax, [ebp - 0x444]
mov byte [ebp - 0x2044], bl
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x844]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xc44]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1444]
mov dword [ebp - 0x24], eax
mov eax, 0x400
push 0x7ff
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2043]
push ebx
push eax
call fcn.00443c10
add esp, 0xc
lea eax, [ebp - 4]
lea edx, [ebp - 0x2044]
push esi
push ecx
push eax
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push 0x103
call fcn.00410cfb
lea ecx, [ebp - 0x2044]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413ce9
lea eax, [ebp - 0x40]
sub ecx, edx
push eax
push ebx
push ecx
lea eax, [ebp - 0x2044]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp - 0x34], 3
je 0x413d11
cmp dword [ebp - 0x34], 4
jne 0x413d28
push 1
push ebx
push ebx
lea eax, [ebp - 0x2044]
push eax
push 0x482d0c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41421d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x50]
push edi
push eax
mov esi, ecx
call fcn.00443c10
xor eax, eax
mov dword [ebp - 0x54], 0x44
push 0x206
mov word [ebp - 0x25c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x25a]
push edi
push eax
movdqu xmmword [ebp - 0x10], xmm0
call fcn.00443c10
add esi, 0xef2
lea edx, [ebp - 0x25c]
add esp, 0x18
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x414275
push 0x482d4c
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push edi
push 0x20
push edi
push edi
push edi
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
test eax, eax
je 0x4142c7
push 0x1388
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret