joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434f11
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x290], ebx
call fcn.0040ab90
mov edi, str.installer_tdsetup_setup_util.cc
test eax, eax
jg 0x434f75
push ebx
push 0xa4
push edi
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x290], 1
call fcn.0040add0
push esi
add eax, 8
push str.Looking_for_Chrome_version_folder_under
push eax
call fcn.00403540
pop ecx
pop ecx
push eax
call fcn.00404340
pop ecx
pop ecx
test byte [ebp - 0x290], 1
je 0x434f90
and dword [ebp - 0x290], 0xfffffffe
lea ecx, [ebp - 0x344]
call fcn.0040ae20
push esi
lea ecx, [ebp - 0x3c]
call fcn.00401f50
xor eax, eax
push 0x49b454
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.00401fb0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040e190
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00402b70
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x434fdc
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x294], eax
xor esi, esi
test byte [ebp - 0x28c], 0x10
je 0x435095
call fcn.0040ab90
test eax, eax
jg 0x435040
or dword [ebp - 0x290], 2
push ebx
push 0xb1
push edi
lea ecx, [ebp - 0x344]
call fcn.0040add0
lea ecx, [ebp - 0x260]
push ecx
add eax, 8
push str.directory_found:
push eax
call fcn.00403540
pop ecx
pop ecx
push eax
call fcn.0040b670
pop ecx
pop ecx
test byte [ebp - 0x290], 2
je 0x43505b
and dword [ebp - 0x290], 0xfffffffd
lea ecx, [ebp - 0x344]
call fcn.0040ae20
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
call fcn.00401fb0
lea eax, [ebp - 0x20]
push eax
call fcn.004483f1
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00402b70
cmp esi, ebx
jne 0x4350b0
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x434ff2
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00402b70
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret
Function at 0x435972
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x30], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
push edi
mov edi, dword [ebp + 0xc]
jb 0x435999
mov eax, dword [esi]
jmp 0x43599b
mov eax, esi
lea ecx, [ebp - 0x28]
push ecx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x435a0e
mov eax, dword [ebp - 8]
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x2c], eax
call fcn.00412190
cmp dword [esi + 0x14], 8
jb 0x4359c4
mov esi, dword [esi]
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x435a0e
cmp dword [edi + 0x14], 0x10
jb 0x4359ea
mov edi, dword [edi]
push ebx
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435a07
cmp dword [ebp - 0x2c], ebx
jne 0x435a07
mov dword [ebp - 0x30], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret

Function at 0x435a20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, ebx
je 0x435b85
cmp dword [edi + 0x10], ebx
je 0x435b85
lea ecx, [ebp - 0x24c]
push ecx
push eax
mov byte [ebp - 0x245], bl
mov dword [ebp - 0x24c], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x24c], ebx
je 0x435b7d
push dword [ebp - 0x24c]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x250], eax
cmp eax, ebx
je 0x435b7d
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0046e0e0
add esp, 0xc
mov esi, 0x208
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x250]
call sub.PSAPI.DLL_GetProcessImageFileNameW
cmp eax, ebx
je 0x435b70
cmp eax, esi
jae 0x435b70
cmp eax, dword [edi + 0x10]
jbe 0x435b70
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], ebx
call fcn.00401fb0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x244]
call fcn.00401f50
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402b70
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x244]
call fcn.004019c0
push edi
mov ecx, eax
call fcn.004038c0
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x228]
sbb bl, bl
call fcn.00401f80
inc bl
je 0x435b65
mov byte [ebp - 0x245], 1
lea ecx, [ebp - 0x244]
call fcn.00401f80
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, byte [ebp - 0x245]
jmp 0x435b87
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret
Function at 0x43b1f0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 0x49c348
xor ebx, ebx
push 1
push ebx
mov dword [ebp - 0xc], ebx
push 0x49a4ac
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x43b22b
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x43b227
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x43b2a6
push esi
mov esi, dword [ebp - 8]
push str.ROOTCIMV2
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], ebx
call fcn.00417f50
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0xc]
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.00417f70
cmp esi, ebx
pop esi
jge 0x43b270
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x43b21a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43b21a
cmp byte [ebp + 8], bl
je 0x43b28c
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x43b261
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x43b2a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
pop ebx
leave
ret

