joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41967d
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43b50c]
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push dword [ebx + 0x3c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0x43cb6c
push eax
call fcn.00409818
add esp, 0x10
lea edi, [ebx + 0x30]
lea eax, [ebp - 4]
push dword [ebp + 8]
push dword [edi]
push str._sextensionsFavorites_s
push eax
call fcn.00409818
add esp, 0x10
lea eax, [ebp - 8]
push dword [ebp + 8]
push dword [edi]
push str._sextensionsFavorites_s.bak
push eax
call fcn.00409818
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x419803
push str.extensionsFavorites_
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0041a27c
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x419710
push dword [ebp - 0x10]
call fcn.004216ea
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4197c3
push dword [ebp - 8]
call esi
test eax, eax
je 0x41972f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00421aee
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
pop ecx
call edi
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call esi
test eax, eax
je 0x419770
push dword [ebp + 0xc]
lea eax, [ebp + 8]
mov dword [ebx + 0x78], 3
push dword [ebp - 0x14]
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, ebx
call fcn.0041949a
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call edi
push dword [ebp - 4]
mov edi, eax
call esi
test eax, eax
jne 0x4197af
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push edi
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, ebx
call fcn.0041949a
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00421aee
pop ecx
pop ecx
push dword [ebp - 8]
call esi
test eax, eax
je 0x4197f9
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4197f9
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov edi, eax
call esi
test eax, eax
jne 0x4197f9
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push edi
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, ebx
call fcn.0041949a
lea ecx, [ebp - 0x10]
call fcn.00404c0d
jmp 0x419820
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, ebx
call fcn.0041949a
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
lea ecx, [ebp + 8]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x419847
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43b50c]
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push dword [edi + 0x3c]
mov dword [ebp - 8], eax
mov esi, 0x43cb6c
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00409818
add esp, 0x10
lea eax, [ebp - 4]
push dword [ebp + 8]
push dword [edi + 0x38]
push esi
push eax
call fcn.00409818
add esp, 0x10
lea eax, [ebp - 8]
push dword [ebp + 8]
push dword [edi + 0x38]
push str._s_s.bak
push eax
call fcn.00409818
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x4199d6
mov eax, dword [0x43b50c]
push dword [edi + 0x38]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0x43bb18
push eax
call fcn.00409818
add esp, 0xc
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x4198e3
push dword [ebp - 0x10]
call fcn.004216ea
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x419996
push dword [ebp - 8]
call esi
test eax, eax
je 0x419902
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00421aee
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
pop ecx
call ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call esi
test eax, eax
je 0x419943
push dword [ebp + 0xc]
lea eax, [ebp + 8]
mov dword [edi + 0x78], 3
push dword [ebp - 0x14]
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, edi
call fcn.0041949a
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call ebx
push dword [ebp - 4]
mov ebx, eax
call esi
test eax, eax
jne 0x419982
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ebx
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, edi
call fcn.0041949a
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00421aee
pop ecx
pop ecx
push dword [ebp - 8]
call esi
test eax, eax
je 0x4199cc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4199cc
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov ebx, eax
call esi
test eax, eax
jne 0x4199cc
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ebx
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, edi
call fcn.0041949a
lea ecx, [ebp - 0x10]
call fcn.00404c0d
jmp 0x4199f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, edi
call fcn.0041949a
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
lea ecx, [ebp + 8]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x419c58
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
push dword [ebx + 0x28]
mov word [ebp - 0x20c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x444224
push 0x44121c
push str.Main
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x20c], si
je 0x419d26
push 3
lea eax, [ebp - 0x20c]
push 0x43bf90
push eax
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x419cda
push 1
mov dword [ebx + 0x84], 6
pop eax
jmp 0x419d29
cmp dword [str.qvod], esi
je 0x419d26
mov eax, 0x43db2c
mov esi, eax
mov eax, dword [eax]
test eax, eax
je 0x419d09
cmp word [eax], 0
je 0x419d09
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x419d15
add esi, 4
mov eax, esi
cmp dword [esi], 0
jne 0x419ce9
jmp 0x419d26
mov dword [ebx + 0x84], 6
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419d2e
Capabilities:
Check if file exists
Delete file
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x4463e0], esi
mov edi, ecx
je 0x419d63
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.0041ab03
push 3
push str.Internet_Explorer
push 0x43ef64
mov ecx, ebx
call fcn.0041ab3a
cmp dword [edi + 0x60], esi
je 0x419eae
mov eax, dword [edi + 4]
push str.Internet_Explorer.lnk
add eax, 0x24
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041a27c
mov edx, 0x81
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x426]
mov word [ebp - 0x428], si
mov word [ebp - 0x220], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x21e]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x428]
push 0x10
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x428]
push eax
push str._sInternet_Explorer.lnk
lea eax, [ebp - 0x220]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 4]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x419dfc
push dword [ebp - 4]
call ebx
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x419e12
lea eax, [ebp - 0x220]
push eax
call ebx
push 4
lea eax, [ebp - 0x14]
pop ebx
mov edi, str.871C5380_42A0_1069_A2EA_08002B30309D
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
push eax
push edi
mov esi, SysReAllocStringLen
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel
push esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 8], 0
je 0x419e69
cmp dword [ebp - 0xc], 0
jne 0x419ea6
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel
push esi
mov dword [ebp - 0x10], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor eax, eax
push eax
push eax
push eax
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp - 4]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a6d5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
push ebx
push esi
mov dword [ebp - 4], ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x822]
mov word [ebp - 0x824], bx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x824]
push 0x17
push eax
push ebx
call esi
test eax, eax
je 0x41a735
lea eax, [ebp - 0x824]
push 0x43ef64
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push 0x43cb6c
push eax
call fcn.00409818
add esp, 0x10
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x61a]
mov word [ebp - 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x61c]
push 0x16
push eax
push ebx
call esi
test eax, eax
je 0x41a78a
mov eax, dword [ebp - 4]
lea edi, [eax + 0x20]
lea eax, [ebp - 0x61c]
test eax, eax
je 0x41a77b
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x61c]
push ecx
push eax
mov ecx, edi
call fcn.00404ce9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x414]
push 0x19
push eax
push ebx
call esi
test eax, eax
je 0x41a7df
mov eax, dword [ebp - 4]
lea edi, [eax + 0x24]
lea eax, [ebp - 0x414]
test eax, eax
je 0x41a7d0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x414]
push ecx
push eax
mov ecx, edi
call fcn.00404ce9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa2a]
mov word [ebp - 0xa2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0xa2c]
push 0x1a
push eax
push ebx
call esi
test eax, eax
je 0x41a828
lea eax, [ebp - 0xa2c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
mov eax, dword [ebp - 4]
add eax, 0x28
push 0x43cb6c
push eax
call fcn.00409818
add esp, 0x10
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x20c]
push 6
push eax
push ebx
call esi
test eax, eax
je 0x41a87d
mov eax, dword [ebp - 4]
lea edi, [eax + 0x2c]
lea eax, [ebp - 0x20c]
test eax, eax
je 0x41a86e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov ecx, edi
call fcn.00404ce9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xc32]
mov word [ebp - 0xc34], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0xc34]
push 0x1a
push eax
push ebx
call esi
test eax, eax
je 0x41a8c3
mov esi, dword [ebp - 4]
lea eax, [ebp - 0xc34]
push eax
push 0x43bb18
lea eax, [esi + 0x18]
push eax
call fcn.00409818
add esp, 0xc
jmp 0x41a8c6
mov esi, dword [ebp - 4]
push 0xb4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x41a8df
push esi
mov ecx, eax
call fcn.0041289f
jmp 0x41a8e1
xor eax, eax
mov ecx, eax
mov dword [esi + 0x30], eax
call fcn.00412b51
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a8f0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and word [ebp - 0x41c], 0
mov dword [ebp - 4], eax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x41a]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x41c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41aa3a
push dword [ebp - 4]
lea eax, [ebp - 0x41c]
lea esi, [ebx + 0xc]
push eax
push str._s_d
push esi
call fcn.00409818
mov eax, dword [esi]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41aa3a
push dword [esi]
and word [ebp - 0x210], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x20e]
push str._smini.exe
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0xe4
lea eax, [ebp - 0x210]
push 0x441d14
push eax
call fcn.00421def
add esp, 0x1c
test al, al
je 0x41aa3a
push dword [esi]
add ebx, 0x10
push str._smini
push ebx
call fcn.00409818
mov eax, dword [ebx]
add esp, 0xc
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41aa3a
push dword [ebx]
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x626]
mov word [ebp - 0x628], si
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push eax
push str.__s___P_s
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41aa3a
push esi
push 0xea60
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.004210b4
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41aa74
Capabilities:
Delete file
Move file

Disassembly:
push 4
push 0
push dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x41b7c5
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and word [ebp - 0x214], 0
push ebx
push esi
push edi
mov esi, ecx
and dword [ebp - 4], 0
push str.ie8ver.dll
mov ecx, 0x82
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x212]
rep stosd dword es:[edi], eax
push 0x43cb6c
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0041b8e7
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b8dd
lea eax, [ebp - 0x214]
push eax
call fcn.0042fc58
test eax, eax
pop ecx
je 0x41b8dd
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 8], ebx
je 0x41b8dd
push 0x441e88
push str.IE8VER.INI
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x41b8d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push ebx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp + 8], 0
mov edi, eax
je 0x41b8d4
test edi, edi
je 0x41b8d4
lea ebx, [edi + 1]
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [esi], eax
je 0x41b8d4
push ebx
push 0
push eax
call sub.MSVCRT.dll_memset
push edi
push dword [ebp + 8]
push dword [esi]
call sub.MSVCRT.dll_memcpy
push 0x1f21bc
push edi
push dword [esi]
call fcn.0042594d
push dword [esi]
lea edi, [esi + 4]
push edi
call fcn.00422015
add esp, 0x2c
cmp dword [edi], 0
je 0x41b8d4
mov dword [ebp - 4], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41c1e8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x446484], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], esi
jne 0x41c21c
mov dword [0x446484], 1
push dword [ecx]
push 0x446480
call fcn.00422015
pop ecx
pop ecx
cmp dword [0x446480], esi
je 0x41c347
push dword [ebp + 0xc]
mov ebx, 0x82
mov ecx, ebx
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], si
mov esi, 0x104
rep stosd dword es:[edi], eax
push 0x43cb6c
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0041b8e7
add esp, 0x14
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push 0x80
push 4
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x41c347
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0xc]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], edi
je 0x41c347
cmp dword [ebp + 8], 0xffffffff
je 0x41c347
push edi
push 0x442568
push dword [ebp + 0xc]
push dword [0x446480]
call fcn.0042298e
add esp, 0x10
cmp dword [ebp + 8], eax
jne 0x41c347
mov word [ebp - 0x630], di
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x62e]
and word [ebp - 0x424], ax
push esi
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x422]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x424]
push eax
push 0x442560
push dword [ebp + 0xc]
push dword [0x446480]
call fcn.00422876
mov ecx, dword [ebp - 8]
add esp, 0x14
lea eax, [ebp - 0x630]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041c4b4
lea eax, [ebp - 0x424]
push esi
push eax
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNW]
test eax, eax
jne 0x41c347
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41c4b4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push 0x442578
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
xor ebx, ebx
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 4], esi
je 0x41c5d9
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebx
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push ebx
push ebx
push dword [ebp - 4]
mov esi, eax
call edi
add esp, 0x1c
cmp esi, ebx
je 0x41c5cf
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
je 0x41c5cf
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp - 4]
push 1
push esi
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
test eax, eax
je 0x41c5c6
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x10f]
mov byte [ebp - 0x110], bl
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
push esi
push dword [ebp + 8]
call fcn.0041c351
test eax, eax
je 0x41c5c6
lea eax, [ebp - 0x110]
test eax, eax
je 0x41c5b0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042f680
mov edi, esp
push esi
push edi
lea eax, [ebp - 0x110]
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, edi
mov eax, dword [ebp + 0x10]
push ebx
dec eax
push 0x43bb18
push eax
push dword [ebp + 0xc]
call fcn.0041c5e9
add esp, 0x10
push dword [ebp + 8]
call fcn.0042f5e8
pop ecx
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop eax
lea esp, [ebp - 0x11c]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41cbbe
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 0x41cbfc
call fcn.0041d5cb
test eax, eax
je 0x41cc02
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x41d068
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x74], eax
je 0x41cbfc
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 0x41cbfc
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 0x41cbfc
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x41cbfe
Function at 0x41cd14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x445708]
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 0x41cdc6
mov eax, dword [0x445708]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41cdc6
mov eax, dword [0x445708]
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 0x41cdbf
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 0x41cdb8
cmp dword [ebp + 0xc], 0
je 0x41cdb8
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.0041c77e
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x41cdc8
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