joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bdec0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4bde34
lea eax, [esp + 8]
mov dword [ebx + 4], 1
push eax
push str.NotJoinPrivate
push str.option
mov dword [esp + 0x14], 0
call fcn.0040ea80
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4bde34
mov ecx, dword [0x587f74]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ecx, 0x1d4c0
mov eax, 1
jbe 0x4bdda6
call esi
push 0
push eax
push 0x66
jmp 0x4bddb1
test ecx, ecx
jne 0x4bddbb
call esi
push 0
push eax
push 0x65
call fcn.004d7460
add esp, 0xc
xor eax, eax
mov ecx, dword [0x587f7c]
cmp ecx, 0x1d4c0
jbe 0x4bddda
call esi
push 0
push eax
push 0x68
call fcn.004d7460
add esp, 0xc
jmp 0x4bddf3
test ecx, ecx
jne 0x4bddef
call esi
push 0
push eax
push 0x67
call fcn.004d7460
add esp, 0xc
jmp 0x4bddf3
test eax, eax
jne 0x4bddfc
call fcn.004a83c0
test eax, eax
je 0x4bde34
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0
push ebx
push 0x4bd280
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4bde34
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
add esp, 8
ret
mov ecx, 0x587600
jmp 0x4bdd40

Function at 0x4be050
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4be115
push 0
mov ecx, 0x56e210
call fcn.0040c380
mov edi, eax
test edi, edi
je 0x4be115
push esi
push 0x5c
push edi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x4be09e
cmp word [eax + 2], 0
lea esi, [ebx + 8]
push edi
jne 0x4be0a2
push str._sstat.ini
jmp 0x4be0a7
lea esi, [ebx + 8]
push edi
push str._s_stat.ini
push 0x104
push esi
call fcn.0042dfe0
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4be10d
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x568cb0
lea eax, [esp + 0x14]
push 0x40
push eax
call fcn.0042dfe0
add esp, 0x10
lea ecx, [esp + 0xc]
push esi
push ecx
push 0x569630
push 0x569628
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 4], 1
pop esi
pop edi
pop ebx
add esp, 0x80
ret

