joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440430
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440463
push esi
call fcn.00443530
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44045c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4404e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4404d2
mov eax, dword [esi + 8]
test eax, eax
je 0x440487
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4404ce
cmp eax, 2
je 0x4404d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44047a
cmp eax, 3
je 0x4404ad
cmp eax, 1
jne 0x44047a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44047a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44047a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440510
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4404f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440510
add esp, 4
pop esi
ret

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44b836
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44b836
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44b817
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44bbc0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44bbf8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x44c8c0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44c909
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44cd80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044c930
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044c9b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044c9b0
lea ecx, [esi + 0xc]
call fcn.00460053
lea ecx, [esi + 0x10]
call fcn.00460053
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044df40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044df40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044df40
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004600c8
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004600c8
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46246c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4624a4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00460523
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004604fb
jmp 0x4624b0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463b5a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x463b9c
call fcn.004698dc
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463b9c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463b93
xor eax, eax
jmp 0x463ba4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463baa
pop edi
pop esi
pop ebx
ret 4

Function at 0x469e0c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469e3a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469e58
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469d72
jmp 0x469e58
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469e58
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469d72
test edi, edi
mov eax, edi
jne 0x469e42
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010f6
Capabilities:
Create process on windows
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x6c], esi
call fcn.0040c2f0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0xc
push str.GetProductInfo
push str.Kernel32
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x401162
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call section..text
pop ecx
pop ecx
cmp eax, esi
jne 0x401184
cmp dword [ebp - 0x14], 0x2000
ja 0x40119d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401189
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call edi
push dword [ebp - 0x24]
call edi
mov eax, esi
jmp 0x401184
push str.CreateProcessWithTokenW
push str.Advapi32
call edi
push eax
call ebx
mov edi, eax
cmp edi, esi
jne 0x4011b7
xor eax, eax
inc eax
jmp 0x401184
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x10]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x40122d
lea ecx, [ebp - 8]
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40122d
lea eax, [ebp - 0xc]
push eax
push 1
push 2
push esi
push 0xf01ff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x40122d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x40122d
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
cmp dword [ebp - 8], esi
je 0x401245
push dword [ebp - 8]
call edi
cmp dword [ebp - 0xc], esi
je 0x40124f
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 0x14], esi
je 0x401259
push dword [ebp - 0x14]
call edi
mov esi, ebx
jmp 0x40118f
Function at 0x401260
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401296
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x401296
call edi
jmp 0x4012b4
push ebx
push 0x2000000
push 3
push ebx
push ebx
push 0x60000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x4012bb
xor al, al
jmp 0x40137f
lea ecx, [ebp - 0x1c]
push ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push 4
xor esi, esi
inc esi
push esi
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x221
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x40]
push eax
push esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], 0x10000000
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
cmp dword [ebp - 0x10], ebx
je 0x401356
push ebx
push dword [ebp - 0x10]
push ebx
push ebx
push 4
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040845e
leave
ret
Function at 0x401463
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x404c
call fcn.00411800
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor esi, esi
push 0x38
mov dword [ebp - 0x4010], eax
lea eax, [ebp - 0x4048]
push str.1.2.5
push eax
mov edi, ecx
mov dword [ebp - 0x400c], esi
xor ebx, ebx
mov dword [ebp - 0x4028], esi
mov dword [ebp - 0x4024], esi
mov dword [ebp - 0x4020], esi
mov dword [ebp - 0x4044], esi
mov dword [ebp - 0x4048], esi
call fcn.004058d0
add esp, 0xc
cmp eax, esi
jne 0x401570
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4044], eax
mov dword [ebp - 0x4048], edi
lea eax, [ebp - 0x4008]
mov dword [ebp - 0x403c], eax
lea eax, [ebp - 0x4048]
push esi
mov edi, 0x4000
push eax
mov dword [ebp - 0x4038], edi
call fcn.004059f0
sub edi, dword [ebp - 0x4038]
pop ecx
add ebx, edi
pop ecx
cmp dword [ebp - 0x400c], esi
je 0x401523
push ebx
push dword [ebp - 0x400c]
call fcn.0040494e
pop ecx
pop ecx
jmp 0x401532
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x400c], eax
push edi
lea eax, [ebp - 0x4008]
push eax
mov eax, ebx
sub eax, edi
add eax, dword [ebp - 0x400c]
push eax
call fcn.00409790
add esp, 0xc
cmp dword [ebp - 0x4038], esi
je 0x4014dd
lea eax, [ebp - 0x4048]
push eax
call fcn.00406f50
mov eax, dword [ebp - 0x4010]
pop ecx
mov dword [eax], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x400c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040845e
leave
ret

Function at 0x401585
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebx
je 0x401615
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x401615
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, esi
call fcn.00401463
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x40160e
push ebx
push ebx
push 4
push ebx
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4015f9
push dword [ebp - 8]
push esi
push eax
call fcn.00404a4c
add esp, 0xc
jmp 0x4015fb
xor eax, eax
push 0x8000
push ebx
cmp eax, ebx
push esi
setne byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40161d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push ebx
mov esi, 0x103
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
test edi, edi
je 0x401683
cmp byte [ebp + 0xc], 0
je 0x40166d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x40164d
mov dword [ebp - 4], 0x41d320
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp - 4]
sub esi, edi
push str._s_u.exe
lea eax, [ebx + edi*2]
push esi
push eax
call fcn.0040846d
add esp, 0x14
jmp 0x40167f
sub esi, edi
push esi
push dword [ebp + 8]
lea eax, [ebx + edi*2]
push eax
call fcn.0040853d
add esp, 0xc
mov al, 1
jmp 0x401685
xor al, al
pop edi
pop esi
leave
ret

Function at 0x401c81
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [eax + 0x37e2]
xor esi, esi
cmp word [ecx], si
jne 0x401caa
mov ecx, 0x41d320
lea edx, [eax + 0x35da]
cmp word [edx], si
jne 0x401cba
mov edx, 0x41d458
push ecx
push edx
push dword [eax + 0x4214]
lea ecx, [eax + 0x4002]
push dword [eax + 0x4210]
push ecx
lea ecx, [eax + 0x3dfa]
push ecx
add eax, 0x3bf2
push eax
push str.http:__yourfiledownloader.com_uninstall__s_s__sa_sd_lldq_st_s
lea eax, [ebp - 0x80c]
push 0x3ff
push eax
call fcn.0040846d
add esp, 0x28
push 1
push esi
push esi
lea eax, [ebp - 0x80c]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0040845e
leave
ret 4

Function at 0x401d1b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [eax + 0x468c]
xor esi, esi
push edi
mov edi, 0x41d320
cmp word [ecx], si
jne 0x401d47
mov ecx, edi
cmp word [eax + 0x4220], si
je 0x401d56
lea edi, [eax + 0x4220]
lea edx, [eax + 0x37e2]
cmp word [edx], si
jne 0x401d66
mov edx, 0x41d458
push ecx
push edi
push edx
push dword [eax + 0x4214]
lea ecx, [eax + 0x4002]
push dword [eax + 0x4210]
push dword [eax + 0x4428]
push ecx
lea ecx, [eax + 0x3dfa]
push ecx
add eax, 0x3bf2
push eax
push str.http:__yourfiledownloader.com_welcome__s_s__sa_sb_dd_lldt_sn_sadditional_s
lea eax, [ebp - 0x80c]
push 0x3ff
push eax
call fcn.0040846d
add esp, 0x30
push 1
push esi
push esi
lea eax, [ebp - 0x80c]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0040845e
leave
ret 4
Function at 0x40225d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push str.YourFile_Downloader
lea eax, [esi + 0x33d2]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.0040846d
add esp, 0x14
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x20c]
je 0x4022b2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
jmp 0x4022c6
push 0
push edi
add esi, 0x2bb2
push esi
push edi
push eax
call fcn.0040138e
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040845e
leave
ret 4

