joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414c10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x567c]
test eax, eax
je 0x414d22
push ebx
push ebp
push edi
mov edi, dword [esi + 0x5628]
xor ebx, ebx
test edi, edi
jne 0x414c43
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x414c41
call fcn.00414d30
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x414c55
mov ebx, 1
jmp 0x414cdd
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x414c67
mov ebx, 2
jmp 0x414cdd
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x414cd6
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x414cc3
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x5618]
mov edx, dword [esi + 0x5610]
mov eax, dword [esp + 0x18]
sub ecx, edx
cmp eax, ecx
jne 0x414cbc
mov edx, dword [esi + 0x561c]
mov ecx, dword [esi + 0x5614]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x414cbc
mov ebx, 3
jmp 0x414cc8
mov ebx, 4
jmp 0x414cc8
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x414cdd
call ebp
mov dword [esi + 0x44], eax
jmp 0x414cdd
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x414d10
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x414d10
mov eax, dword [esi + 0x563c]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x414d10
mov eax, dword [esi + 0x5624]
push esi
push 0x2c
push 0x3401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
pop edi
pop ebp
cmp eax, 2
pop ebx
ja 0x414d22
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x416050
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x57d3e4
call fcn.00416390
push 0x40
push 0x4e1d40
push 0x57d3e4
push 0x57d3e4
call fcn.004162b0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x4160db
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x4f8264]
mov ecx, 8
mov esi, eax
mov edi, 0x57d3c4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004161f0
mov ecx, dword [0x4f8260]
mov edx, dword [0x4f8264]
push 0x20
push ecx
push edx
call fcn.00416300
mov edi, dword [0x4f8260]
add esp, 0x14
mov ecx, 8
mov esi, 0x57d3c4
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41608f
jmp 0x416134
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x4f8260]
mov ecx, 8
mov esi, eax
mov edi, 0x57d3c4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004161f0
mov ecx, dword [0x4f8264]
mov edx, dword [0x4f8260]
push 0x20
push ecx
push edx
call fcn.00416300
mov edi, dword [0x4f8264]
add esp, 0x14
mov ecx, 8
mov esi, 0x57d3c4
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4160ea
push 0x40
push 0x4e1d80
push 0x57d3e4
push 0x57d3e4
call fcn.004162b0
mov eax, dword [esp + 0x24]
push 0x40
push 0x57d3e4
push eax
call fcn.004163d0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x416170
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x57d384
call fcn.00416390
push 0x38
push str.91__
push 0x57d384
push 0x57d384
call fcn.004162b0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4e1e78]
mov edx, dword [0x4f8268]
push ecx
push 0x1c
push edx
call fcn.00416330
movsx eax, byte [esi + 0x4e1e78]
mov ecx, dword [0x4f826c]
push eax
push 0x1c
push ecx
call fcn.00416330
push 0x30
push 0x4e1e48
push 0x57d384
push edi
call fcn.004162b0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x4161a2
pop edi
pop esi
ret

Function at 0x4161f0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4e1dc0
push esi
push 0x57d354
call fcn.004162b0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x57d354
call fcn.00416300
push 0x57d354
push esi
call fcn.00416240
push 0x20
push 0x4e1df0
push esi
push esi
call fcn.004162b0
add esp, 0x34
pop esi
ret