Function at 0x4be1d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, ecx
call fcn.004be050
mov eax, dword [esi + 4]
test eax, eax
je 0x4be236
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x4be236
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
push 0x568cb0
push 0x20
push ecx
call fcn.0042dfe0
add esp, 0x10
add esi, 8
lea edx, [esp + 0xc]
push esi
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8
Function at 0x4be8d0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.0051d7f0
push ebp
push esi
push edi
mov eax, str.http:__seapp.stat.360safe.com_ver.html
mov edi, ecx
test eax, eax
mov dword [esp + 0x10], edi
je 0x4beb1f
mov esi, dword [esp + 0x2370]
xor ebp, ebp
cmp esi, ebp
je 0x4beb1f
call fcn.004be050
cmp dword [edi + 4], ebp
je 0x4beb1f
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xd6]
mov word [esp + 0xd4], bp
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
call fcn.004521e0
push eax
call fcn.0049bb50
push eax
push esi
push str.http:__seapp.stat.360safe.com_ver.html
push str._s_name_smid_sver_s
lea ecx, [esp + 0xec]
push 0x824
push ecx
call fcn.0042dfe0
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x2398]
add esp, 0x1c
xor ebx, ebx
cmp eax, ebp
jbe 0x4bea83
jmp 0x4be984
mov esi, dword [esp + 0x2374]
push ebx
push 0x568cb0
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.0042dfe0
mov eax, dword [esp + 0x24]
add esp, 0x10
add eax, 8
lea ecx, [esp + 0x18]
push eax
push ebp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bp
xor edx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, ebx
mov ecx, 0xa
div ecx
push esi
test edx, edx
je 0x4be9ea
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
call fcn.0042dfe0
add esp, 0x10
jmp 0x4bea0c
mov eax, 0xcccccccd
mul ebx
shr edx, 3
add edx, 0x61
lea eax, [esp + 0x5c]
push edx
push str.f_c_ld
push 0x40
push eax
call fcn.0042dfe0
add esp, 0x14
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x4bea2f
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.004918e0
cmp eax, ebp
jl 0x4bea73
mov ecx, dword [esp + 0x10]
mov eax, 0x824
sub eax, ecx
mov edi, SysReAllocString
lea esi, [esp + 0x58]
lea ecx, [esp + ecx*2 + 0xd8]
je 0x4bea6d
cmp edi, ebp
je 0x4bea69
mov dx, word [esi]
cmp dx, bp
je 0x4bea69
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x4bea4c
jmp 0x4bea6d
cmp eax, ebp
jne 0x4bea70
sub ecx, 2
mov word [ecx], bp
mov eax, dword [esp + 0x237c]
inc ebx
cmp ebx, eax
jb 0x4be97d
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x1122]
mov word [esp + 0x1120], bp
rep stosd dword es:[edi], eax
lea esi, [esp + 0xd8]
lea ecx, [esp + 0x1120]
stosw word es:[edi], ax
mov edx, 0x824
lea eax, [esp + 0x1120]
sub esi, ecx
pop ebx
lea ecx, [edx + 0x7ffff7da]
test ecx, ecx
je 0x4bead8
mov cx, word [esi + eax]
cmp cx, bp
je 0x4bead8
mov word [eax], cx
add eax, 2
dec edx
jne 0x4beaba
jmp 0x4beadc
cmp edx, ebp
jne 0x4beadf
sub eax, 2
mov edx, dword [esp + 0x2370]
push SysReAllocString
mov word [eax], bp
push edx
push ebp
lea eax, [esp + 0x2170]
push 0x104
push eax
call fcn.00519a30
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x111c]
add ecx, 0x210
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.004bf130
pop edi
pop esi
pop ebp
add esp, 0x2360
ret 0xc
Function at 0x4c04d0
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov eax, 0x466c
call fcn.0051d7f0
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26a]
mov word [esp + 0x268], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x268]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62]
mov word [esp + 0x60], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x268]
push str.seup.exe
lea eax, [esp + 0x64]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, 6
mov esi, str._superguard
lea edi, [esp + 0x470]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x7c
lea edi, [esp + 0x488]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c066f
lea edx, [esp + 0x60]
push edx
call fcn.004519a0
add esp, 4
test eax, eax
je 0x4c066f
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x20]
mov word [esp + 0x678], bx
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov ecx, 0xfff
mov dword [esp + 0x14], eax
lea edi, [esp + 0x67a]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x60]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x470]
mov dword [esp + 0xc], ebx
push ecx
push edx
stosw word es:[edi], ax
push str.__s___s
lea eax, [esp + 0x684]
push 0x1fff
push eax
mov dword [esp + 0x30], 0x44
mov word [esp + 0x60], 5
mov dword [esp + 0x5c], 0x80
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x678]
push ecx
push edx
push ebx
push ebx
push 4
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4c0653
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
pop edi
pop esi
pop ebx
add esp, 0x466c
ret
push 5
lea ecx, [esp + 0x474]
push ebx
lea edx, [esp + 0x68]
push ecx
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
add esp, 0x466c
ret
Function at 0x4c0c20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor esi, esi
push ebp
mov dword [esp + 0x10], esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
test edi, edi
jle 0x4c0cc9
push esi
inc edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c0cc9
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea esi, [edi + edi]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4c0cb9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4c0cb2
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4c0cb2
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x4c0e80
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x4c0eb4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4c0e9d
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4c0eb4
cmp eax, 0x20
je 0x4c0eb4
mov eax, 1
pop esi
ret
mov eax, dword [0x5884ec]
test eax, eax
je 0x4c0ed1
push 0
push esi
call fcn.004c0ef0
add esp, 8
neg eax
sbb eax, eax
pop esi
neg eax
inc eax
ret
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 2
pop esi
ret

Function at 0x4c10f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push 0x207
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4c1179
cmp eax, 0x207
ja 0x4c1179
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 - 2], 0x5c
je 0x4c113a
lea edx, [esp]
push 0x53abc8
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
lea eax, [esp + 8]
push str.wininit.ini
push eax
push 0x53ac6c
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov word [edi + esi*2 - 2], 0
mov eax, 1
pop edi
pop esi
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret
Function at 0x4c1190
Capabilities:
Delete file

Disassembly:
mov eax, 0x167c
call fcn.0051d7f0
mov edx, dword [esp + 0x1684]
push esi
xor esi, esi
cmp edx, esi
je 0x4c12a0
push ebx
push edi
mov ecx, 0x513
xor eax, eax
lea edi, [esp + 0x23a]
mov word [esp + 0x238], si
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll_wcstok]
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
mov eax, dword [0x5586b8]
push ecx
push edx
mov dword [esp + 0x14], eax
call ebx
mov edx, eax
add esp, 8
cmp edx, esi
je 0x4c1256
push ebp
mov ebp, dword [esp + 0x1690]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
push edx
push ebp
push str._s_s
lea edx, [esp + 0x40]
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [esp + 0x4c]
lea edx, [esp + esi*2 + 0x254]
push ecx
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [esp + 0x30]
lea esi, [esi + edi + 1]
push eax
push 0
call ebx
mov edx, eax
add esp, 0x28
test edx, edx
jne 0x4c11f0
xor esi, esi
pop ebp
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x238]
push edx
stosw word es:[edi], ax
mov dword [esp + 0x2a], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x2e], esi
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], ecx
mov word [esp + 0x24], 0x454
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop ebx
pop esi
add esp, 0x167c
ret
xor eax, eax
pop esi
add esp, 0x167c
ret
Function at 0x4c1610
Capabilities:
Get common file path
Get program files directory

Disassembly:
cmp word [0x588528], 0
jne 0x4c163e
push 0
push 0x26
push 0x588528
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push 0x588528
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, 0x588528
ret

Function at 0x4c1680
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
push esi
push ecx
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c16bf
cmp word [esi], ax
je 0x4c16bf
mov eax, 1
pop esi
pop ecx
ret
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.004c1610
push eax
call fcn.0043f930
add esp, 0xc
pop esi
pop ecx
ret

Function at 0x4c1b90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 8], ebp
je 0x4c1cbb
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x24]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x4c1caa
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x4c1caa
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c1ca5
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x4c1caa
push eax
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push ebp
lea eax, [esp + 0x40]
push edx
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4c1caa
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x4c1c9c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x4c1c8c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.004c1b90
add esp, 0x10
jmp 0x4c1c93
cmp eax, 0x103
je 0x4c1c9c
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x4c1c63
push esi
call fcn.0051d79a
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x4c1cbb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4c1e30
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x54
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x6c]
push esi
push 1
push eax
push edi
call fcn.004c0cd0
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x10
test eax, eax
jne 0x4c1e6a
lea ecx, [esp + 0x10]
push ecx
call ebx
push eax
call ebp
push esi
mov esi, dword [esp + 0x78]
push 0
push esi
push edi
call fcn.004c0cd0
add esp, 0x10
test eax, eax
jne 0x4c1e85
push esi
call ebx
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
call edi
push 0x56e1d0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov ebx, 2
test esi, esi
mov dword [esp + 0x40], 0x24
mov dword [esp + 0x44], esi
je 0x4c1ecd
lea ecx, [esp + 0x40]
push ecx
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ebx, eax
lea edx, [esp + 0x30]
push edx
push esi
call ebp
test bl, 2
jne 0x4c1ef7
mov eax, dword [0x5884fc]
test eax, eax
jne 0x4c1ef7
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov esi, dword [esp + 0x70]
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
test bl, 1
je 0x4c1f6b
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
cmp ecx, eax
je 0x4c1f28
add eax, 2
pop edi
mov dword [esi], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x4c1f41
add eax, 0xfffffffe
pop edi
mov dword [esi + 8], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
cmp ecx, eax
je 0x4c1f5a
add eax, 2
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xc]
cmp ecx, eax
je 0x4c1f6b
add eax, 0xfffffffe
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x4c4cb0
Capabilities:
Delete file

