joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403840
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
mov ebx, edx
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x403a0b
push esi
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x403a03
cmp esi, 0xffffffff
je 0x403a03
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x403a03
push ebp
lea eax, [esi + 2]
push 2
push eax
call fcn.0048f633
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x403a02
push 0
lea eax, [esp + 0x2c]
push eax
push esi
push ebp
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
push 0
lea eax, [esi + esi]
push esi
push ebp
mov dword [esp + 0x1c], eax
lea edi, [eax + 2]
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
push 2
push edi
test eax, eax
jne 0x4038ff
call fcn.0048f633
add esp, 8
mov edi, eax
push esi
push edi
push 0xffffffffffffffff
push ebp
push 1
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
jmp 0x403915
call fcn.0048f633
add esp, 8
mov edi, eax
push ebp
push edi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov dword [esp + 0x10], esi
push ebx
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
xor ecx, ecx
mov dword [esp + 0x14], eax
test esi, esi
je 0x403942
nop dword [eax]
cmp word [edi + ecx*2], 0xd
jne 0x40393d
xor eax, eax
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x403930
push 2
push 0x400
call fcn.0048f633
add esp, 8
mov dword [esp + 0x18], 0
cmp dword [esp + 0x10], 0
mov ebx, eax
jbe 0x4039e9
mov ebp, dword [sym.imp.user32.dll_SendMessageW]
xor ecx, ecx
nop
lea esi, [ecx + edi]
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 0x400
jge 0x4039ba
push 0
push 0
push 0x1004
push dword [esp + 0x20]
call ebp
push esi
push ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], 0
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x30]
mov dword [esp + 0x44], ebx
push eax
push 0
push 0x104d
push dword [esp + 0x20]
call ebp
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4039c0
mov eax, dword [esp + 0x18]
sub esi, ecx
sar esi, 1
add eax, 2
add eax, esi
mov dword [esp + 0x18], eax
lea ecx, [eax + eax]
cmp dword [esp + 0x10], ecx
ja 0x403970
mov ebp, dword [esp + 0x1c]
push ebx
call fcn.0048f63e
push edi
call fcn.0048f63e
push ebp
call fcn.0048f63e
mov edi, dword [esp + 0x2c]
add esp, 0xc
pop ebp
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
pop edi
mov eax, 1
pop ebx
add esp, 0x1c
ret
Function at 0x405c00
Capabilities:
Copy file

Disassembly:
mov eax, 0x1014
call fcn.004a5d20
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 0x4ad100
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.00478850
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push 0x4ad118
push 0
call esi
test eax, eax
je 0x405cf8
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push 0x4ad130
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.00478850
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push 0x4ad148
push 0
call esi
test eax, eax
je 0x405d5a
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push 0x4ad160
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.00478850
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 0x4ad18c
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.00478850
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 0x4ad1b4
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.00478850
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0
push 0x4ad1cc
push 0
call esi
test eax, eax
je 0x405e80
push 0x4deb78
lea eax, [esp + 0x81c]
push eax
call edi
push 0x4ad1e4
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.00478850
add esp, 4
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1014
ret
Function at 0x407ed0
Capabilities:
Delete file
Write file on windows