Function at 0x416300
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x416322
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x416314
pop ebx
pop esi
ret
Function at 0x4171d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dc89e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d7b60
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004ccba0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004542b0
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x18], 2
call fcn.004542b0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x518], edi
mov dword [esi + 0x51c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x528], edi
mov dword [esi + 0x520], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x4e2090
mov eax, esi
pop edi
mov dword [ebx], 0x4e208c
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4171e7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dc89e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d7b60
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004ccba0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004542b0
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x18], 2
call fcn.004542b0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x518], edi
mov dword [esi + 0x51c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x528], edi
mov dword [esi + 0x520], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x4e2090
mov eax, esi
pop edi
mov dword [ebx], 0x4e208c
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x417290
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dc8ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x24]
mov dword [esi], 0x4e2090
mov dword [edi], 0x4e208c
lea ecx, [esi + 0x2a4]
mov dword [esp + 0x18], 2
call fcn.004543a0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004543a0
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004ccbd0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d7ba0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x417600
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x44
lea edx, [esp + 0x10]
push edi
push edx
push 0x44000000
push 0x514ff0
push str.XWnd
push 0
mov ecx, esi
call fcn.004d7c50
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0
push 0xc6
push ecx
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x39
call fcn.004843d0
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x30]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x518], eax
call fcn.00454440
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00454930
mov eax, dword [esi + 4]
push 0
push 0
push 0xc7
push eax
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x3a
call fcn.004843d0
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x2a4]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x51c], eax
call fcn.00454440
push 0xc7
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00454930
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x4177b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x4177d0
call fcn.00417730
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x417800
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jle 0x417830
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4f8360]
xor eax, edx
inc ecx
dec esi
jne 0x417811
pop ebx
not eax
pop esi
ret
Function at 0x418a30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
call fcn.00494910
test eax, eax
jne 0x418acd
push eax
push str._tp:
mov ecx, 0x514ff8
call fcn.00406650
push eax
call fcn.00441d30
add esp, 0xc
cmp eax, 2
je 0x418acd
mov ax, word [0x514ff0]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0xc]
push ecx
push 0x4f7624
push 2
push str._tp:
push str._s_d__s_d
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea eax, [esp + 0xc]
push 5
push 0
push eax
push 0x515064
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x20c
ret
mov esi, dword [esp + 0x214]
test esi, esi
je 0x418af6
push 1
push 0x4f87b4
push 0x4f7318
mov dword [0x5f3098], 1
call fcn.00409f30
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00419d40
push esi
call fcn.00418ca0
push esi
call fcn.004190c0
push esi
call fcn.00418de0
push esi
call fcn.00419480
add esp, 0x10
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0xa
push 2
push str.SOFTWAREClientsStartMenuInternet
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [0x5ed668]
test eax, eax
je 0x418b73
test esi, esi
je 0x418b6e
call fcn.00494a10
pop esi
add esp, 0x20c
ret
call fcn.00494a20
pop esi
add esp, 0x20c
ret
Function at 0x418ca0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
mov ax, word [0x514ff0]
push edi
mov word [esp + 4], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x210]
test eax, eax
je 0x418d92
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x515474
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push 0x515474
push 1
push 0x514ff0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x515474
push str.SOFTWAREClientsStartMenuInternet
push 0x4f8944
lea ecx, [esp + 0x18]
push 0x103
push ecx
call ebx
push str.360SE_Browser
call esi
add esp, 0x18
lea edx, [esp + 0xc]
shl eax, 1
push eax
push str.360SE_Browser
push 1
push 0x514ff0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push str.shellopencommand
push 0x515474
push str.SOFTWAREClientsStartMenuInternet
push str._s_s_s
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
push 0x515064
call esi
add esp, 0x1c
lea ecx, [esp + 0xc]
shl eax, 1
push eax
push 0x515064
push 1
push 0x514ff0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop esi
pop ebx
jmp 0x418dbf
push str.IEXPLORE.EXE
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push str.IEXPLORE.EXE
push 1
push 0x514ff0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREClientsStartMenuInternet
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
add esp, 0x208
ret
Function at 0x418de0
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword [0x5ed660]
sub esp, 0x22c
test eax, eax
je 0x418fc0
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x418e0f
mov ebp, str.360seURL
mov dword [esp + 0x10], ebp
mov edi, ebp
jmp 0x418e21
mov ebp, str.htmlfile
mov dword [esp + 0x10], str.mhtmlfile
mov edi, str.IE.HTTP
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push edi
call esi
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_ftpUserChoice
push SysReAllocString
call ebx
push edi
call esi
add esp, 4
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call ebx
push edi
call esi
add esp, 4
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice
push SysReAllocString
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], str..htm
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push SysReAllocString
mov dword [esp + 0x3c], 0x4f7ffc
mov dword [esp + 0x40], str..shtm
mov dword [esp + 0x44], str..shtml
mov dword [esp + 0x30], str..mht
mov dword [esp + 0x34], str..mhtml
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edi, [esp + 0x24]
mov dword [esp + 0x14], 4
mov ecx, dword [edi]
lea edx, [esp + 0x34]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push str._s_sUserChoice
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [esp + 0x34]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ebp
call esi
add esp, 4
lea ecx, [esp + 0x34]
shl eax, 1
push eax
push ebp
push 1
push str.Progid
push ecx
push SysReAllocString
call ebx
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x418ef2
lea edi, [esp + 0x1c]
mov ebp, 2
mov edx, dword [edi]
lea eax, [esp + 0x34]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push str._s_sUserChoice
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [esp + 0x10]
push edx
call esi
add esp, 4
lea ecx, [esp + 0x34]
shl eax, 1
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push str.Progid
push ecx
push SysReAllocString
call ebx
add edi, 4
dec ebp
jne 0x418f56
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22c
ret
Function at 0x418ff0
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 0x514ff0
push ebp
push SysReAllocString
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 0x514ff0
push edx
push SysReAllocString
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 0x514ff0
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x419d40
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub esp, 0x410
push esi
push edi
call fcn.00493a20
mov edx, eax
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x104
push eax
push edx
call fcn.00418fd0
add esp, 0xc
lea ecx, [esp + 0x210]
push str.IEXPLORE.EXE
push str.SOFTWAREClientsStartMenuInternet
push 0x4f8944
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea edx, [esp + 0x210]
push str.LocalizedString
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [esp + 8]
push eax
push str.open
push str.htmlfile_shell
call fcn.00418ff0
lea ecx, [esp + 0x14]
push ecx
push str.open
push str.InternetShortcut_shell
call fcn.00418ff0
lea edx, [esp + 0x20]
push edx
push str.open
push str.mhtmlfile_shell
call fcn.00418ff0
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esp, 0x24
push str.TheWorld.HTTP
push SysReAllocString
call esi
push str.TheWorld.AssocFile.HTM
push SysReAllocString
call esi
push str.TheWorld.AssocFile.MHT
push SysReAllocString
call esi
pop edi
pop esi
add esp, 0x410
ret