Function at 0x4022d5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x2fc2]
push 0
push edi
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40231f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40231f
xor al, al
jmp 0x40239a
push ebx
push str.Uninstall
push edi
mov ebx, str._s_s.lnk
push ebx
mov edi, 0x103
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0040846d
lea eax, [esi + 0x31ca]
push 1
push eax
add esi, 0x2bb2
push esi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040138e
add esp, 0x28
test al, al
je 0x402399
push str.YourFile_Downloader
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push ebx
push edi
push eax
call fcn.0040846d
push 0
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push esi
push dword [ebp - 0x210]
push eax
call fcn.0040138e
add esp, 0x28
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040845e
leave
ret 4
Function at 0x4023aa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x4002]
push eax
push str.advert_id
call fcn.00403fad
pop ecx
pop ecx
test al, al
je 0x4025da
lea eax, [esi + 0x2bb2]
push eax
push str.install_dir
mov dword [ebp - 0x218], eax
call fcn.00403fad
pop ecx
pop ecx
test al, al
je 0x4025da
lea eax, [esi + 0x3dfa]
push eax
push str.version
mov dword [ebp - 0x214], eax
call fcn.00403fad
pop ecx
pop ecx
test al, al
je 0x4025da
push dword [esi + 0x4214]
mov ebx, str.last_update_date
push dword [esi + 0x4210]
push ebx
call fcn.00403fec
add esp, 0xc
test al, al
je 0x4025da
lea eax, [esi + 0x3bf2]
push eax
push str.soft_id
call fcn.00403fad
pop ecx
pop ecx
test al, al
je 0x4025da
lea eax, [ebp - 0x228]
push eax
mov edi, str.install_date
push edi
call fcn.00403f74
pop ecx
pop ecx
test al, al
jne 0x402491
push dword [esi + 0x4214]
push dword [esi + 0x4210]
push edi
call fcn.00403fec
add esp, 0xc
test al, al
je 0x4025da
push dword [esi + 0x4214]
push dword [esi + 0x4210]
push ebx
call fcn.00403fec
add esp, 0xc
test al, al
je 0x4025da
lea edi, [esi + 0x35da]
cmp word [edi], 0
je 0x4024de
push edi
call fcn.00404029
pop ecx
test al, al
je 0x4025da
push edi
push str.start_keyword_duplicate
call fcn.00403fad
pop ecx
pop ecx
test al, al
je 0x4025da
lea eax, [esi + 0x37e2]
cmp word [eax], 0
je 0x4024ff
push eax
push str.track
call fcn.00403fad
pop ecx
pop ecx
test al, al
je 0x4025da
lea eax, [esi + 0x31ca]
push eax
push str.__s_
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x210]
push 0x103
push eax
call fcn.0040846d
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0x10
push 0x26
push str.YourFileDownloader
push 1
push str.DisplayName
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallYourFileDownloader
push ebx
mov edi, SysReAllocString
push edi
call esi
push 0x208
lea eax, [ebp - 0x210]
push eax
push 1
push str.UninstallString
push ebx
push edi
call esi
push 0x208
push dword [ebp - 0x21c]
push 1
push str.DisplayIcon
push ebx
push edi
call esi
push 0x3e
push str.http:__yourfiledownloader.com_
push 1
push str.Publisher
push ebx
push edi
call esi
push 0x208
push dword [ebp - 0x218]
push 1
push str.InstallLocation
push ebx
push edi
call esi
push 0x3e
push str.http:__yourfiledownloader.com_
push 1
push str.URLInfoAbout
push ebx
push edi
call esi
push 0x46
push str.http:__yourfiledownloader.com_help
push 1
push str.HelpLink
push ebx
push edi
call esi
push 0x208
push dword [ebp - 0x214]
push 1
push str.DisplayVersion
push ebx
push edi
call esi
mov al, 1
jmp 0x4025dc
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040845e
leave
ret
Function at 0x4025eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x421030]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], eax
cmp dword [edi + 0x5f4], eax
jle 0x402737
lea esi, [edi + 0x738]
jmp 0x402624
xor eax, eax
cmp byte [esi + 0x210], al
je 0x402719
cmp dword [esi], eax
je 0x402719
cmp dword [esi + 4], eax
je 0x402719
push 1
push str.toolbar
lea ebx, [ebp - 0x210]
call fcn.0040161d
pop ecx
pop ecx
test al, al
je 0x402719
mov eax, dword [esi + 4]
push str.DATA
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40267f
push eax
mov eax, ebx
push eax
call fcn.00401585
pop ecx
pop ecx
jmp 0x402681
xor al, al
test al, al
je 0x402719
push 1
push 0
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x210]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi]
movzx eax, word [eax]
push eax
mov eax, edi
call fcn.00401b71
mov ebx, dword [esi]
mov ecx, ebx
lea eax, [edi + 0x4220]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4026e2
test dx, dx
je 0x4026de
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4026e2
add eax, 4
add ecx, 4
test dx, dx
jne 0x4026bc
xor eax, eax
jmp 0x4026e7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402719
push ebx
mov eax, 0xfff
sub eax, dword [ebp - 0x214]
push 0x41dc4c
push eax
mov eax, dword [ebp - 0x214]
lea eax, [edi + eax*2 + 0x468c]
push eax
call fcn.0040846d
add esp, 0x10
add dword [ebp - 0x214], eax
inc dword [ebp - 0x218]
mov eax, dword [ebp - 0x218]
add esi, 0x358
cmp eax, dword [edi + 0x5f4]
jl 0x402622
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040845e
leave
ret
Function at 0x4027e1
Capabilities:
Delete registry key
Hide graphical window
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4c
mov eax, dword [0x421030]
xor eax, esp
mov dword [esp + 0xe48], eax
push ebx
push esi
push edi
mov esi, ecx
push 0
push dword [esi + 0x5dc]
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_ShowWindow]
push str.YourFile.exe
lea eax, [esi + 0x2bb2]
push eax
mov esi, 0x41d8c8
push esi
mov ebx, 0x103
lea eax, [esp + 0x22c]
push ebx
push eax
call fcn.0040846d
add esp, 0x14
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallYourFileDownloader
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call fcn.00403dc2
call fcn.00401c2c
mov ecx, dword [esp + 0x10]
push 1
lea edi, [esp + 0x224]
call fcn.0040225d
xor eax, eax
push 0xa26
push eax
mov word [esp + 0x430], ax
lea eax, [esp + 0x432]
push eax
call fcn.0040c2f0
mov edi, dword [esp + 0x1c]
add esp, 0xc
push str.Downloader.exe
add edi, 0x2bb2
push edi
push esi
lea eax, [esp + 0x434]
push ebx
push eax
call fcn.0040846d
add esp, 0x14
push str.htmlayout.dll
push edi
push esi
lea eax, [esp + 0x63c]
push ebx
push eax
call fcn.0040846d
add esp, 0x14
push str.YourFile.exe
push edi
push esi
lea eax, [esp + 0x844]
push ebx
push eax
call fcn.0040846d
add esp, 0x14
push str.uninstall.exe
push edi
push esi
lea eax, [esp + 0xa4c]
push ebx
push eax
call fcn.0040846d
add esp, 0x14
push str.YourFileUpdater.exe
push edi
push esi
lea eax, [esp + 0xc54]
push ebx
push eax
call fcn.0040846d
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0x14
lea esi, [esp + 0x428]
mov dword [esp + 0x14], 5
push 1
push str.uninstall
lea ebx, [esp + 0x20]
call fcn.0040161d
pop ecx
pop ecx
test al, al
je 0x402943
push 1
mov eax, ebx
push eax
push esi
call edi
push 4
mov eax, ebx
push eax
push esi
call edi
add esi, 0x208
dec dword [esp + 0x14]
jne 0x40291d
mov eax, dword [esp + 0x10]
add eax, 0x2bb2
push eax
call fcn.004046eb
mov esi, dword [esp + 0x14]
pop ecx
lea eax, [esi + 0x2fc2]
push eax
call fcn.004046eb
pop ecx
push esi
call fcn.00401c81
mov ecx, dword [esp + 0xe54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040845e
mov esp, ebp
pop ebp
ret 4