Disassembly:
mov eax, 0x124c
call fcn.004a5d20
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.0048e770
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 0x407fc2
mov edx, 0x4ad0cc
call fcn.004773a0
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.004773a0
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.0048d815
add esp, 0x124c
ret
mov edx, 0x4adc48
call fcn.004773a0
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.004773a0
push eax
push dword [0x4def88]
call dword [sym.imp.user32.dll_MessageBoxW]
cmp eax, 6
jne 0x407fa8
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 0x408001
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 0x4080d1
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 0x408060
or eax, eax
jmp 0x4080d6
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 0x408060
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.0048d815
add esp, 0x124c
ret
Function at 0x409870
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.0048e770
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 0x409938
lea eax, [esp]
push eax
push 0x4bf7d8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4099da
push 0x4ad29c
call dword [sym.imp.kernel32.dll_lstrlenW]
add eax, eax
push eax
push 0x4ad29c
jmp 0x4099be
push 0
push 0x4bf7b8
call dword [sym.imp.user32.dll_FindWindowW]
test eax, eax
je 0x409961
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 0x4099da
lea ecx, [esp + 0x40]
sub eax, ecx
sar eax, 1
lea eax, [eax*2 - 2]
cmp eax, 0x800
jae 0x409a44
xor ecx, ecx
mov word [esp + eax + 0x40], cx
lea eax, [esp]
push eax
push 0x4bf7d8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4099da
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 0x4bf84c
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 [0x4c1390]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x4c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x4addfc
movups xmmword [esp + 0x1c], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.0048d815
add esp, 0x844
ret
call fcn.0048d945
int3
Function at 0x40d490
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.0040db00
push 0x204
lea eax, [esp + 0x70]
mov dword [esp + 0x6c], 0x30
push 0
push eax
call fcn.0048e770
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 0x4adf3c
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40d678
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 0x40d5b0
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 0x40d5a1
cmp esi, 0x3e8
jae 0x40d73a
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 0x40d560
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 0x40d610
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.0048f5fe
add esp, 0x10
lea eax, [esp + 0x270]
push 0x4ded80
push 0x3e8
push eax
push 0
lea eax, [esp + 0x78]
push eax
push 0x4adf3c
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40d530
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 0x40d717
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.0048f5fe
add esp, 0x10
mov dword [esp + 0x28], 0xf000
lea eax, [esp + 0x54]
push 0x4ded80
push 0
push eax
push 0x4adf90
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 0x40d6a5
mov ecx, dword [esp + 0xc48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov dword [0x4ce7f8], 0
call fcn.0048d815
add esp, 0xc3c
ret
call fcn.0048d945
int3
Function at 0x40d740
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1848
call fcn.004a5d20
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.0048e770
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 0x4adfa8
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40d8fb
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 0x40d832
movzx eax, word [esp + esi*2 + 0x56]
mov word [esp + esi*2 + 0x54], ax
cmp eax, 0x3e
jne 0x40d826
cmp esi, 0x400
jae 0x40d913
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 0x40d7f1
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 0x40d88f
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.0048f5fe
add esp, 0x10
lea eax, [esp + 0x54]
push 0x4ded80
push 0x400
push eax
push 0
lea eax, [esp + 0x864]
push eax
push 0x4adfa8
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40d7d6
pop edi
mov ecx, dword [esp + 0x1850]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1848
ret
call fcn.0048d945
int3
Function at 0x40d920
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1848
call fcn.004a5d20
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.0048e770
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 0x4adf0c
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40dadb
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 0x40da12
movzx eax, word [esp + esi*2 + 0x56]
mov word [esp + esi*2 + 0x54], ax
cmp eax, 0x3e
jne 0x40da06
cmp esi, 0x400
jae 0x40daf3
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 0x40d9d1
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 0x40da6f
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.0048f5fe
add esp, 0x10
lea eax, [esp + 0x54]
push 0x4ded80
push 0x400
push eax
push 0
lea eax, [esp + 0x864]
push eax
push 0x4adf0c
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40d9b6
pop edi
mov ecx, dword [esp + 0x1850]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1848
ret
call fcn.0048d945
int3
Function at 0x40e2b0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1004
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1000], eax
mov edx, 0x4adc30
mov ecx, 0x4ae00c
call fcn.004773a0
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 0x4ae018
push 0x4adff8
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.0048d815
add esp, 0x1004
ret

Function at 0x40f2b0
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, 0x4ae00c
call fcn.004773a0
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, 0x4ae00c
call fcn.004773a0
push eax
push dword [0x4def88]
call dword [sym.imp.user32.dll_MessageBoxW]
cmp eax, 6
je 0x40f32c
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xad0]
xor ecx, esp
call fcn.0048d815
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.0048e770
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 0x40f3cc
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.0048f5fe
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 0x40f380
mov ecx, dword [esp + 0xae0]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0xad4
ret
Function at 0x40f3f0
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 0x40f476
mov edx, 0x4adcc8
mov ecx, 0x4ae00c
call fcn.004773a0
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, 0x4ae00c
call fcn.004773a0
push eax
push dword [0x4def88]
call dword [sym.imp.user32.dll_MessageBoxW]
cmp eax, 6
je 0x40f476
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xad0]
xor ecx, esp
call fcn.0048d815
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.0048e770
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 0x40f51c
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.0048f5fe
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 0x40f4d0
mov ecx, dword [esp + 0xae0]
mov eax, 1
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0xad4
ret