joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40de08
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
je 0x40de5a
cmp dword [ebp + 0x10], esi
je 0x40de5a
push esi
push 0x80000080
push 2
push esi
push 3
push 0xc0000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40de5a
mov dword [ebp + 0x10], esi
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push edi
jne 0x40de60
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp + 0x10], esi
sete al
jmp 0x40de5c
Function at 0x40e5f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40e676
cmp dword [ebp + 0x10], 0
je 0x40e676
mov ecx, eax
shr ecx, 0x10
test cx, cx
jne 0x40e623
movzx eax, ax
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x40e676
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40e676
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40e676
and byte [esi + 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0x1c], 0
push 1
mov dword [esi + 8], eax
pop eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40e785
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x40e7af
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e7af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jne 0x40e7b3
xor eax, eax
jmp 0x40e7c4
and dword [esi + 0x10], 0
and dword [esi + 0x1c], 0
push 1
pop eax
mov byte [esi + 4], al
mov dword [esi + 0x18], eax
pop edi
pop esi
ret 4

Function at 0x40fffc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp - 4]
xor eax, eax
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x40ff2f
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x411cf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x411cfe
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x411ddf
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x434d10]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x434d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x434d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x434d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x434d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x434d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x434d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x434d10]
xor eax, esi
inc edx
dec edi
jne 0x411d1b
pop ebx
cmp dword [ebp + 0x10], 0
je 0x411e00
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x434d10]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x411de5
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x412626
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x41265a
lea eax, [ebp + 8]
push 0
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x412655
mov byte [esi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x412682
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x41266b
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
pop edi
div dword [ebp + 0xc]
pop esi
pop ebp
ret
Function at 0x413591
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x41360e
cmp dword [esi + 4], 0xffffffff
jne 0x41360e
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x43e5b4
push edi
call dword [sym.imp.MSVCRT.dll_wcscat]
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x4135e0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4135e0
mov eax, 0x2000000
jmp 0x413613
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00412407
add esp, 0x10
test eax, eax
jne 0x4135fe
mov eax, dword [ebp - 4]
jmp 0x413613
push eax
call fcn.00412901
mov dword [esi], eax
mov eax, dword [0x4696c8]
pop ecx
jmp 0x413613
mov eax, 0x1000000
pop esi
leave
ret 0xc

Function at 0x4139fe
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x413aa1
mov cx, word [edi]
test cx, cx
je 0x413aa1
mov eax, edi
mov edx, edi
cmp cx, 0x2f
je 0x413a2f
cmp cx, 0x5c
jne 0x413a31
mov eax, edx
inc edx
inc edx
mov cx, word [edx]
test cx, cx
jne 0x413a23
cmp eax, edi
je 0x413a71
sub eax, edi
push esi
mov esi, eax
lea eax, [ebp - 0x208]
sar esi, 1
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
and word [ebp + esi*2 - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.004139fe
add esp, 0x14
pop esi
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x410]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x410]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
leave
ret
Function at 0x41492b
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0041cb69
inc dword [eax + 0x14cc]
mov ecx, esi
call fcn.00416841
xor ebx, ebx
xor ecx, ecx
cmp dword [esi + 0x464], ebx
lea eax, [esi + 0xf64]
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
sete cl
xor edx, edx
cmp dword [eax], ebx
mov dword [esi + 0x464], ecx
sete dl
cmp ecx, ebx
mov dword [eax], edx
je 0x414998
mov ecx, esi
mov dword [esi + 0xf50], ebx
call fcn.004163c8
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x407
push dword [esi + 4]
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
jmp 0x414a08
mov dword [esi + 0xf50], 1
call fcn.0041cb69
push dword [eax + 0x4c]
mov ecx, esi
call fcn.00414a68
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jne 0x4149fa
push 0x3e8
push dword [esi + 4]
call edi
push 0
push eax
call ebp
push 0x3e9
push dword [esi + 4]
call edi
push 1
push eax
call ebp
push 0x407
push dword [esi + 4]
call edi
push 5
push eax
call ebx
mov dword [esi + 0xf54], 1
jmp 0x414a01
and dword [esi + 0xf54], 0
mov ecx, esi
call fcn.0041753a
push 0x414
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3fe
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0
mov ecx, esi
call fcn.00416088
cmp dword [esi + 0x464], 0
jne 0x414a5f
cmp dword [esi + 0xf54], 0
je 0x414a5f
push 0x3e8
push dword [esi + 4]
call edi
push 0
push eax
call ebp
push 0x407
push dword [esi + 4]
call edi
push 5
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x414a68
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 1
call fcn.00404707
xor ebx, ebx
lea ecx, [ebp - 4]
push ebx
push 0x43ed3c
call fcn.00404a42
cmp eax, ebx
jle 0x414bf1
add eax, 2
push edi
push eax
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.004182b1
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x414be8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.00432480
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
cmp edx, 0x400
rep stosd dword es:[edi], eax
mov dword [ebp + 8], edx
stosw word es:[edi], ax
jb 0x414b48
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
fild qword [ebp - 0x24]
push ecx
push ecx
lea eax, [ebp - 0x234]
fmul dword [0x435118]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x414b63
push edx
push str._d_MB
lea eax, [ebp - 0x234]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x43ed18
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, dword [ebp + 8]
pop ecx
jbe 0x414be8
mov dword [esi + 0xa40], 0x4545c8
mov eax, dword [0x43b4ec]
mov dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0xc], ebx
call fcn.00404768
mov edi, str.iRYOzz
mov eax, edi
test eax, eax
je 0x414ba7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
push dword [ebp + 8]
mov edi, 0x407
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp + 8]
mov dword [esi + 0xf54], 1
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
pop edi
lea ecx, [ebp - 4]
call fcn.00404beb
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 4
Function at 0x415409
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
push ebx
push esi
push edi
call fcn.0041cb69
add eax, 0x4c
lea ecx, [ebp - 8]
push eax
call fcn.004046c1
lea eax, [ebp - 8]
push str.pluginbar.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x4154ac
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4154ac
push str.InitPluginbar
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4696d4], eax
je 0x4154ac
and word [ebp - 0x220], 0
push dword [ebp - 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
push 0x43baa0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push 0x103
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [0x4696d4]
and word [ebp - 0xa20], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa1e]
rep stosd dword es:[edi], eax
and dword [ebp - 0x10], 0
push 4
pop ebx
mov dword [ebp - 0xc], 1
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultFAV
lea eax, [ebp - 0xa20]
push 0x3ff
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call esi
add esp, 0x10
lea eax, [ebp - 0x18]
mov edi, str.isinit
mov esi, SysReAllocString
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x415523
cmp dword [ebp - 0x10], 1
je 0x415538
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 0x468e34
pop edi
mov ecx, eax
pop esi
test ecx, ecx
pop ebx
je 0x41555d
cmp word [0x468e34], 0
je 0x41555d
push 0xbb8
push eax
call fcn.00427720
pop ecx
pop ecx
call fcn.0041cb69
mov ecx, eax
call fcn.0042295e
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
leave
ret

Function at 0x41557b
Capabilities:
Hide graphical window

Disassembly:
add ecx, 0xbfc
jmp 0x418a01
mov eax, dword [ecx + 4]
test eax, eax
je 0x418a11
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x415586
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, 0xbb8
cmp dword [esi + 0x6c8], edi
je 0x4155b0
push ebx
push str.360sess.exe
call fcn.00427593
pop ecx
pop ecx
cmp dword [esi + 0x6c4], edi
je 0x415625
mov word [ebp - 0x218], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x43ece4
push edi
call fcn.0041cb69
push dword [eax + 0x4c]
lea eax, [ebp - 0x218]
push 0x43c530
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push edi
call fcn.00427593
add esp, 0x1c
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push 4
push eax
push 4
push str.InstallKillProcess
push str.Software360360se5
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edi, edi
cmp dword [esi + 0x38], edi
je 0x41573b
cmp word [esi + 0x3c], di
lea ebx, [esi + 0x3c]
je 0x41573b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41573b
mov eax, dword [esi + 0x38]
cmp eax, 1
jne 0x41565e
push ebx
call fcn.004241da
pop ecx
jmp 0x41573b
cmp eax, 2
jne 0x41573b
call fcn.0041cb69
add eax, 0x4c
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
push ebx
lea ecx, [ebp - 8]
call fcn.00404707
mov eax, dword [0x43b4ec]
push edi
push dword [ebp - 8]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.00404a42
cmp eax, 0xffffffff
je 0x415723
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax - 8]
sub eax, dword [ecx - 8]
lea ecx, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404803
push eax
lea ecx, [ebp - 0xc]
call fcn.00404768
lea ecx, [ebp - 0x10]
call fcn.00404beb
push 1
push 0x43e5b4
lea ecx, [ebp - 0xc]
call fcn.00404a42
cmp eax, 0xffffffff
je 0x415701
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.004047b8
mov eax, dword [eax]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
lea ecx, [ebp - 0x10]
call fcn.00404beb
jmp 0x415710
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
push dword [ebp - 8]
mov eax, 0x466054
push eax
push eax
push ebx
call fcn.00424530
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
call fcn.0041cb69
mov ecx, eax
call fcn.00423621
mov ecx, esi
call fcn.00416700
push 0xc8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push dword [esi + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x624]
call fcn.0041c336
push 3
pop eax
push eax
mov dword [esi + 0x460], eax
call fcn.0040755c
pop ecx
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415c7d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0xf6c], eax
je 0x415d3b
cmp dword [esi + 0x460], 3
jg 0x415d3b
cmp dword [esi + 0x34], eax
jne 0x415d3b
cmp dword [esi + 0x38], eax
jne 0x415d3b
push edi
mov ecx, 0x81
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0041cb69
push dword [eax + 0x4c]
lea eax, [ebp - 0x20c]
push 0x43baa0
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
call fcn.0041cb69
add eax, 0x44
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x415d20
lea eax, [ebp - 0x20c]
push eax
call fcn.004241da
pop ecx
push dword [ebp - 4]
call edi
test eax, eax
pop edi
je 0x415d33
push dword [ebp - 4]
call fcn.004241da
pop ecx
lea ecx, [ebp - 4]
call fcn.00404beb
mov ecx, esi
call fcn.00415d93
call fcn.0040749a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
leave
ret

Function at 0x415d93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.00432300
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push str.SoftwareIEStub
push SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415eae
push edi
mov ecx, 0x411
lea edi, [ebp - 0x1056]
mov word [ebp - 0x1058], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x823
push eax
lea eax, [ebp - 0x1058]
push eax
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], 1
call esi
test eax, eax
jne 0x415e8e
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 6
lea eax, [ebp - 0x1058]
push str.8CLSID
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415e56
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Explorer
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415e56
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Settings
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x415e59
inc dword [ebp - 0xc]
push 0
lea eax, [ebp - 0x1058]
push 0x1048
push eax
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x415e11
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 3
pop edi
jne 0x415eae
push str.SoftwareIEStub
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop esi
leave
ret
Function at 0x415eb7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x415edd
cmp eax, 1
je 0x415ed9
jle 0x415ed9
cmp eax, 3
jg 0x415ed9
push 0x12
jmp 0x415edf
push 0x11
jmp 0x415edf
push 3
call fcn.0040755c
pop ecx
mov edi, 0x3e8
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0x407
push dword [esi + 4]
call ebx
push 0
push eax
call edi
lea eax, [ebp - 0x10]
push 1
push eax
mov dword [ebp - 0x10], 0xfa
push dword [esi + 4]
mov dword [ebp - 0xc], 0x113
mov dword [ebp - 8], 0x19a
mov dword [ebp - 4], 0x177
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xa70]
push eax
mov dword [ebp - 0x20], 0x6c
push dword [esi + 4]
mov dword [ebp - 0x1c], 0x154
mov dword [ebp - 0x18], 0x202
mov dword [ebp - 0x14], 0x15d
call fcn.0041ca3d
push 5
pop ebx
push ebx
push dword [esi + 0xa74]
call edi
push 0
mov dword [esi + 0x460], ebx
push dword [esi + 4]
push 0x1402
call fcn.00410026
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x415fe5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
xor eax, eax
push ecx
lea ecx, [ebp - 4]
push eax
push ecx
push 0x415fd4
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
leave
ret
Function at 0x4162c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x43eeb4
lea ecx, [ebp - 4]
call fcn.00404707
and word [ebp - 0x230], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22e]
rep stosd dword es:[edi], eax
and word [ebp - 0x43c], 0
mov ebx, 0x3f7
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x43a]
push ebx
push dword [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
lea ecx, [ebp - 0x43c]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x20
lea eax, [ebp - 0x28]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0x1041
mov dword [ebp - 0x14], 0x416243
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [ebp - 8], eax
je 0x4163a6
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4174cb
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 4
call fcn.00407330
push 6
call fcn.0040755c
pop ecx
mov ebp, 0x3e8
pop ecx
push eax
push ebp
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x409
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x407
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call fcn.00415798
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10