Function at 0x43cb1b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0046e0e0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], str.runas
jb 0x43cb51
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x43cb5f
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43cb7b
xor al, al
leave
ret
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x43cb77
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43cba7
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov al, 1
leave
ret
Function at 0x43d217
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
and dword [ebp - 4], 0
push esi
push edi
push 0x27
mov esi, str.installer_tdsetuputilinstall_util.cc
push esi
call fcn.0040aba0
pop ecx
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jl 0x43d270
push 0xffffffffffffffff
push 0x110
mov dword [ebp - 4], ecx
push esi
lea ecx, [ebp - 0xb4]
call fcn.0040add0
mov edi, dword [ebp + 0xc]
push edi
add eax, 8
push str.Deleting_registry_key
push eax
call fcn.00403540
pop ecx
pop ecx
push eax
call fcn.00404340
pop ecx
pop ecx
jmp 0x43d273
mov edi, dword [ebp + 0xc]
test byte [ebp - 4], 1
je 0x43d288
and dword [ebp - 4], 0xfffffffe
lea ecx, [ebp - 0xb4]
call fcn.0040ae20
cmp dword [edi + 0x14], 8
jb 0x43d290
mov edi, dword [edi]
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edi, eax
test edi, edi
je 0x43d30b
cmp edi, 2
je 0x43d30b
call fcn.0040ab90
cmp eax, 2
jg 0x43d2f6
or dword [ebp - 4], 2
push 2
push 0x113
push esi
lea ecx, [ebp - 0xb4]
call fcn.0040add0
push edi
push str._error:
push dword [ebp + 0xc]
add eax, 8
push str.Failed_to_delete_registry_key:
push eax
call fcn.00403540
pop ecx
pop ecx
push eax
call fcn.00404340
pop ecx
pop ecx
push eax
call fcn.00403540
pop ecx
pop ecx
mov ecx, eax
call fcn.0043a273
test byte [ebp - 4], 2
je 0x43d307
lea ecx, [ebp - 0xb4]
call fcn.0040ae20
xor al, al
jmp 0x43d30d
mov al, 1
pop edi
pop esi
leave
ret

Function at 0x43d948
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebx]
test esi, esi
jne 0x43d95a
xor eax, eax
jmp 0x43d98b
push edi
xor edi, edi
and dword [ebp + 0x10], 0
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
sub esi, ecx
add edi, ecx
test ecx, ecx
je 0x43d98f
test esi, esi
jne 0x43d95d
mov dword [ebx], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
test eax, eax
je 0x43d986
push 8
pop eax
jmp 0x43d98a
Function at 0x43f106
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
mov edi, 0x823
push edi
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x827]
push 0
push eax
mov byte [ebp - 0x828], 0
call fcn.0046e0e0
add esp, 0xc
cmp dword [ebp + 0x18], 0
push ebx
je 0x43f242
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push edi
push eax
call fcn.0046f662
lea eax, [ebp - 0x828]
add esp, 0x18
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f18d
sub eax, edi
push 0x49b6f4
push ebx
mov edi, eax
call fcn.004710c2
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 0x82c], ebx
test ebx, ebx
je 0x43f294
push 2
push 0
push ebx
call fcn.00470f8a
push ebx
call fcn.00470e9b
push 0
push 0
push ebx
mov dword [ebp - 0x834], eax
call fcn.00470f8a
mov eax, dword [ebp - 0x834]
lea ebx, [eax + edi + 2]
add esp, 0x1c
cmp ebx, dword [esi]
jae 0x43f231
push edi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.0046d7f0
push dword [ebp - 0x82c]
mov eax, dword [ebp - 0x830]
push 1
push dword [ebp - 0x834]
add eax, edi
push eax
call fcn.00470cea
mov eax, dword [ebp - 0x830]
add esp, 0x1c
add eax, dword [ebp - 0x834]
mov ecx, 0xa0d
mov word [eax + edi], cx
mov dword [esi], ebx
jmp 0x43f234
and dword [esi], 0
push dword [ebp - 0x82c]
call fcn.00470a2c
pop ecx
jmp 0x43f297
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push edi
push eax
call fcn.0046f662
lea eax, [ebp - 0x828]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43f26b
sub eax, ecx
mov edi, eax
cmp edi, dword [esi]
jae 0x43f294
push edi
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.0046d7f0
add esp, 0xc
mov dword [esi], edi
jmp 0x43f297
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret
Function at 0x43f732
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push str.dbghelp.dll
mov dword [ebp - 0x21c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov dword [ebp - 0x214], eax
cmp eax, ebx
je 0x43f8b5
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x218], eax
cmp eax, ebx
je 0x43f8a9
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0046e0e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x507758
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x493830
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x210], eax
cmp eax, 0xffffffff
je 0x43f8a8
push edi
xor eax, eax
lea edi, [ebp - 0x228]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x21c]
push 0x20
pop ecx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x23c]
push ebx
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
push dword [ebp - 0x210]
mov esi, 0x505e60
mov edi, 0x505ddc
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x220], ebx
mov dword [0x505dd8], 2
mov dword [ebp - 0x23c], 0x3600001
mov dword [ebp - 0x238], 0x84
mov dword [ebp - 0x234], 0x505dd8
mov dword [ebp - 0x230], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret
Function at 0x43f8c2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004703d0
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push eax
call fcn.0046e0e0
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x43f985
cmp eax, 0x3fff
ja 0x43f985
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43f985
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x49b76c
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43f985
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push edi
push esi
call fcn.0046dffd
xor eax, eax
add esp, 0x1c
mov word [esi + edi*2 - 2], ax
inc eax
jmp 0x43f987
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret

Function at 0x43f996
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push ebx
mov ebx, 0x56a670
cmp ax, word [0x56a670]
jne 0x43f9cf
push esi
push edi
push eax
push 0x26
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43f9b7
push 0x10
pop ecx
mov esi, str.internet_exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x43f9d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push esi
call fcn.0043f996
push eax
call fcn.0043f8c2
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x43fa25
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43fa25
xor eax, eax
cmp ax, word [esi]
je 0x43fa25
inc edi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x43fb06
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x49127c
mov edi, 0x4912cc
push edi
mov esi, 0x103
push esi
push 0x505ef8
call fcn.0046dffd
call fcn.0043fa2b
push eax
push edi
push esi
push 0x506100
call fcn.0046dffd
call fcn.0043fa2b
push eax
push edi
push esi
push 0x506308
call fcn.0046dffd
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
push esi
push 0x506510
call fcn.0046dffd
push dword [ebx]
push str.0x_08x
push esi
push 0x506b28
call fcn.0046dffd
and dword [ebp - 0x324], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046e0e0
lea eax, [ebp - 0x324]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 0xc]
call fcn.0043f0b2
add esp, 0x3c
test eax, eax
je 0x43fc1a
push esi
lea eax, [ebp - 0x20c]
push 0x506920
push eax
call fcn.0043f8c2
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x43fbf2
lea eax, [ebp - 0x20c]
push eax
push edi
push esi
push 0x506718
call fcn.0046dffd
push dword [ebp - 0x324]
push str.0x_08x
push esi
push 0x506d30
call fcn.0046dffd
add esp, 0x20
jmp 0x43fc2d
push str.unknown
push esi
push 0x506718
call fcn.0046dffd
add esp, 0xc
mov edi, 0x114
push edi
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.0046e0e0
add esp, 0xc
lea eax, [ebp - 0x320]
push eax
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43fc87
lea eax, [ebp - 0x30c]
push eax
push dword [ebp - 0x314]
push dword [ebp - 0x318]
push dword [ebp - 0x31c]
push str._d._d._d__s
push esi
push 0x506f38
call fcn.0046dffd
add esp, 0x1c
push 0x104
push 0x507140
call fcn.0043f9d3
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret
Function at 0x43fca7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x620]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 0x620], ebx
call fcn.0043f2a6
pop ecx
mov dword [0x507960], eax
cmp eax, ebx
je 0x43fe02
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.0046e0e0
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0046e0e0
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x493830
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, 0x507968
mov ecx, esi
call fcn.004642be
push str.http:__doctor.se.360.cn_index.php_doadderrorlog
mov ecx, esi
call fcn.0042c315
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.0042c347
xor eax, eax
push edi
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push ebx
push eax
mov dword [0x50a010], 0x2710
call fcn.0046e0e0
add esp, 0xc
mov ebx, str.___________________________7d9114302a0cb6
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x43fdac
xor eax, eax
jmp 0x43fdc0
lea eax, [edi + edi]
call fcn.004710e0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0043f07a
push eax
push str.multipart_form_data__boundary_s
lea eax, [ebp - 0x61c]
push 0x103
push eax
call fcn.0046dffd
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x620]
mov ecx, esi
push dword [0x507960]
call fcn.0043faa2
mov ecx, esi
call fcn.00465aa0
mov ecx, esi
call fcn.0046144a
lea esp, [ebp - 0x62c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e0cd
leave
ret
Function at 0x440379
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov esi, 0x4a0158
push edi
mov ecx, esi
call fcn.00402710
cmp dword [0x4a0168], 2
jne 0x4403be
cmp dword [0x4a016c], 8
mov eax, dword [0x4a0158]
jae 0x4403ab
mov eax, esi
cmp word [eax + 2], 0x3a
jne 0x4403be
push 0x49b76c
mov ecx, esi
call fcn.00406d00
cmp dword [edi + 0x14], 8
jb 0x4403c6
mov edi, dword [edi]
push edi
push str.CHROME_INSTALL_DIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop edi
pop esi
pop ebp
ret
Function at 0x4404e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4a02f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004403d6
xor ebx, ebx
pop ecx
pop ecx
cmp dword [ebp - 0x2c], ebx
jne 0x44052d
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00402b70
xor al, al
jmp 0x440635
push esi
xor eax, eax
push 0x4900d4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
call fcn.00401fb0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040e190
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402b70
lea eax, [ebp - 0x3c]
push eax
mov esi, 0x49073c
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00411760
add esp, 0xc
push esi
mov ecx, eax
call fcn.00406d00
push eax
lea ecx, [ebp - 0x20]
call fcn.004038f0
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00402b70
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00402600
push 0x40
lea eax, [ebp - 0xb4]
push ebx
push eax
mov dword [ebp - 0xb8], 0x44
call fcn.0046e0e0
xor eax, eax
mov dword [ebp - 0x74], ebx
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp - 0xc], 8
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x20]
jae 0x4405d6
lea eax, [ebp - 0x20]
push eax
push str.CreateProcessW:__S
call fcn.0045979e
cmp dword [ebp - 0xc], 8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
jae 0x4405ef
lea ecx, [ebp - 0x20]
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x4405fb
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0xb8]
push edx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x440643
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00402b70
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00402b70
xor al, al
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046e0cd
leave
ret
push 0xffffffffffffffff
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x44067d
mov byte [ebp - 0x59], bl
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00402b70
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00402b70
mov al, byte [ebp - 0x59]
jmp 0x440634
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x440689
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
push dword [ebp - 0x74]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x70]
call esi
mov byte [ebp - 0x59], 1
jmp 0x440662