Function at 0x419e50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x224]
push ecx
mov ecx, dword [esp + 0x224]
push edx
mov edx, dword [esp + 0x224]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x419edc
cmp word [esp + 8], ax
je 0x419edc
mov eax, dword [esp + 0x220]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x419edc
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret

Function at 0x419f70
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push eax
push edi
push ebx
push SysReAllocString
call fcn.00419e50
add esp, 0x10
test eax, eax
je 0x419fb5
push esi
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push esi
push 1
push edi
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop esi
pop edi
pop ebx
ret
Function at 0x41a3e0
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x48]
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, 0x915
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esi + 8]
lea edx, [esi + 0x48]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x48]
mov eax, 0x800
mov dword [esp + 0x34], edx
lea ecx, [esi + 0x2148]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea edx, [esi + 0x2348]
mov eax, 0x80
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
lea ecx, [esi + 0x1048]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 8]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esi + 0x2048]
push eax
push edi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x38], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x41a4cc
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x41a49e
cmp eax, 4
je 0x41a49e
cmp eax, 1
jne 0x41a4cc
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [esi + 0x2448], ecx
mov dword [esi + 0x244c], ecx
mov cx, word [esp + 0x20]
mov dword [esi + 0x2450], 0xffffffff
mov word [esi], cx
pop edi
mov eax, 1
pop esi
add esp, 0x3c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret

Function at 0x41a4e0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x41a4f0
xor eax, eax
pop esi
pop ecx
ret
push edi
lea eax, [esi + 0x5d4e0]
push str.MetalinkFile
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x41a52f
push str.MetalinkFile
mov word [edi], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 8
mov dword [esi + 0x2690], eax
mov ecx, esi
call fcn.0041f090
test eax, eax
pop edi
jne 0x41a53e
pop esi
pop ecx
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x2460], eax
je 0x41a585
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x41a930
push 0
push 0
mov dword [esi + 0x5d0ac], 8
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x41b670
Capabilities:
Send data

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [edx + 4], 1
je 0x41b6fd
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x41b72b
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [edi + 0x2480]
mov eax, dword [edi + 0x247c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x41b6e6
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov eax, 1
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41b735
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [esi], 0
jne 0x41b716
mov eax, dword [esi + 4]
test eax, eax
je 0x41b716
mov dword [esi + 0x18], eax
pop edi
mov eax, 1
pop esi
ret 4
push 1
push ecx
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.0041ccb0
test eax, eax
je 0x41b735
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x41be70
Capabilities:
Send data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [ecx + 4], 1
je 0x41bf00
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x41bf37
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], 0
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [edi + 0x2480]
mov edx, dword [edi + 0x247c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x41bee8
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0x3e5
sete dl
pop edi
pop esi
mov eax, edx
pop ebx
ret 4
cmp dword [esi], 0
jne 0x41bf1a
mov eax, dword [esi + 4]
test eax, eax
je 0x41bf1a
mov dword [esi + 0x18], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.0041ccb0
test eax, eax
jne 0x41bf37
push ebx
mov ecx, edi
call fcn.0041c790
pop edi
pop esi
mov eax, 1
pop ebx
ret 4