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

Disassembly:
sub esp, 0x24
cmp byte [0x4dfe30], 0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
jne 0x44d932
push 0
call fcn.004927cc
push eax
call fcn.00493c3f
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esp, 8
xor esi, esi
push 4
push 0x1000
push 0x10000
push 0
call edi
mov dword [esi*4 + 0x4dfe90], eax
test eax, eax
je 0x44da23
mov ecx, esi
sub ecx, 1
je 0x44d8f3
sub ecx, 1
je 0x44d909
inc esi
cmp esi, 3
jb 0x44d8c0
jmp 0x44d927
push 0x10000
push 0xff
push eax
call fcn.0048e880
add esp, 0xc
inc esi
jmp 0x44d8c0
xor esi, esi
nop dword [eax + eax]
call fcn.00493c1e
mov ecx, dword [0x4dfe98]
mov byte [ecx + esi], al
inc esi
cmp esi, 0x10000
jb 0x44d910
mov ecx, dword [esp + 0x18]
mov byte [0x4dfe30], 1
mov ebx, dword [esp + 0x38]
mov esi, ebx
mov ebp, dword [esp + 0x3c]
neg esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
nop word [eax + eax]
xor eax, eax
mov edx, 0x4dfe90
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
nop
test eax, eax
je 0x44d978
push 1
push 0
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
test ebp, ebp
jb 0x44d9ee
ja 0x44d98b
test ebx, ebx
je 0x44d9ee
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, ebx
mov eax, ebp
sub ecx, esi
sbb eax, edi
test eax, eax
ja 0x44d9b4
jb 0x44d9a9
cmp ecx, 0x100000
ja 0x44d9b4
mov eax, ebx
sub eax, esi
cmp eax, 0x10000
jbe 0x44d9b9
mov eax, 0x10000
push 0
lea ecx, [esp + 0x28]
push ecx
push eax
push dword [edx]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44da45
add esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
adc edi, 0
cmp edi, ebp
jb 0x44d993
ja 0x44d9e6
cmp esi, ebx
jb 0x44d993
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
add edx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
cmp eax, 3
jb 0x44d960
mov edi, dword [esp + 0x20]
inc edi
mov dword [esp + 0x20], edi
cmp edi, 1
jb 0x44d950
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
xor edi, edi
test esi, esi
je 0x44da45
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
push 0x8000
push 0
push dword [edi*4 + 0x4dfe90]
call ebx
inc edi
cmp edi, esi
jb 0x44da30
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret
Function at 0x44e830
Capabilities:
Delete file

