joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4338c0
Capabilities:
Parse url

Disassembly:
sub esp, 0x44c
push ebx
push esi
mov esi, dword [esp + 0x458]
test esi, esi
je 0x4339a2
mov ebx, dword [esp + 0x45c]
test ebx, ebx
je 0x4339a2
mov dx, word [0x4ffec0]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x252]
mov word [esp + 0x250], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4a]
mov word [esp + 0x48], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x250]
push edx
mov dword [esp + 0x14], eax
mov eax, 0x104
lea ecx, [esp + 0x4c]
push 0
push esi
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
je 0x4339a2
mov edx, dword [esp + 0x460]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x24c]
push eax
push ecx
dec edx
push str._s:___s_favicon.ico
push edx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop esi
pop ebx
add esp, 0x44c
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x44c
ret

Function at 0x4339b0
Capabilities:
Copy file
Timestomp file

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
test esi, esi
je 0x433a54
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x433a54
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0x80
push 3
push 0
push 1
push connect
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x433a54
lea eax, [esp + 0xc]
push ebp
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x433a50
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push edi
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x433a50
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call ebp
push ebx
call ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x4340f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x42c
push esi
lea eax, [esp + 4]
push edi
push eax
xor esi, esi
push 0x4dd948
push 1
push esi
push 0x4dd958
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4341e7
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
push edx
mov ecx, dword [eax]
push 0x4dd998
push eax
call dword [ecx]
test eax, eax
jl 0x4341dd
mov eax, dword [esp + 8]
push esi
push str.http:__about:blank
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jl 0x4341d3
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], dx
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
lea edx, [esp + 0x18]
stosw word es:[edi], ax
mov eax, dword [esp + 0x14]
push edx
lea edx, [esp + 0x2c]
push 0x104
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push edx
push 2
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4341d3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push 0x10
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
push edx
lea edx, [esp + 0x34]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4341d3
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x434273
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], dx
mov word [esp + 0x22c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22e]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0x104
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x22c]
push eax
push str._surl.dll
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x22c]
push 1
push edx
push esi
push esi
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x42c
ret
Function at 0x434410
Capabilities:
Set registry value

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
push esi
push edi
mov edi, dword [esp + 0x220]
push edi
call ebx
mov ebp, dword [esp + 0x220]
add esp, 4
shl eax, 1
push eax
push edi
push 1
push 0x4ffec0
push ebp
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea ecx, [esp + 0x18]
push str.opencommand
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
mov esi, dword [esp + 0x234]
push esi
call ebx
add esp, 0x14
lea edx, [esp + 0x10]
shl eax, 1
push eax
push esi
push 1
push 0x4ffec0
push edx
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edi
push ebp
push str._s_scommand
lea eax, [esp + 0x1c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call ebx
add esp, 0x18
lea ecx, [esp + 0x10]
shl eax, 1
push eax
push esi
push 1
push 0x4ffec0
push ecx
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x4344e0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x228
push ebx
mov ebx, dword [esp + 0x230]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
push edi
mov dword [esp + 0x14], str.mhtmlfile
mov dword [esp + 0x18], str.htmlfile
mov dword [esp + 0x1c], str.InternetShortcut
mov dword [esp + 0x20], str.https
mov dword [esp + 0x24], 0x4ee6a0
mov dword [esp + 0x28], str.file
mov dword [esp + 0x2c], 0x4ee9d4
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 7
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push eax
push ecx
call ebp
lea edx, [esp + 0x38]
push str._shell_
push edx
call esi
lea eax, [esp + 0x40]
push ebx
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0x30]
push ecx
push connect
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x434541
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret
Function at 0x434d30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x828
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], 0
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 4]
lea ecx, [esp + 0x41c]
push eax
push ecx
push edx
push 0x4ef314
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x434e56
mov dx, word [0x4ffec0]
mov ecx, 0x81
lea edi, [esp + 0x216]
mov word [esp + 0x214], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], dx
rep stosd dword es:[edi], eax
mov ecx, dword [0x6dcf84]
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea edx, [esp + 0x218]
push 0x104
lea eax, [esp + 0x14]
push edx
push eax
call esi
mov cx, word [0x4ffec0]
xor eax, eax
mov word [esp + 0x628], cx
mov ecx, 0x81
lea edi, [esp + 0x62a]
lea edx, [esp + 0x628]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x424]
push edx
push eax
call esi
lea ecx, [esp + 0x218]
lea edx, [esp + 0x628]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
neg eax
sbb eax, eax
pop esi
inc eax
pop edi
add esp, 0x828
ret
call fcn.00434cf0
neg eax
sbb eax, eax
pop edi
inc eax
add esp, 0x828
ret
Function at 0x435110
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x418
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], si
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [0x6dcf84]
stosw word es:[edi], ax
lea eax, [esp + 0x21c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0xc], 0x208
mov dword [esp + 8], 1
call fcn.00434cf0
test eax, eax
je 0x435297
cmp dword [esp + 0x424], esi
je 0x435205
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0x4ef314
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
jne 0x4351d1
lea edx, [esp + 0x10]
push edx
call edi
add esp, 4
shl eax, 1
push eax
lea eax, [esp + 0x14]
push eax
push 1
push str.exeOld
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [esp + 0x218]
push ecx
call edi
add esp, 4
lea edx, [esp + 0x218]
shl eax, 1
push eax
push edx
push 1
push 0x4ef314
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call esi
pop edi
pop esi
add esp, 0x418
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.exeOld
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
mov word [esp + 0x28], si
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x435297
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [esp + 0x10]
push eax
call edi
add esp, 4
test eax, eax
jbe 0x435297
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.exeOld
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x4ef314
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [esp + 0x10]
push ecx
call edi
add esp, 4
lea edx, [esp + 0x10]
shl eax, 1
push eax
push edx
push 1
push 0x4ef314
push str.SOFTWARETENCENTTraveler
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
add esp, 0x418
ret
Function at 0x435670
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
lea esi, [eax*4]
push ecx
mov edx, dword [edi]
push 0x40
add edx, esi
push 4
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [edi]
mov ecx, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [esp + 0xc]
push eax
push 4
add edx, esi
push ecx
push edx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4356eb
mov edx, dword [edi]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push 4
add edx, esi
push ecx
push edx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4356eb
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x435820
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov eax, 0x1258
call fcn.004d3780
push esi
push edi
mov edi, dword [esp + 0x1264]
mov dword [esp + 8], 0x104
test edi, edi
je 0x435951
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftInternet_ExplorerDefault_HTML_Editor_shelleditcommand
push reloc.DSOUND.dll_DirectSoundCreate
call esi
test eax, eax
je 0x43588f
lea ecx, [esp + 0xc]
push ecx
push str.InternetShortcut_shelleditcommand
push connect
call esi
test eax, eax
je 0x43588f
mov edx, dword [edi + 4]
push 0
push 2
push 0x9410
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
add esp, 0x1258
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 0x4ffec0
push edx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x43593e
cmp word [esp + 0x10], 0x22
jne 0x4358d8
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x4358ed
mov word [eax], 0
push str._dde
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x435905
mov word [eax], 0
lea ecx, [esp + 0x218]
push 0
push ecx
mov ecx, edi
call fcn.0049f9d0
test eax, eax
je 0x43593e
push 5
lea edx, [esp + 0x21c]
push 0
push edx
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x435951
mov eax, dword [edi + 4]
push 0
push 2
push 0x9410
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
add esp, 0x1258
ret
Function at 0x435960
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
push edx
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], 0x50
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x4359c0
mov eax, dword [esp + 0x1e]
push eax
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret

Function at 0x435a60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
mov ebx, dword [esp + 0x42c]
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x434]
push ebx
push str.CLSID_sInprocServer32
lea ecx, [esp + 0x20]
lea edi, [eax + eax]
push 0x103
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 1
call ebp
mov eax, dword [esp + 0x440]
add esp, 0x10
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x24]
push str.CodeBase
push edx
push connect
call esi
test eax, eax
jne 0x435af5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
mov ecx, dword [esp + 0x430]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x24]
push 0
push eax
push connect
call esi
test eax, eax
jne 0x435b29
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
push ebx
push str.CLSID_sLocalServer32
lea ecx, [esp + 0x20]
push 0x103
push ecx
call ebp
mov eax, dword [esp + 0x440]
add esp, 0x10
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push 0
push edx
push connect
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x435b76
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push str.CLSID_sTreatAs
lea eax, [esp + 0x20]
push 0x103
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x220]
lea eax, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0
push ecx
push connect
mov dword [esp + 0x28], 0x208
call esi
test eax, eax
jne 0x435bfe
mov edx, dword [esp + 0x434]
mov eax, dword [esp + 0x430]
push edx
lea ecx, [esp + 0x224]
push eax
push ecx
call fcn.00435a60
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret
mov edx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
mov word [edx], 0
xor eax, eax
pop ebx
add esp, 0x418
ret
Function at 0x435ce0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x418
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov dword [esp + 8], 0x208
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x420]
lea ecx, [esp + 0xc]
push eax
push str._sCLSID
push 0x103
push ecx
mov dword [esp + 0x14], 1
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0x214]
lea ecx, [esp + 4]
push edx
push eax
push ecx
lea edx, [esp + 0x18]
push 0
push edx
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x435d99
mov eax, dword [esp + 0x424]
mov ecx, dword [esp + 0x420]
push eax
lea edx, [esp + 0x214]
push ecx
push edx
call fcn.00435a60
add esp, 0xc
add esp, 0x418
ret
mov eax, dword [esp + 0x420]
mov word [eax], 0
xor eax, eax
add esp, 0x418
ret
Function at 0x435db0
Capabilities:
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
sub esp, 0x440
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x246]
mov word [esp + 0x244], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea eax, [esp + 0x248]
push 0x26
push eax
push esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x208
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x244]
lea edx, [esp + 0x3c]
push ecx
push str._sInternet_Exploreriexplore.exe
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.004a7ab0
add esp, 0x18
test eax, eax
jne 0x435e75
lea ecx, [esp + 0x18]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push 0x4ffec0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.004a7ab0
add esp, 8
test eax, eax
jne 0x435e75
mov word [esp + 0x3c], si
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [esp + 0x3c]
push edx
call ebx
add esp, 4
test eax, eax
jbe 0x435eba
mov eax, dword [esp + 0x450]
push 0xa
push esi
lea ecx, [esp + 0x44]
push eax
push ecx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x440
ret
mov edi, dword [esp + 0x450]
mov dword [esp + 0xc], esi
cmp edi, esi
je 0x435f80
push edi
call ebx
add esp, 4
test eax, eax
je 0x435f80
lea edx, [esp + 0xc]
push edx
push 0x4ddd88
push 0x15
push esi
push 0x4ddd58
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x435f80
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x435f71
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x435f31
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x10]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0xc]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x3c]
mov word [esp + 0x2c], si
mov word [esp + 0x3c], 8
mov dword [esp + 0x44], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x440
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x440
ret
Function at 0x4365f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x61c
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
rep stosd dword es:[edi], eax
mov ecx, dword [0x6dcf80]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x428]
push eax
push 0x76
push ecx
call esi
mov eax, dword [0x6dcf80]
lea edx, [esp + 0x14]
push 0x104
push edx
push 0x80
push eax
call esi
lea ecx, [esp + 0x424]
push ecx
call fcn.004a8150
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], dx
push 0x81800
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push 0x4ffec0
lea ecx, [esp + 0x430]
push eax
mov eax, dword [esp + 0x640]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [0x6dcf84]
push edx
push eax
push ecx
mov dword [esp + 0x30], ebp
call fcn.004a8200
add esp, 0x20
test eax, eax
je 0x43678f
lea edx, [esp + 0x21c]
push 0x4ef904
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x43678f
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebx
mov ebp, eax
call esi
add esp, 0x1c
test ebp, ebp
jle 0x436740
lea edi, [ebp + 1]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x436740
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
push ebp
push esi
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fread]
push 0
push esi
call fcn.00436960
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x1c
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x43677f
mov esi, dword [esp + 0x630]
test esi, esi
je 0x43677f
push 0x40
mov ecx, 0x68f388
call fcn.004ba9b0
push eax
push 0x82
call fcn.004ae820
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x61c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x61c
ret