joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4213b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51f33e
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.0050bd10
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004f9290
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462e30
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00462e30
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x528], edi
mov dword [esi + 0x52c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x538], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x52725c
mov eax, esi
pop edi
mov dword [ebx], 0x527258
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51f33e
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.0050bd10
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004f9290
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462e30
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00462e30
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x528], edi
mov dword [esi + 0x52c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x538], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x52725c
mov eax, esi
pop edi
mov dword [ebx], 0x527258
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51f38a
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], 0x52725c
mov dword [edi], 0x527258
lea ecx, [esi + 0x2ac]
mov dword [esp + 0x18], 2
call fcn.00462f30
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462f30
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004f92c0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0050bd50
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4217d0
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 0
push 0x2008
push 0x44
lea edx, [esp + 0x18]
push edi
push edx
push 0x44000000
push 0x5711d0
push str.XWnd
push 0
mov ecx, esi
call fcn.0050be20
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.0049c120
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
push 0
lea edi, [esi + 0x30]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x528], eax
call fcn.00462fd0
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.004634e0
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.0049c120
add esp, 4
push eax
push str.Button
push 0
call ebx
push 0
push 0
mov dword [esi + 0x52c], eax
lea edi, [esi + 0x2ac]
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00462fd0
mov ecx, dword [esi + 4]
push 0xc7
push ecx
mov ecx, edi
call fcn.004634e0
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x421980
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x4219a0
call fcn.00421900
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 0x4219c0
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 0x4219f0
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 + 0x53e918]
xor eax, edx
inc ecx
dec esi
jne 0x4219d1
pop ebx
not eax
pop esi
ret

Function at 0x422bc0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebp, ebp
mov esi, ecx
je 0x422c56
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x422c56
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x422bfc
push eax
push 0x53d4a4
lea eax, [esi + 0x28]
push 0x103
push eax
call edi
add esp, 0x10
push ebp
push 0x53d4a4
lea ecx, [esi + 0x230]
push 0x103
push ecx
call edi
push ebx
push 0x53d4a4
lea edx, [esi + 0x438]
push 0x103
push edx
call edi
push 0
push 4
push esi
push 0x422f50
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x38
mov dword [esi + 0x24], eax
test eax, eax
pop edi
je 0x422c56
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x422cb0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x628
push ebx
push ebp
push esi
mov dword [esp + 0x18], ecx
call fcn.00406200
mov esi, eax
xor ebp, ebp
xor ebx, ebx
cmp esi, ebp
mov dword [esp + 0xc], esi
je 0x422eb2
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x422eb2
push edi
mov ecx, pe_nt_image_headers32
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], 1
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bp
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x228]
stosw word es:[edi], ax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push 0x103
push ecx
push edx
mov ecx, esi
call fcn.00439850
test eax, eax
je 0x422eb1
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x432]
mov word [esp + 0x430], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
stosw word es:[edi], ax
je 0x422da3
lea eax, [esp + 0x20]
push 0x103
push eax
call fcn.0042f3b0
lea ecx, [esp + 0x430]
push 0x103
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0042f2c0
jmp 0x422e44
cmp word [esp + 0x228], bp
je 0x422e44
lea edx, [esp + 0x228]
push ebp
push edx
mov ecx, esi
call fcn.00430050
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
push esi
call edi
test eax, eax
jne 0x422de5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
push 1
push eax
call fcn.00430050
mov esi, eax
push esi
call edi
test eax, eax
je 0x422e40
lea ecx, [esp + 0x430]
push 0x103
push ecx
push esi
call fcn.0043fa10
lea edx, [esp + 0x234]
lea ecx, [esp + 0x2c]
add esp, 0xc
mov esi, 0x104
lea eax, [esp + 0x20]
sub edx, ecx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x422e36
mov cx, word [edx + eax]
cmp cx, bp
je 0x422e36
mov word [eax], cx
add eax, 2
dec esi
jne 0x422e18
jmp 0x422e3a
cmp esi, ebp
jne 0x422e3d
sub eax, 2
mov word [eax], bp
mov esi, dword [esp + 0x10]
cmp word [esp + 0x20], bp
je 0x422ea8
cmp word [esp + 0x430], bp
je 0x422ea8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x200
jge 0x422eb1
cmp eax, ebp
jne 0x422e81
lea edx, [esp + 0x430]
lea eax, [esp + 0x20]
push edx
push eax
push str._s__s
push 0x1ff
push ebx
jmp 0x422e9f
lea ecx, [esp + 0x430]
lea edx, [esp + 0x20]
push ecx
mov ecx, 0x1ff
push edx
sub ecx, eax
push 0x53ed20
lea edx, [ebx + eax*2]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
inc dword [esp + 0x18]
jmp 0x422cff
pop edi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x638]
push ebx
push eax
mov edx, dword [ecx + 4]
push 0x401
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
pop ebx
add esp, 0x628
ret 4
Function at 0x4230f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x218
mov eax, dword [esp + 0x21c]
push ebx
push ebp
xor ebp, ebp
xor ebx, ebx
push esi
cmp eax, 3
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
ja case.default.0x423118
jmp dword [eax*4 + 0x4232d4]
mov eax, dword [esi + 4]
push ebp
push 0x7530
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], ebp
push edx
mov dword [esp + 0x18], ebp
call dword [sym.imp.MSVCRT.dll_time]
lea eax, [esp + 0x20]
push eax
push str.LastCheckUpdate
push str.Main
call fcn.0040e850
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, ecx
add esp, 0x10
sub eax, edx
js 0x423189
cmp eax, 0x5460
jle 0x4231a1
push ecx
push str.LastCheckUpdate
push str.Main
mov ebx, 0x5711d0
call fcn.0040e9d0
add esp, 0xc
call fcn.004c09f0
mov ecx, eax
call fcn.004c0aa0
jmp 0x423255
mov ecx, dword [esi + 4]
push 1
push ecx
mov dword [esp + 0x20], 5
mov ebx, str._manual
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x423255
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x438]
lea ecx, [esp + 0x20]
push eax
push str._sv3update_v3update.ini
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0x20]
push edx
push ebp
push str.flag
push 0x53ed88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne case.default.0x423118
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x7d0
push eax
push 0x53ed84
push str.flag
push 0x53ed88
mov ebx, str._v3_update_only_update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp ebx, ebp
je case.default.0x423118
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bp
rep stosd dword es:[edi], eax
add esi, 0x230
lea ecx, [esp + 0x20]
push esi
push str._sseup.exe
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x30]
push ebp
push edx
call fcn.0043f710
add esp, 0x18
test eax, eax
je case.default.0x423118
lea eax, [esp + 0x20]
push eax
call fcn.004ae5c0
add esp, 4
test eax, eax
je case.default.0x423118
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push 1
push ebx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00451fc0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
Function at 0x4233b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x208
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
lea esi, [edx + 0x438]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
call edi
add esp, 4
dec eax
cmp eax, 0x103
jbe 0x4233f1
mov eax, 0x103
jmp 0x4233f8
push esi
call edi
add esp, 4
dec eax
push eax
lea eax, [esp + 0xc]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.0043f710
add esp, 0x14
test eax, eax
pop edi
pop esi
je 0x423449
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x423449
test al, 0x10
jne 0x423449
lea eax, [esp]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x208
ret

