joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412330
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x204], 0x200
lea eax, [ebp - 0x208]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsShellNoRoamMUICache
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x412407
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x200]
push eax
push edi
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
jmp 0x4123f6
push ebx
lea eax, [ebp - 0x200]
push eax
call fcn.00420160
add esp, 8
test eax, eax
je 0x4123c5
lea eax, [ebp - 0x200]
push eax
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4123fa
inc edi
mov dword [ebp - 0x204], 0x200
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x200]
push eax
push edi
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
test esi, esi
je 0x41239b
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x412410
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x208], 0x200
mov dword [ebp - 0x20c], 0x200
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerRunMRU
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x412519
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
jmp 0x412507
inc esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0
push 0
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4124d0
push ebx
lea eax, [ebp - 0x40c]
push eax
call fcn.00420160
add esp, 8
test eax, eax
je 0x4124d0
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
dec esi
mov dword [ebp - 0x20c], 0x200
mov dword [ebp - 0x208], 0x200
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
test edi, edi
je 0x412482
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4127e0
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x208], 0x200
mov dword [ebp - 0x20c], 0x200
mov dword [ebp - 0x418], 0x200
lea eax, [ebp - 0x410]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerComDlg32OpenSaveMRU
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x4129bf
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x41c], eax
jmp 0x4129a5
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412965
xor esi, esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
jmp 0x412953
inc esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0
push 0
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41291c
push ebx
lea eax, [ebp - 0x40c]
push eax
call fcn.00420160
add esp, 8
test eax, eax
je 0x41291c
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov byte [ebp - 0x40c], 0
dec esi
mov dword [ebp - 0x20c], 0x200
mov dword [ebp - 0x208], 0x200
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
test edi, edi
je 0x4128c7
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], 0x200
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x412876
mov eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4129d0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x748
push ebx
push esi
mov dword [ebp - 0x150], 0
mov edx, dword [ebp + 0x14]
mov word [edx], 0
push str.MAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test eax, eax
je 0x412bf7
push str.MAPISendMail
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x43bfb8], eax
cmp dword [0x43bfb8], 0
jne 0x412a2a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x412bf7
lea eax, [ebp - 0x150]
push eax
push 0x4283c8
push 0x104
lea eax, [ebp - 0x14c]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x150], 0
je 0x412b2a
lea eax, [ebp - 0x748]
push eax
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x250]
push eax
push 1
push 0x4283c0
lea eax, [ebp - 0x748]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0
push 0x104
lea eax, [ebp - 0x55c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x250]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00412c00
push 0x104
lea eax, [ebp - 0x250]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x55c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x14c]
lea edx, [ebp - 0x55c]
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x412af0
pop eax
push 0
lea eax, [ebp - 0x250]
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x250]
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x412b1a
pop eax
lea ecx, [ebp - 0x354]
lea edx, [ebp - 0x14c]
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x412b39
pop eax
cmp dword [ebp + 0x10], 0
je 0x412b6c
push 0
push 0
push 0x104
lea eax, [ebp - 0x458]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x412b73
mov byte [ebp - 0x458], 0
lea edx, [ebp - 0x18]
mov ecx, 0x18
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x354]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x48]
mov ecx, 0x30
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
lea eax, [ebp - 0x458]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0
push 9
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
call dword [0x43bfb8]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x412bf2
cmp esi, 1
je 0x412bf2
cmp esi, 3
je 0x412bf2
xor eax, eax
jmp 0x412bf7
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x416370
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0xa
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041e700
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push 0x100
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4164d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0x418b50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x4164fd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4168a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push ebx
mov ebx, dword [ebp + 0xc]
push 0xa
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.0041e700
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
push 0x200
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x429a50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x400]
push eax
push ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41a160
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push 0xa
lea eax, [ebp - 0x26c]
push eax
push ebx
call fcn.0041e700
add esp, 0xc
lea edx, [ebp - 0x1c]
mov ecx, 0x1c
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
mov dword [ebp - 0x1c], 0xb
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push 0x74f
mov eax, dword [0x43f09c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0xc]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x26c]
push eax
push str.menu
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x133e
mov eax, dword [0x43c02c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x43c028]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x1328
mov eax, dword [0x43c02c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, 0x17ac
je 0x41a23d
cmp ebx, 0x17ad
je 0x41a262
jmp 0x41a285
push 1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
sub edx, eax
push edx
mov edx, dword [ebp - 0x28]
push edx
push eax
mov eax, dword [0x43c020]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x41a285
push 1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
sub edx, eax
push edx
mov edx, dword [ebp - 0x28]
push edx
push eax
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
push ebx
push 0x750
mov eax, dword [0x43f9c8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push 0
mov eax, dword [0x43c028]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41a480
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push ebx
push esi
lea ecx, [ebp - 0x45c]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x41a499
pop eax
push 0x43f2b0
lea eax, [ebp - 0x45c]
push eax
call fcn.0041e5f0
add esp, 8
push 0
push 0
push 0x1304
mov eax, dword [0x43c02c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
lea edx, [ebp - 0x54]
mov ecx, 0x1c
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
mov dword [ebp - 0x54], 9
lea eax, [ebp - 0x254]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], pe_nt_image_headers32
xor esi, esi
jmp 0x41a569
lea eax, [ebp - 0x54]
push eax
push esi
push 0x133c
mov eax, dword [0x43c02c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0041e700
add esp, 0xc
lea eax, [ebp - 0x45c]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x18]
push eax
push str.menu
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x54]
push eax
push esi
push 0x133d
mov eax, dword [0x43c02c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, ebx
jl 0x41a501
lea edx, [ebp - 0x38]
mov ecx, 0x20
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
mov dword [ebp - 0x38], 0xe
mov dword [ebp - 0x28], 0x100
lea eax, [ebp - 0x254]
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x38]
push eax
push esi
push 0x105f
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.0041e700
add esp, 0xc
lea eax, [ebp - 0x45c]
push eax
push 0x100
lea eax, [ebp - 0x254]
push eax
push str.Column
lea eax, [ebp - 0x18]
push eax
push str.snippets_cols
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x38]
push eax
push esi
push 0x1060
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, 2
jl 0x41a598
lea eax, [ebp - 0x45c]
push eax
call fcn.0041a8f0
push 1
push 0
push 0
mov eax, dword [0x43c028]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ace0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x208]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x41acfb
pop eax
push 0x43f2b0
lea eax, [ebp - 0x208]
push eax
call fcn.0041e5f0
add esp, 8
lea eax, [ebp - 0x208]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x308]
push eax
push 0x429b20
push str.1009
push 0x429b4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x308]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x208]
push eax
push 0x429b1a
push 1
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x429b0c
push 2
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x429bb0
push 0xffb
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x429afc
push 0xffd
push ebx
call fcn.004168a0
push 0
push 0x7f
push 0xc5
push 0xffc
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0xffff
push 0xc5
push 0xffe
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp dword [ebp + 0x10], 0
jl 0x41aef8
push 1
push str.edit
push ebx
call dword [sym.imp.USER32.dll_SetPropW]
push 0
push 1
push 0xcf
push 0xffc
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea edx, [ebp - 0x330]
mov ecx, 0x28
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
mov dword [ebp - 0x330], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x318], pe_nt_image_headers32
lea eax, [ebp - 0x308]
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x330]
push eax
push 0
push 0x104b
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x308]
push eax
push 0xffc
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x43f7c0
push 0
push str.size
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x334], eax
test eax, eax
jle 0x41af06
mov eax, dword [ebp - 0x334]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x33c], eax
push eax
call fcn.0041e620
mov dword [ebp - 0x338], eax
push 0x43f7c0
mov eax, dword [ebp - 0x334]
inc eax
push eax
mov eax, dword [ebp - 0x338]
push eax
push 0
push str.text
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x338]
push eax
call fcn.0041af80
mov eax, dword [ebp - 0x338]
push eax
push 0xffe
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x41af06
push 0
push str.edit
push ebx
call dword [sym.imp.USER32.dll_SetPropW]
push 0xffe
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0x41b460
push edx
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x43bffc], eax
xor eax, eax
lea esp, [ebp - 0x340]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41aff0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5000
call fcn.0041e640
push ebx
push esi
mov ebx, dword [ebp + 8]
mov word [ebp - 0x5000], 0
push 0x43f7c0
push 0x2800
lea eax, [ebp - 0x5000]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [ebp - 0x5000], 0
je 0x41b06f
lea esi, [ebp - 0x5000]
jmp 0x41b062
mov ax, word [esi]
test ax, ax
je 0x41b057
cmp ax, 0x7c90
je 0x41b057
push ebx
push esi
call fcn.0041f9e0
add esp, 8
test eax, eax
jne 0x41b057
mov eax, 1
jmp 0x41b071
mov eax, esi
add esi, 2
cmp word [eax], 0
jne 0x41b057
cmp word [esi], 0
jne 0x41b034
cmp word [esi - 2], 0
jne 0x41b034
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41b080
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5030
call fcn.0041e640
push ebx
push esi
push edi
mov word [ebp - 0x5028], 0
push 0x43f7c0
push 0x2800
lea eax, [ebp - 0x5028]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [ebp - 0x5028], 0
je 0x41b1d7
lea ebx, [ebp - 0x5028]
jmp 0x41b1c2
mov ax, word [ebx]
test ax, ax
je 0x41b1b7
cmp ax, 0x7c90
je 0x41b1b7
push 0x43f7c0
push 0
push str.size
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
test esi, esi
jle 0x41b1b7
lea eax, [esi + esi + 2]
mov dword [ebp - 0x5030], eax
push eax
call fcn.0041e620
mov dword [ebp - 0x502c], eax
push 0x43f7c0
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 0x502c]
push eax
push 0
push str.text
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0
push 0x1004
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
lea edx, [ebp - 0x28]
mov ecx, 0x28
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
mov dword [ebp - 0x28], 3
mov dword [ebp - 0xc], 5
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x28]
push eax
push 0
push 0x104d
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x502c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x502c]
push eax
call fcn.0041afc0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x104c
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
add ebx, 2
cmp word [eax], 0
jne 0x41b1b7
cmp word [ebx], 0
jne 0x41b0c9
cmp word [ebx - 2], 0
jne 0x41b0c9
lea esp, [ebp - 0x503c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b290
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push 0
push 0
push 0x740
mov eax, dword [0x43f09c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
lea edx, [ebp - 0x28]
mov ecx, 0x28
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x10], pe_nt_image_headers32
lea eax, [ebp - 0x128]
mov dword [ebp - 0x14], eax
push 2
push 0xffffffffffffffff
push 0x100c
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x104b
mov eax, dword [0x43c01c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x43f7c0
push 0
push str.size
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
test ebx, ebx
jle 0x41b38b
lea eax, [ebx + ebx + 2]
mov dword [ebp - 0x130], eax
push eax
call fcn.0041e620
mov dword [ebp - 0x12c], eax
push 0x43f7c0
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 0x12c]
push eax
push 0
push str.text
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0041af80
mov eax, dword [ebp - 0x12c]
push eax
push 1
push 0xc2
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
lea esp, [ebp - 0x138]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b4a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
xor esi, esi
mov word [ebx], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
cmp eax, 0x8000
jne 0x41b4d5
or esi, 8
push str.Ctrl
push ebx
call fcn.0041e5f0
add esp, 8
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
cmp eax, 0x8000
jne 0x41b4fd
or esi, 0x10
push str.Alt
push ebx
call fcn.0041e5f0
add esp, 8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
cmp eax, 0x8000
jne 0x41b525
or esi, 4
push str.Shift
push ebx
call fcn.0041e5f0
add esp, 8
mov eax, esi
pop esi
pop ebx
ret 4