Disassembly:
sub esp, 0x20c
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0x5cd364
rep stosd dword es:[edi], eax
push str._ssnap.ini
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x5cd360]
pop edi
inc eax
mov dword [0x5cd360], eax
add esp, 0x20c
ret
jmp 0x4b95c0
Function at 0x4c5bc0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0x41e
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, eax
push 0
push 0x1042
push esi
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c5c58
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 4
push ecx
push eax
push 0x104b
push esi
mov dword [esp + 0x24], ebx
call ebp
test eax, eax
je 0x4c5c58
mov edx, dword [esp + 0x30]
push edx
call fcn.004c1fb0
mov edi, eax
add esp, 4
test edi, edi
je 0x4c5c40
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebx
push 0x1008
push esi
call ebp
mov eax, dword [esp + 0x3c]
push eax
call fcn.004c5ca0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x4c6130
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x5bf7b8]
sub esp, 0x244
test eax, eax
je 0x4c617d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c617d
mov eax, dword [0x5bf7b8]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4c6169
mov ecx, dword [0x5bf7b8]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5bf7b8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0x244
ret
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
mov word [esp + 0x40], 0
push 0x208
rep stosd dword es:[edi], eax
mov ecx, dword [0x58e22c]
stosw word es:[edi], ax
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0x40
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], str._tp:4
mov dword [esp + 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x4c6213
mov ecx, dword [esp + 0x38]
push 0xbb8
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x244
ret

Function at 0x4c74c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x2f50]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4cf180
Capabilities:
Get file size
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x2145c]
push eax
mov ecx, edi
call fcn.004e85f0
push esi
mov ecx, edi
call fcn.004e9170
lea ecx, [esi + 0x4c]
test ecx, ecx
je 0x4cf1a9
lea eax, [esi + 0x74]
jmp 0x4cf1ab
xor eax, eax
push edi
mov dword [esi + 0x2148c], eax
call fcn.004f2b60
call fcn.00447590
mov ecx, dword [eax + 0x80]
pop edi
test ecx, ecx
pop esi
jne 0x4cf1e2
mov ecx, 0x56e210
call fcn.0040cb60
test eax, eax
jne 0x4cf1e2
call fcn.004da070
mov ecx, eax
jmp 0x4da540
ret
sub esp, 0x454
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x66]
mov word [esp + 0x64], 0
push str.FaceIcon_Bits.dat
rep stosd dword es:[edi], eax
mov ecx, 0x56e210
stosw word es:[edi], ax
call fcn.0040c3d0
push eax
push str._sdata_s
lea eax, [esp + 0x70]
push 0x1ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.0043f630
add esp, 0x1c
test eax, eax
je 0x4da6df
push 0
push 0x20
push 3
push 0
push 1
lea edx, [esp + 0x78]
push SysReAllocStringLen
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4da6df
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4da5e7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret
lea edi, [ebp + 2]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
je 0x4da61d
lea eax, [esp + 0x18]
push 0
push eax
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
cmp eax, 0x18
jbe 0x4da6df
mov ecx, 6
mov esi, ebx
lea edi, [esp + 0x4c]
add eax, 0xffffffe8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x54]
mov ebp, edx
imul ebp, dword [esp + 0x58]
cmp ebp, eax
ja 0x4da6df
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x50]
xor edi, edi
push edi
mov dword [esp + 0x24], 0x28
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov word [esp + 0x30], 1
mov word [esp + 0x32], 0x20
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_GetDC]
push edi
lea edx, [esp + 0x14]
mov esi, eax
push edi
push edx
lea eax, [esp + 0x2c]
push edi
push eax
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push esi
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x10]
mov ecx, ebp
mov edx, ecx
lea esi, [ebx + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4da6df
mov ecx, dword [esp + 0x14]
push eax
call fcn.004da240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret