joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4156eb
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 0x415715
push ebx
push str.360sess.exe
call fcn.0042799d
pop ecx
pop ecx
cmp dword [esi + 0x6c4], edi
je 0x41578a
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, str.360se.exe
push edi
call fcn.0041cd00
push dword [eax + 0x4c]
lea eax, [ebp - 0x218]
push 0x43d538
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push edi
call fcn.0042799d
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 0x4158a0
cmp word [esi + 0x3c], di
lea ebx, [esi + 0x3c]
je 0x4158a0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4158a0
mov eax, dword [esi + 0x38]
cmp eax, 1
jne 0x4157c3
push ebx
call fcn.004245e4
pop ecx
jmp 0x4158a0
cmp eax, 2
jne 0x4158a0
call fcn.0041cd00
add eax, 0x4c
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
push ebx
lea ecx, [ebp - 8]
call fcn.00404707
mov eax, dword [0x43c4ec]
push edi
push dword [ebp - 8]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.00404a42
cmp eax, 0xffffffff
je 0x415888
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 0x43f45c
lea ecx, [ebp - 0xc]
call fcn.00404a42
cmp eax, 0xffffffff
je 0x415866
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 0x415875
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
push dword [ebp - 8]
mov eax, 0x467084
push eax
push eax
push ebx
call fcn.0042493a
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.0041cd00
mov ecx, eax
call fcn.00423892
mov ecx, esi
call fcn.0041689c
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.0041c4cd
push 3
pop eax
push eax
mov dword [esi + 0x460], eax
call fcn.0040764c
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 0x415e56
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 0x415f14
cmp dword [esi + 0x460], 3
jg 0x415f14
cmp dword [esi + 0x34], eax
jne 0x415f14
cmp dword [esi + 0x38], eax
jne 0x415f14
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.0041cd00
push dword [eax + 0x4c]
lea eax, [ebp - 0x20c]
push 0x43caa8
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
call fcn.0041cd00
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 0x415ef9
lea eax, [ebp - 0x20c]
push eax
call fcn.004245e4
pop ecx
push dword [ebp - 4]
call edi
test eax, eax
pop edi
je 0x415f0c
push dword [ebp - 4]
call fcn.004245e4
pop ecx
lea ecx, [ebp - 4]
call fcn.00404beb
mov ecx, esi
call fcn.00415f2f
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 0x415f2f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.00432710
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 0x41604a
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 0x41602a
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 0x415ff2
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Explorer
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415ff2
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Settings
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x415ff5
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 0x415fad
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 3
pop edi
jne 0x41604a
push str.SoftwareIEStub
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop esi
leave
ret
Function at 0x416053
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 0x416079
cmp eax, 1
je 0x416075
jle 0x416075
cmp eax, 3
jg 0x416075
push 0x12
jmp 0x41607b
push 0x11
jmp 0x41607b
push 3
call fcn.0040764c
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.0041cbd4
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.0041009d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x416181
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 0x416170
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
leave
ret
Function at 0x416464
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x43fd5c
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], 0x4163df
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [ebp - 8], eax
je 0x416542
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 0x417717
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 4
call fcn.004074e2
push 6
call fcn.0040764c
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.004158fd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x418020
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x417
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
cmp dword [esi + 0xf50], 0
mov ebp, 0x3e8
je 0x418108
push 0x407
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x3ef
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x419
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x3fc
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x418
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0
push 0
push 0xf0
push dword [esi + 0xe88]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push dword [esi + 4]
test eax, eax
je 0x4180d4
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3e9
push dword [esi + 4]
call edi
push 5
jmp 0x4180eb
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3e9
push dword [esi + 4]
call edi
push 0
push eax
call ebx
cmp dword [esi + 0xf54], 0
je 0x41812f
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x41812f
push 1
mov ecx, esi
call fcn.00416224
push 0x416
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3e9
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push ebp
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 0x418145
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x464], ebx
jne 0x4181dd
push ebx
push ebx
push 0xf0
push dword [esi + 0xe88]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4181b3
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, 0x3e8
push ebp
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call ebx
push 0x3e9
push dword [esi + 4]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0xf54], 0
je 0x4181dd
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call ebx
jmp 0x4181dd
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e8
push dword [esi + 4]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3e9
push dword [esi + 4]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x418b5d
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
mov esi, ecx
push 0
call fcn.00418b87
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x418e79
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push ebx
push esi
lea eax, [ebp - 0x58]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 4], ebx
je 0x418f54
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [esi + 0x24], edi
jne 0x418ec1
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x24], eax
push dword [esi + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x20]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xfffffffffffffff0
xor ebx, ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
je 0x418eed
push 1
jmp 0x418ef3
test al, 2
je 0x418ef4
push 2
pop ebx
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov word [ebp - 0x858], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x856]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x858]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
or ebx, 0x20
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x858]
push 0xffffffffffffffff
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x58]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndPaint]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x41947a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x60]
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x814]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x419565
push 1
pop edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
call ebx
push 0xfffffffffffffff0
mov dword [ebp - 4], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test ah, 3
je 0x419514
push edi
jmp 0x419524
test ah, 1
je 0x41951d
xor edi, edi
jmp 0x419525
test ah, 2
je 0x419525
push 2
pop edi
mov eax, dword [esi + 0x40]
and eax, 4
cmp al, 4
jne 0x41953d
push 1
lea eax, [ebp - 0x14]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x64]
or edi, 0x24
sub dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x814]
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41a82d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x80]
cmp eax, 0xffffffff
jne 0x41a863
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x20]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41a8ea
lea edi, [eax + 1]
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00432710
mov dword [ebp - 4], esp
push edi
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x41a8ea
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 1
je 0x41a8c4
push 1
jmp 0x41a8ca
test al, 2
je 0x41a8cb
push 2
pop ecx
test al, 0xb
je 0x41a8d2
push 0x24
pop ecx
or cx, 0x210
lea eax, [ebp - 0x18]
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41bcd5
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x58], edi
je 0x41bd13
call fcn.0041c6e2
test eax, eax
je 0x41bd19
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x41c17f
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x74], eax
je 0x41bd13
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x7c]
cmp eax, edi
je 0x41bd13
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x7c]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
push edi
neg edx
push edx
mov eax, dword [esi + 0x7c]
push dword [ebp - 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push edi
push dword [esi + 0x34]
push dword [esi + 0x30]
push edi
push edi
push dword [esi + 0x5c]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x41bd13
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x41bd15

Function at 0x41be2b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4695a0]
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41bedd
mov eax, dword [0x4695a0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41bedd
mov eax, dword [0x4695a0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41bed6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41becf
cmp dword [ebp + 0xc], 0
je 0x41becf
push edi
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0041b895
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x41bedf
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41d028
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, 0x463c00
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov ebp, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [0x43c4ec]
push 0x43d974
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x43caa8
push eax
call fcn.00409c93
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x463be8
push edi
push esi
call ebx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x463bd0
push edi
push esi
call ebx
push 0x463bb0
add ebp, 0x4c
push 0x43f45c
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00418486
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00418486
lea ecx, [esp + 0x18]
call fcn.00404beb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x463b90
push edi
push esi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push str.5.0.9.5
call ebp
pop ecx
shl eax, 1
push eax
push str.5.0.9.5
push 1
push 0x463b70
push edi
push esi
call ebx
push 0x463b60
call ebp
pop ecx
shl eax, 1
push eax
push 0x463b60
push 1
push 0x463b4c
push edi
push esi
call ebx
push 0x463b34
call ebp
pop ecx
shl eax, 1
push eax
push 0x463b34
push 1
push 0x463b20
push edi
push esi
call ebx
lea ecx, [esp + 0x14]
call fcn.00404beb
lea ecx, [esp + 0x10]
call fcn.00404beb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x41d3fa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
and word [ebp - 0x214], 0
push ebx
push esi
mov ebx, ecx
mov edx, 0x81
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x212]
and word [ebp - 0x41c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x41a]
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x104
lea eax, [ebp - 0x214]
push edi
push eax
push dword [ebx + 0x4c]
call esi
lea eax, [ebp - 0x41c]
push edi
push eax
push dword [ebx + 0x48]
call esi
lea eax, [ebp - 0x214]
lea ecx, [ebp - 4]
push eax
call fcn.00404707
lea eax, [ebp - 0x41c]
lea ecx, [ebp - 8]
push eax
call fcn.00404707
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, 0x463e30
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x467084
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.Path
push ebx
push edi
call esi
mov eax, dword [ebp - 8]
mov ebx, 0x463d90
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x467084
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.Path
push ebx
push edi
call esi
push 0x5c
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcsrchr]
pop ecx
test eax, eax
pop ecx
je 0x41d545
sub eax, dword [ebp - 4]
sar eax, 1
cmp eax, 0xffffffff
je 0x41d545
push eax
lea eax, [ebp - 0xc]
push 0
push eax
lea ecx, [ebp - 4]
call fcn.00418426
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x463e20
push 0x463e30
push edi
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push 0x463e20
push ebx
push edi
call esi
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret