joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c00
Capabilities:
Copy file

Disassembly:
mov eax, 0x1014
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SearchPathW]
lea eax, [esp + 0x10]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push 0x4ad0e4
push 0
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x405c96
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push str.autobat.pnt
lea eax, [esp + 0x81c]
push eax
call ebx
push 0
push 0x4cb5d0
lea eax, [esp + 0x20]
push eax
call ebp
push 0x4c85d0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x81c]
call fcn.004788f0
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push str.config.sys
push 0
call esi
test eax, eax
je 0x405cf8
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push str.confsys.pnt
lea eax, [esp + 0x81c]
push eax
call ebx
push 0
push 0x4cadd0
lea eax, [esp + 0x20]
push eax
call ebp
push 0x4c7dd0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x81c]
call fcn.004788f0
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push str.autoexec.nt
push 0
call esi
test eax, eax
je 0x405d5a
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push str.autont.pnt
lea eax, [esp + 0x81c]
push eax
call ebx
push 0
push 0x4ca5d0
lea eax, [esp + 0x20]
push eax
call ebp
push 0x4c75d0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x81c]
call fcn.004788f0
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push 0x4ad178
push 0
call esi
test eax, eax
je 0x405dbc
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push str.confnt.pnt
lea eax, [esp + 0x81c]
push eax
call ebx
push 0
push 0x4c9dd0
lea eax, [esp + 0x20]
push eax
call ebp
push 0x4c6dd0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x81c]
call fcn.004788f0
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push 0x4ad1a4
push 0
call esi
test eax, eax
je 0x405e1e
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push str.winini.pnt
lea eax, [esp + 0x81c]
push eax
call ebx
push 0
push 0x4c95d0
lea eax, [esp + 0x20]
push eax
call ebp
push 0x4c65d0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x81c]
call fcn.004788f0
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push str.system.ini
push 0
call esi
test eax, eax
je 0x405e80
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push str.sysini.pnt
lea eax, [esp + 0x81c]
push eax
call ebx
push 0
push 0x4c8dd0
lea eax, [esp + 0x20]
push eax
call ebp
push 0x4c5dd0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x81c]
call fcn.004788f0
add esp, 4
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x1014
ret
Function at 0x407f20
Capabilities:
Delete file
Write file on windows

Disassembly:
mov eax, 0x124c
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1248], eax
push ebx
push ebp
push edi
push ecx
push dword [0x4def88]
mov ebp, edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7fc
mov edi, eax
mov dword [esp + 0xa58], 0
lea eax, [esp + 0xa5c]
push 0
push eax
call fcn.0048e880
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call ebx
lea ecx, [esp + 0xa54]
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x1073
push edi
mov dword [esp + 0x38], 0x400
call ebx
cmp word [esp + 0xa54], 0
mov ecx, 0x4ad090
jne 0x408012
mov edx, 0x4ad0cc
call fcn.00477440
push eax
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x254]
mov edx, 0x4adc40
push 0x30
push eax
mov ecx, 0x4ad090
call fcn.00477440
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1248]
xor ecx, esp
call fcn.0048d925
add esp, 0x124c
ret
mov edx, 0x4adc48
call fcn.00477440
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x4c]
mov edx, 0x4adc68
push 0x24
push eax
mov ecx, 0x4ad090
call fcn.00477440
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x407ff8
push esi
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call ebx
push 0
mov esi, eax
push esi
push 0x1008
push edi
call ebx
cmp esi, 0xffffffff
jne 0x408051
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x1004
push edi
call ebx
mov esi, eax
test esi, esi
je 0x408121
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4080b0
or eax, eax
jmp 0x408126
lea eax, [esp + 0x258]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
dec esi
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0x400
push eax
push esi
push 0x1073
push edi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x264]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
push 0x4ad24c
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
jne 0x4080b0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x1258]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x124c
ret
Function at 0x4098c0
Capabilities:
Create process on windows
Set registry value

Disassembly:
sub esp, 0x844
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x840], eax
push 0x7fc
lea eax, [esp + 0x48]
mov dword [esp + 0x44], 0
push 0
push eax
call fcn.0048e880
add esp, 0xc
push 2
push 0xffffffffffffffff
push 0x100c
push 0x2740
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
lea ecx, [esp + 4]
push ecx
push eax
push 0x1073
push 0x2740
push dword [0x4def88]
mov dword [esp + 0x30], 0x400
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [esp + 0x40], 0
jne 0x409988
lea eax, [esp]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x409a2a
push 0x4ad29c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push 0x4ad29c
jmp 0x409a0e
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4099b1
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x2bc
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5d
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x409a2a
lea ecx, [esp + 0x40]
sub eax, ecx
sar eax, 1
lea eax, [eax*2 - 2]
cmp eax, 0x800
jae 0x409a94
xor ecx, ecx
mov word [esp + eax + 0x40], cx
lea eax, [esp]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x409a2a
lea eax, [esp + 0x42]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x46]
push eax
push 1
push 0
push str.LastKey
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4def88]
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movaps xmm0, xmmword [0x4c1440]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x4c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], str.regedit.exe
movups xmmword [esp + 0x1c], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.0048d925
add esp, 0x844
ret
call fcn.0048da55
int3
Function at 0x40d4f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc3c
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0xc38], eax
push ebx
push ebp
push esi
push edi
push 0x2780
push dword [0x4def88]
mov dword [0x4ce7f8], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
push 0
push 0
push 0x1009
push ebp
call edi
call fcn.0040db60
push 0x204
lea eax, [esp + 0x70]
mov dword [esp + 0x6c], 0x30
push 0
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x270]
xor esi, esi
push 0x4ded80
push 0x3e8
push eax
push esi
lea eax, [esp + 0x78]
push eax
push str.TRASHFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40d6d8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
nop dword [eax + eax]
movzx eax, word [esp + 0x270]
inc esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x270]
mov dword [esp + 0x14], esi
xor esi, esi
push eax
call ebx
test eax, eax
jle 0x40d610
nop dword [eax]
nop word [eax + eax]
movzx eax, word [esp + esi*2 + 0x272]
mov word [esp + esi*2 + 0x270], ax
cmp eax, 0x3e
jne 0x40d601
cmp esi, 0x3e8
jae 0x40d79a
xor eax, eax
mov word [esp + esi*2 + 0x270], ax
lea eax, [esp + esi*2 + 0x274]
push eax
lea eax, [esp + 0xa44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x270]
inc esi
push eax
call ebx
cmp esi, eax
jl 0x40d5c0
push 0
push 0
push 0x1004
push ebp
call edi
push 0x4cf8b4
push 0
mov dword [0x4cf8b8], eax
lea eax, [esp + 0x278]
push 0x104d
push ebp
mov dword [0x4cf8d0], 0
mov dword [0x4cf8c8], eax
call edi
cmp dword [esp + 0x10], 0x31
jne 0x40d670
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xf000
push eax
push dword [0x4cf8b8]
mov dword [esp + 0x2c], 0x2000
push 0x102b
push ebp
call edi
lea eax, [esp + 0xa40]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push dword [0x4cf8b8]
push 0x1074
push ebp
call edi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x68]
push 0xa
push 0xa
push eax
push esi
call fcn.0048f70e
add esp, 0x10
lea eax, [esp + 0x270]
push 0x4ded80
push 0x3e8
push eax
push 0
lea eax, [esp + 0x78]
push eax
push str.TRASHFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40d590
push 0x2780
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
mov ebx, eax
push esi
push esi
push 0x1004
push ebx
call edi
test eax, eax
js 0x40d777
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
xorps xmm0, xmm0
push 0xa
mov word [esp + 0x58], ax
mov word [esp + 0x6a], ax
lea eax, [esp + 0x58]
push 0xa
push eax
push esi
movups xmmword [esp + 0x66], xmm0
call fcn.0048f70e
add esp, 0x10
mov dword [esp + 0x28], 0xf000
lea eax, [esp + 0x54]
push 0x4ded80
push 0
push eax
push str.TRASHCHECK
call ebp
neg eax
sbb eax, eax
and eax, 0x1000
add eax, 0x1000
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x102b
push ebx
call edi
push 0
push 0
push 0x1004
push ebx
inc esi
call edi
cmp esi, eax
jle 0x40d705
mov ecx, dword [esp + 0xc48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov dword [0x4ce7f8], 0
call fcn.0048d925
add esp, 0xc3c
ret
call fcn.0048da55
int3
Function at 0x40d7a0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1848
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1844], eax
push ebx
push ebp
push esi
push 0x2785
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x1009
push ebx
call ebp
push 0x7fc
lea eax, [esp + 0x858]
mov dword [esp + 0x854], 0x30
push 0
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x50]
xor esi, esi
push 0x4ded80
push 0x400
push eax
push esi
lea eax, [esp + 0x860]
push eax
push str.EXCLUDEFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40d95b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [esp + 0x54]
inc esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x14], esi
xor esi, esi
push eax
call edi
test eax, eax
jle 0x40d892
movzx eax, word [esp + esi*2 + 0x56]
mov word [esp + esi*2 + 0x54], ax
cmp eax, 0x3e
jne 0x40d886
cmp esi, 0x400
jae 0x40d973
xor eax, eax
mov word [esp + esi*2 + 0x54], ax
lea eax, [esp + esi*2 + 0x58]
push eax
lea eax, [esp + 0x1058]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x54]
inc esi
push eax
call edi
cmp esi, eax
jl 0x40d851
push 0
push 0
push 0x1004
push ebx
call ebp
push 0x4cf878
push 0
mov dword [0x4cf87c], eax
lea eax, [esp + 0x5c]
push 0x104d
push ebx
mov dword [0x4cf894], 0
mov dword [0x4cf88c], eax
call ebp
cmp dword [esp + 0x10], 0x31
jne 0x40d8ef
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xf000
push eax
push dword [0x4cf87c]
mov dword [esp + 0x2c], 0x2000
push 0x102b
push ebx
call ebp
lea eax, [esp + 0x1054]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push dword [0x4cf87c]
push 0x1074
push ebx
call ebp
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x854]
push 0xa
push 0xa
push eax
push esi
call fcn.0048f70e
add esp, 0x10
lea eax, [esp + 0x54]
push 0x4ded80
push 0x400
push eax
push 0
lea eax, [esp + 0x864]
push eax
push str.EXCLUDEFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40d836
pop edi
mov ecx, dword [esp + 0x1850]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x1848
ret
call fcn.0048da55
int3
Function at 0x40d980
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1848
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1844], eax
push ebx
push ebp
push esi
push 0x277b
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x1009
push ebx
call ebp
push 0x7fc
lea eax, [esp + 0x858]
mov dword [esp + 0x854], 0x30
push 0
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x50]
xor esi, esi
push 0x4ded80
push 0x400
push eax
push esi
lea eax, [esp + 0x860]
push eax
push str.TRASHFILES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40db3b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [esp + 0x54]
inc esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x14], esi
xor esi, esi
push eax
call edi
test eax, eax
jle 0x40da72
movzx eax, word [esp + esi*2 + 0x56]
mov word [esp + esi*2 + 0x54], ax
cmp eax, 0x3e
jne 0x40da66
cmp esi, 0x400
jae 0x40db53
xor eax, eax
mov word [esp + esi*2 + 0x54], ax
lea eax, [esp + esi*2 + 0x58]
push eax
lea eax, [esp + 0x1058]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x54]
inc esi
push eax
call edi
cmp esi, eax
jl 0x40da31
push 0
push 0
push 0x1004
push ebx
call ebp
push 0x4cf8f0
push 0
mov dword [0x4cf8f4], eax
lea eax, [esp + 0x5c]
push 0x104d
push ebx
mov dword [0x4cf90c], 0
mov dword [0x4cf904], eax
call ebp
cmp dword [esp + 0x10], 0x31
jne 0x40dacf
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xf000
push eax
push dword [0x4cf8f4]
mov dword [esp + 0x2c], 0x2000
push 0x102b
push ebx
call ebp
lea eax, [esp + 0x1054]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push dword [0x4cf8f4]
push 0x1074
push ebx
call ebp
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x854]
push 0xa
push 0xa
push eax
push esi
call fcn.0048f70e
add esp, 0x10
lea eax, [esp + 0x54]
push 0x4ded80
push 0x400
push eax
push 0
lea eax, [esp + 0x864]
push eax
push str.TRASHFILES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40da16
pop edi
mov ecx, dword [esp + 0x1850]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x1848
ret
call fcn.0048da55
int3
Function at 0x40e310
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.SFOPTIONS
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 0x278b
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 0x40f310
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xad4
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0xad0], eax
push ebx
push ebp
mov ebp, edx
mov ebx, ecx
mov edx, 0x4adcc8
mov ecx, str.FILE
call fcn.00477440
push eax
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0xd0]
mov edx, 0x4adcdc
push 0x24
push eax
mov ecx, str.FILE
call fcn.00477440
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x40f38c
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xad0]
xor ecx, esp
call fcn.0048d925
add esp, 0xad4
ret
push esi
push edi
push 0x4ded80
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push 0xc4
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x30
push 0
push eax
call fcn.0048e880
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x2ec]
add esp, 0xc
xor esi, esi
push 0x4ded80
push 0x400
push eax
push esi
lea eax, [esp + 0x20]
push eax
push ebp
call edi
test eax, eax
je 0x40f42c
nop
push 0x4ded80
lea eax, [esp + 0x2e4]
inc esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
push 0xa
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0048f70e
add esp, 0x10
lea eax, [esp + 0x2e0]
push 0x4ded80
push 0x400
push eax
push 0
lea eax, [esp + 0x20]
push eax
push ebp
call edi
test eax, eax
jne 0x40f3e0
mov ecx, dword [esp + 0xae0]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0xad4
ret
Function at 0x40f450
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xad4
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0xad0], eax
cmp byte [esp + 0xad8], 0
push ebx
push edi
mov ebx, edx
mov edi, ecx
je 0x40f4d6
mov edx, 0x4adcc8
mov ecx, str.FILE
call fcn.00477440
push eax
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0xd0]
mov edx, 0x4adcdc
push 0x24
push eax
mov ecx, str.FILE
call fcn.00477440
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x40f4d6
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xad0]
xor ecx, esp
call fcn.0048d925
add esp, 0xad4
ret
push ebp
push esi
push 0x4ded80
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push 0xc4
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x30
push 0
push eax
call fcn.0048e880
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x2ec]
add esp, 0xc
xor esi, esi
push 0x4ded80
push 0x400
push eax
push esi
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
test eax, eax
je 0x40f57c
nop dword [eax]
push 0x4ded80
lea eax, [esp + 0x2e4]
inc esi
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
push 0xa
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0048f70e
add esp, 0x10
lea eax, [esp + 0x2e0]
push 0x4ded80
push 0x400
push eax
push 0
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
test eax, eax
jne 0x40f530
mov ecx, dword [esp + 0xae0]
mov eax, 1
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0xad4
ret
Function at 0x410b10
Capabilities:
Copy file
Hide graphical window

Disassembly:
mov eax, 0x1044
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1040], eax
mov eax, dword [esp + 0x104c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov edi, edx
xor eax, eax
mov ebx, ecx
push 0x7fe
push eax
mov word [esp + 0x858], ax
lea eax, [esp + 0x85a]
push eax
call fcn.0048e880
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push eax
call fcn.0048e880
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x18
push 0
push 0
push 0x1004
push ebx
call esi
mov ebp, eax
test ebp, ebp
je 0x410cc9
nop
lea eax, [esp + 0x850]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x28], eax
dec ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0x400
push eax
push 0
push 0x1073
push ebx
call esi
lea eax, [esp + 0x50]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x1073
push ebx
mov dword [esp + 0x3c], 0x400
call esi
push str.Directory
lea eax, [esp + 0x854]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
mov word [esp + 0x30], 0
lea eax, [esp + 0x50]
movq qword [esp + 0x24], xmm0
push eax
movups xmmword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
cmp word [esp + eax*2 + 0x4e], 0x5c
jne 0x410c30
mov word [esp + eax*2 + 0x4e], cx
jmp 0x410c35
mov word [esp + eax*2 + 0x52], cx
mov eax, dword [0x4def88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1060]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ax, word [esp + 0x1058]
mov word [esp + 0x24], ax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 0
push 0
push 0x1008
push ebx
call esi
cmp dword [0x4deb74], 2
jne 0x410cac
push 0
push 0
push 0x130b
push 0x2763
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
cmp eax, 5
je 0x410cac
push 5
jmp 0x410cae
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x405
push edi
call esi
test ebp, ebp
jne 0x410b90
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x1044
ret