Disassembly:
sub esp, 0x860
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x85c], eax
push ebx
push esi
push edi
push 0x295b
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x204
mov esi, eax
mov dword [esp + 0x254], 0
lea eax, [esp + 0x258]
push 0
push eax
call fcn.0048e880
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call edi
mov ebx, eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x250]
mov dword [esp + 0x24], 0x104
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ebx
push 0x1073
push esi
call edi
cmp word [esp + 0x250], 0
mov ecx, str.PRVCY
jne 0x44e920
mov edx, 0x4adcc0
call fcn.00477440
push eax
lea eax, [esp + 0x664]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x660]
mov edx, 0x4ad7d4
push 0x30
push eax
mov ecx, str.PRVCY
call fcn.00477440
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.0048d925
add esp, 0x860
ret
push ebp
mov edx, 0x4ad7fc
call fcn.00477440
push eax
lea eax, [esp + 0x460]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x254]
push eax
lea eax, [esp + 0x460]
push eax
call ebp
push 0x4ae628
lea eax, [esp + 0x460]
push eax
call ebp
push 0x24
mov edx, 0x4adcec
mov ecx, str.PRVCY
call fcn.00477440
push eax
lea eax, [esp + 0x464]
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x44ea48
xor eax, eax
push 0x206
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x4c]
push 0x4def98
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.Prvc_
lea eax, [esp + 0x50]
push eax
call ebp
lea eax, [esp + 0x254]
push eax
lea eax, [esp + 0x50]
push eax
call ebp
lea eax, [esp + 0x4c]
mov dword [esp + 0x2a], 0
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x26], xmm0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
cmp word [esp + eax*2 + 0x4a], 0x5c
jne 0x44ea02
mov word [esp + eax*2 + 0x4a], cx
jmp 0x44ea07
mov word [esp + eax*2 + 0x4e], cx
mov eax, dword [0x4def88]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, 0x410
mov word [esp + 0x20], ax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 3
mov dword [esp + 0x20], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 0
push ebx
push 0x1008
push esi
call edi
mov ecx, dword [esp + 0x86c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x860
ret
Function at 0x44ea70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x450
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
mov ebx, dword [esp + 0x458]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x460]
push esi
push edi
push 0x206
push eax
mov word [esp + 0x25c], ax
mov edi, edx
lea eax, [esp + 0x25e]
mov esi, ecx
push eax
call fcn.0048e880
push esi
call fcn.00492383
movups xmm0, xmmword [str._e_Reg_]
push 0x1f8
lea eax, [esp + 0x70]
push 0
push eax
movups xmmword [esp + 0x68], xmm0
call fcn.0048e880
add esp, 0x1c
lea eax, [esp + 0x254]
push 0xa
push 0x64
push eax
push 0
call fcn.004927cc
add esp, 4
push eax
call fcn.0048f70e
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x264]
add esp, 0x10
push eax
lea eax, [esp + 0x50]
push eax
call esi
push 0x4af95c
lea eax, [esp + 0x50]
push eax
call esi
push edi
lea eax, [esp + 0x50]
push eax
call esi
push str..reg__
lea eax, [esp + 0x50]
push eax
call esi
push ebx
lea eax, [esp + 0x50]
push eax
call esi
push ebp
lea eax, [esp + 0x50]
push eax
call esi
push 0x4b4920
lea eax, [esp + 0x50]
push eax
call esi
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], 0x3c
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], str.regedit.exe
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x450
ret
Function at 0x44ebe0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x6c4
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x6bc], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c0], ax
lea eax, [esp + 0x2c2]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x2b8]
push 0x4def98
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x2b8]
push str.Prvc_
push eax
call esi
push 0x295b
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 0
push 0
push 0x1009
push edi
call ebx
push 0x4ad34c
lea eax, [esp + 0x2bc]
push eax
call esi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44ed90
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpW]
test byte [esp + 0x68], 0x10
je 0x44ed7c
push 0x4ad2d4
lea eax, [esp + 0x98]
push eax
call ebp
test eax, eax
je 0x44ed7c
push 0
push 0
push 0x1004
push edi
call ebx
push 0x4d36d8
push 0
mov dword [0x4d36dc], eax
lea eax, [esp + 0x9c]
push 0x104d
push edi
mov dword [0x4d36f4], 0
mov dword [0x4d36ec], eax
call ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x62]
push eax
movzx eax, word [esp + 0x64]
push eax
movzx eax, word [esp + 0x60]
push eax
movzx eax, word [esp + 0x66]
push eax
movzx eax, word [esp + 0x6e]
push eax
push str._.2d._.2d._d__.2d:_.2d
lea eax, [esp + 0x4d8]
push 0x104
push eax
call fcn.0040a3c0
add esp, 0x20
mov dword [esp + 0x24], 1
lea eax, [esp + 0x4c0]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x4d36dc]
push 0x1074
push edi
call ebx
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44eca3
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0xb
push eax
push 0
push 0x102b
push edi
mov dword [esp + 0x38], 2
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x477150
push 1
push 0x1051
push edi
mov dword [0x4deb70], 0
mov dword [0x4deb6c], edi
call ebx
mov ecx, dword [esp + 0x6cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x6c4
ret
Function at 0x4533e0
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp]
mov dword [esp], 0
push eax
push 0xf003f
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45350f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push eax
push eax
push eax
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x104
push eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x20]
call esi
cmp eax, 0x103
je 0x453485
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [eax]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0xc]
call edi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x104
push eax
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x24]
call esi
cmp eax, 0x103
jne 0x453450
pop edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 8]
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x104
push eax
push 0
push dword [esp + 0x20]
call esi
cmp eax, 0x103
je 0x453504
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push str.chNameOfFolder
push 0
push 0
push 0
call fcn.00476910
add esp, 0x10
mov dword [esp + 8], 0x104
lea eax, [esp + 8]
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x20]
call esi
cmp eax, 0x103
jne 0x4534c0
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0048d925
add esp, 0x214
ret
Function at 0x453530
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
sub esp, 0x674
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x66c], eax
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
push 0x208
push eax
mov word [esp + 0x268], ax
lea eax, [esp + 0x26a]
push eax
call fcn.0048e880
lea eax, [esp + 0x47c]
push eax
call fcn.00492383
add esp, 0x10
cmp eax, 0xffffffff
je 0x45366e
lea eax, [esp + 0x10]
push eax
push str..log
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
lea eax, [esp + 0x260]
push 0
push eax
push 0x104
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test byte [esp + 0x10], 0x10
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jne 0x4535fa
push 0x4ad2d0
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
je 0x4535fa
push 0x4ad2d4
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
je 0x4535fa
lea eax, [esp + 0x260]
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x10]
push eax
push edi
call ebp
test eax, eax
je 0x453667
nop dword [eax]
push 0
lea eax, [esp + 0x264]
push eax
push 0x104
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test byte [esp + 0x10], 0x10
jne 0x45365b
push 0x4ad2d0
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
je 0x45365b
push 0x4ad2d4
lea eax, [esp + 0x40]
push eax
call esi
test eax, eax
je 0x45365b
lea eax, [esp + 0x260]
push eax
call ebx
lea eax, [esp + 0x10]
push eax
push edi
call ebp
test eax, eax
jne 0x453610
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x674
ret

Function at 0x453690
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.0048e880
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x18]
add esp, 0xc
push eax
push 0x21
push 0
call edi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call ebx
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
cmp eax, 1
jne 0x453703
push str.index.dat
lea eax, [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0x10]
call fcn.00453780
lea eax, [esp + 0xc]
push eax
push 0x22
push 0
call edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call ebx
cmp eax, 1
jne 0x453733
push str.History.IE5index.dat
lea eax, [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0x10]
call fcn.00453780
lea eax, [esp + 0xc]
push eax
push 0x20
push 0
call edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call ebx
cmp eax, 1
jne 0x453763
push str.Content.IE5index.dat
lea eax, [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0x10]
call fcn.00453780
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x210
ret
Function at 0x455340
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
mov eax, 0x1840
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x183c], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x29e0
push dword [0x4def88]
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 0
push 0
push 0x1009
push edi
call ebx
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call fcn.0048e880
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x860], ax
lea eax, [esp + 0x862]
push eax
call fcn.0048e880
push 0x7fc
lea eax, [esp + 0x106c]
mov dword [esp + 0x1068], 0x30
push 0
push eax
call fcn.0048e880
add esp, 0x24
lea eax, [esp + 0x4c]
xor ebp, ebp
push 0x4ded80
push 0x400
push eax
push ebp
lea eax, [esp + 0x105c]
push eax
push str.DUPLICATEFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x455507
movzx esi, word [esp + 0x4c]
inc ebp
push 0
push 0
push 0x1004
push edi
call ebx
push 0x4db71c
push 0
mov dword [0x4db720], eax
lea eax, [esp + 0x56]
push 0x104d
push edi
mov dword [0x4db738], 0
mov dword [0x4db730], eax
call ebx
cmp esi, 0x31
jne 0x455467
lea eax, [esp + 0x10]
mov dword [esp + 0x20], 0xf000
push eax
push dword [0x4db720]
mov dword [esp + 0x24], 0x2000
push 0x102b
push edi
call ebx
lea eax, [esp + 0x4e]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x4b5168
mov edx, 0x4ad8c0
cmp eax, 0xffffffff
je 0x455486
mov edx, 0x4ad8e8
call fcn.00477440
push eax
lea eax, [esp + 0x850]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x84c]
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push dword [0x4db720]
push 0x1074
push edi
call ebx
push 0xa
push 0xa
lea eax, [esp + 0x1054]
push eax
push ebp
call fcn.0048f70e
add esp, 0x10
lea eax, [esp + 0x4c]
push 0x4ded80
push 0x400
push eax
push 0
lea eax, [esp + 0x105c]
push eax
push str.DUPLICATEFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x455406
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x1004
push edi
call ebx
test eax, eax
jne 0x455544
push eax
push 0x29de
push dword [0x4def88]
call esi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 0
push 0x29df
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
mov ecx, dword [esp + 0x184c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x1840
ret
Function at 0x458f10
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1004
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1000], eax
mov edx, 0x4adc30
mov ecx, str.FILE
call fcn.00477440
push eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4ded80
push 0x400
lea eax, [esp + 0x808]
push eax
push 0
push str.Folder
push str.DFOPTIONS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x800]
push eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp]
push eax
push 0
push 0xc
push 0x29f1
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0048d925
add esp, 0x1004
ret
Function at 0x45ce60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x828
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
mov ebp, dword [esp + 0x834]
lea eax, [esp + 0x18]
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x18], edx
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x45cfb7
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45cfb7
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x3a]
push eax
call fcn.0048e880
add esp, 0xc
push esi
push edi
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x4ad2c0
push esi
call edi
test eax, eax
je 0x45cfb0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push str.VarFileInfoTranslation
push esi
call edi
test eax, eax
je 0x45cfb0
mov ecx, dword [esp + 0x14]
push 0x4b95e0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_s
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.0040a3c0
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x45cfb0
push dword [esp + 0x10]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push dword [esp + 0x1c]
call ebx
mov ecx, dword [esp + 0x14]
push 0x4b9638
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_s
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.0040a3c0
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x45cfb0
push dword [esp + 0x10]
push ebp
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
jmp 0x45cfb9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x828
ret
Function at 0x45d7e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebx, ecx
mov esi, edx
push ebx
push esi
call edi
cmp word [esi], 0x22
jne 0x45d812
lea eax, [ebx + 2]
push eax
push esi
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push 0x4adcd0
push esi
call ebx
test eax, eax
je 0x45d82a
xor ecx, ecx
mov word [eax + 8], cx
cmp word [esi], 0x25
jne 0x45d87d
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0xc]
push esi
push eax
call edi
push 0x400
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0048d925
add esp, 0x804
ret
push 0x4ae754
push esi
call ebx
test eax, eax
je 0x45d890
add eax, 0xfffffffe
push eax
push esi
call edi
mov ecx, dword [esp + 0x80c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x804
ret
Function at 0x45ea50
Capabilities:
Create thread
Delete file
Download url
Read .ini file
Receive data

Disassembly:
sub esp, 0x620
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x61c], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x29cd
push dword [0x4def88]
call esi
mov ecx, eax
call fcn.0045efd0
push 0x29ae
push dword [0x4def88]
call esi
mov ecx, eax
call fcn.0045efd0
push 0
push 0x29ae
push dword [0x4def88]
mov dword [0x4db794], 0
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x10]
push 0
push 0x10
push 0x104
push eax
push str.http:__www.wintools.net_wintools.ini
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x10]
push 0x4def98
push eax
call ebx
push str.Updates.ini
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push str.http:__www.wintools.net_wintools.ini
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x45ebc4
lea eax, [esp + 0x10]
push eax
push 0
push str.AppVersion
push str.WINTOOLS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0x5a51
jle 0x45eb9a
push 0
push 0x45ec30
push dword [0x4def88]
push str.IDD_UPDATEBOX
push dword [0x4deb64]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp dword [0x4db794], 0
jne 0x45ec04
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x45e9d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x45ec04
mov edx, 0x4af5a0
mov ecx, str.MAINPAGE
call fcn.00477440
push eax
lea eax, [esp + 0x21c]
push eax
call ebx
push 0x40
lea eax, [esp + 0x21c]
mov edx, 0x4af598
jmp 0x45ebec
mov edx, 0x4af5b0
mov ecx, str.MAINPAGE
call fcn.00477440
push eax
lea eax, [esp + 0x424]
push eax
call ebx
push 0x10
lea eax, [esp + 0x424]
mov edx, 0x4af5a8
push eax
mov ecx, str.MAINPAGE
call fcn.00477440
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
push 0x29ae
push dword [0x4def88]
call esi
push eax
call edi
mov ecx, dword [esp + 0x628]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x620
ret