Function at 0x423540
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x20c
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push str.pluginbar.dll
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x230]
lea ecx, [esp + 0x10]
push eax
push 0x53dc6c
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0043f710
add esp, 0x1c
test eax, eax
je 0x4235d3
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 4
push esi
push 0x4235e0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4235d3
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x423900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x423995
push 0
push str.seupdr.dat
mov ecx, 0x571210
call fcn.0040c2e0
test eax, eax
je 0x42398c
push 0x53ee64
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42398c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0051e250
mov eax, dword [ebp + 8]
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push 1
push eax
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
call fcn.0051e1fa
add esp, 4
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x423bc0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push esi
mov dword [esp + 4], eax
push edx
lea eax, [esp + 8]
push 0
push eax
push 0x423c20
push 0
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x423c14
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop esi
add esp, 0xc
ret

Function at 0x423d60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x214]
push esi
call fcn.00423c50
add esp, 4
test eax, eax
je 0x423dc3
test esi, esi
je 0x423d9d
push 1
push str.CheckDefault
push str.Option
mov dword [0x5a12fc], 1
call fcn.0040e9d0
add esp, 0xc
push esi
push str.DefaultBrowser
push str.Option
mov dword [0x5a1300], esi
call fcn.0040e9d0
add esp, 0xc
mov eax, 1
pop esi
add esp, 0x20c
ret
call fcn.004c2ae0
test eax, eax
jne 0x423e54
push eax
push str._tp:
mov ecx, 0x571210
call fcn.0040aca0
push eax
call fcn.00450120
add esp, 0xc
cmp eax, 2
je 0x423e54
mov ax, word [0x5711d0]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
push esi
push 0x53da2c
push 2
push str._tp:
push str._s_d__s_d
lea ecx, [esp + 0x20]
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea edx, [esp + 0xc]
push 5
push 0
push edx
push 0x571274
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret
test esi, esi
je 0x423e76
push 1
push str.CheckDefault
push str.Option
mov dword [0x5a12fc], 1
call fcn.0040e9d0
add esp, 0xc
push esi
push str.DefaultBrowser
push str.Option
mov dword [0x5a1300], esi
call fcn.0040e9d0
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00425160
push esi
call fcn.00424020
push esi
call fcn.00424440
push esi
call fcn.00424160
push esi
call fcn.00424850
add esp, 0x10
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
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, 1
pop esi
add esp, 0x20c
ret
Function at 0x424020
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
mov ax, word [0x5711d0]
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 0x424112
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x571684
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push 0x571684
push 1
push 0x5711d0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x571684
push str.SOFTWAREClientsStartMenuInternet
push str._s_s
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 0x5711d0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push str.shellopencommand
push 0x571684
push str.SOFTWAREClientsStartMenuInternet
push str._s_s_s
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
push 0x571274
call esi
add esp, 0x1c
lea ecx, [esp + 0xc]
shl eax, 1
push eax
push 0x571274
push 1
push 0x5711d0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop esi
pop ebx
jmp 0x42413f
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 0x5711d0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREClientsStartMenuInternet
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
add esp, 0x208
ret
Function at 0x424160
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword [0x58b4f4]
sub esp, 0x22c
test eax, eax
je 0x424340
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x42418f
mov ebp, str.360seURL
mov dword [esp + 0x10], ebp
mov edi, ebp
jmp 0x4241a1
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 SysReAllocStringLen
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 SysReAllocStringLen
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 SysReAllocStringLen
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 SysReAllocStringLen
mov dword [esp + 0x3c], str..html
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 SysReAllocStringLen
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 SysReAllocStringLen
call ebx
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x424272
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 SysReAllocStringLen
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 SysReAllocStringLen
call ebx
add edi, 4
dec ebp
jne 0x4242d6
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 0x424370
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 0x5711d0
push ebp
push SysReAllocStringLen
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 0x5711d0
push edx
push SysReAllocStringLen
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 0x5711d0
push ecx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret