joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bbe0
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 1
lea ecx, [ebp - 0x660]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x40bc02
pop eax
push str..lng
lea eax, [ebp - 0x660]
push eax
call fcn.0041e5f0
add esp, 8
lea edx, [ebp - 0x250]
mov ecx, 0x250
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40bd70
lea ecx, [ebp - 0x458]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x40bc6b
pop eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.0041e5f0
add esp, 8
lea eax, [ebp - 0x458]
push eax
push 0
push 0x4268e0
push str.language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
jne 0x40bd61
mov ecx, 0x43f2b0
lea edx, [ebp - 0x224]
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x40bcc0
pop eax
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40bd70
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
test esi, esi
je 0x40bd61
lea ecx, [ebp - 0x458]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x40bcfe
pop eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.0041e5f0
add esp, 8
lea eax, [ebp - 0x458]
push eax
push 0
push 0x4268e0
push str.language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
jne 0x40bd61
mov ecx, 0x43f2b0
lea edx, [ebp - 0x224]
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x40bd4f
pop eax
jmp 0x40bd69
test esi, esi
jne 0x40bcdc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40bd80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
push ebx
push esi
push edi
mov dword [ebp - 0x258], 0
mov ebx, 1
mov eax, dword [0x43bf74]
test eax, eax
je 0x40bdc7
push eax
push 0
mov eax, dword [0x44019c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [0x43bf74], 0
mov dword [0x43bf70], 0
lea ecx, [ebp - 0x464]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x40bdd5
pop eax
push str..lng
lea eax, [ebp - 0x464]
push eax
call fcn.0041e5f0
add esp, 8
push 0x178a
mov eax, dword [0x440448]
push eax
call fcn.0040dbe0
push eax
mov eax, dword [0x440448]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x25c], eax
push 0x1777
mov eax, dword [ebp - 0x25c]
push eax
call fcn.0040dbe0
push eax
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov dword [ebp - 0x468], eax
lea edi, [eax - 1]
jmp 0x40be5d
push 0x400
push edi
push esi
call dword [sym.imp.USER32.dll_RemoveMenu]
dec edi
test edi, edi
jge 0x40be4f
lea edx, [ebp - 0x250]
mov ecx, 0x250
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x254], eax
cmp eax, 0xffffffff
je 0x40bf09
mov eax, dword [ebp - 0x258]
lea edx, [eax + 1]
mov dword [ebp - 0x258], edx
push eax
lea eax, [ebp - 0x250]
push eax
push esi
call fcn.0040bf40
jmp 0x40beed
lea eax, [ebp - 0x250]
push eax
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test ebx, ebx
je 0x40beed
mov eax, dword [ebp - 0x258]
lea edx, [eax + 1]
mov dword [ebp - 0x258], edx
push eax
lea eax, [ebp - 0x250]
push eax
push esi
call fcn.0040bf40
test ebx, ebx
jne 0x40beb6
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x258]
mov dword [0x43bf70], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bf40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x52c
push ebx
push esi
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x324]
mov ecx, 0x324
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
mov dword [ebp - 0x318], 0x28
mov dword [ebp - 0x314], 0
or dword [ebp - 0x320], 0xffffffff
or dword [ebp - 0x31c], 0xffffffff
cmp dword [0x43bf74], 0
jne 0x40bfa5
push 4
push 8
mov eax, dword [0x44019c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [0x43bf74], eax
jmp 0x40bfc7
mov eax, dword [ebp + 0x10]
inc eax
add eax, eax
add eax, eax
push eax
mov eax, dword [0x43bf74]
push eax
push 8
mov eax, dword [0x44019c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [0x43bf74], eax
lea ecx, [ebp - 0x52c]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x40bfd5
pop eax
mov eax, dword [ebp + 0xc]
add eax, 0x2c
push eax
lea eax, [ebp - 0x52c]
push eax
call fcn.0041e5f0
add esp, 8
lea eax, [ebp - 0x52c]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x308]
push eax
push 0
push str.name
push str.language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x52c]
push eax
push 0
push 0x4268e0
push str.language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
add eax, 0x4268
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x308]
push eax
mov eax, dword [ebp - 0x324]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [ebp - 0x324]
push eax
push ebx
call fcn.0040dbe0
push eax
push ebx
lea eax, [ebp - 0x324]
push eax
call fcn.00411170
mov eax, dword [ebp + 0x10]
mov edx, dword [0x43bf74]
mov ecx, dword [ebp - 0x324]
mov dword [edx + eax*4], ecx
cmp dword [0x43f9e0], esi
jne 0x40c0a2
push 8
mov eax, dword [ebp - 0x324]
push eax
push ebx
call dword [sym.imp.USER32.dll_CheckMenuItem]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40df60
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push 0x104
lea eax, [ebp - 0x4bc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x2b4]
mov ecx, 0x2b4
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x4101
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
push 0
lea eax, [ebp - 0x4bc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b4]
mov dword [0x43bb48], eax
mov esp, ebp
pop ebp
ret
Function at 0x40dfd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
push 0
push pe_nt_image_headers32
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e1a7
push 0
lea eax, [ebp - 0x270]
push eax
push 3
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebp - 4], 0xff
jne 0x40e04f
cmp byte [ebp - 3], 0xfe
jne 0x40e04f
mov dword [ebp - 0x14], 0x11
push 1
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x10], 1
jmp 0x40e0be
cmp byte [ebp - 4], 0xfe
jne 0x40e07b
cmp byte [ebp - 3], 0xff
jne 0x40e07b
mov dword [ebp - 0x14], 0x11
push 1
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x10], 2
jmp 0x40e0be
cmp byte [ebp - 4], 0xef
jne 0x40e0a0
cmp byte [ebp - 3], 0xbb
jne 0x40e0a0
cmp byte [ebp - 2], 0xbf
jne 0x40e0a0
mov dword [ebp - 0x14], 0xfde90021
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x10], 3
jmp 0x40e0be
mov dword [ebp - 0x14], 1
push 1
push 0
push 0xfffffffffffffffd
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x10], 0
mov dword [ebp - 0x26c], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x410fc0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x449
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xcd
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x324], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x328], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040e1c0
lea edx, [ebp - 0x264]
mov ecx, 0x250
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e1ab
mov eax, dword [ebp + 0xc]
lea edi, [eax + 0x31c]
lea esi, [ebp - 0x250]
mov ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40e1ab
xor eax, eax
jmp 0x40e1b0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e1c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x32c], 0
je 0x40e1ec
cmp dword [ebx + 0x328], 1
jne 0x40e1ec
mov eax, dword [ebx + 0x32c]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea edx, [ebp - 0x2b4]
mov ecx, 0x2b4
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x4101
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b4]
mov dword [ebx + 0x32c], eax
mov eax, dword [ebx + 0x32c]
push eax
push 0
push pe_nt_image_headers32
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x43f09c]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40e2c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
lea edx, [ebp - 0x2b4]
mov ecx, 0x2b4
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x400
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push str.File_Folder
lea eax, [ebp - 0xa0]
push eax
call fcn.0041f9e0
add esp, 8
test eax, eax
je 0x40e318
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x40e830
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x10]
cmp ecx, 3
ja case.default.0x40e83c
jmp dword [ecx*4 + 0x426480]
mov eax, str.ANSI
ret 4
mov eax, str.Unicode
ret 4
mov eax, str.Unicode_big_endian
ret 4
mov eax, str.UTF_8
ret 4
xor eax, eax
ret 4

Function at 0x40ebf0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x40ecb0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 4], 0
je 0x40ec9d
cmp dword [ebp + 8], 1
jne 0x40ec2e
push 0
push 0
push 0x10
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40ec9d
cmp dword [ebp + 8], 2
jne 0x40ec76
mov dword [0x42c01c], 0
push 0
push 0
push 0x742
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x741
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x10
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40ec9d
cmp dword [ebp + 8], 4
jne 0x40ec9d
push 0
push str.SAVE_ON_EXIT
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetPropW]
push 0
push 0
push 0x10
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret 4
Function at 0x40ed00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
lea edx, [ebp - 0x100]
push edx
push eax
call fcn.0041e750
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x40ed59
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x104], eax
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0041e5f0
add esp, 8
jmp 0x40ed6d
push 0x42679e
lea eax, [ebp - 0x100]
push eax
call fcn.0041e5f0
add esp, 8
lea eax, [ebp - 0x100]
push eax
push ebx
call fcn.0041e5f0
add esp, 8
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40f990
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
mov ebx, dword [ebp + 8]
push 0x7f
lea eax, [ebp - 0x100]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp + 0xc], 0
je 0x40f9c9
push 0x4268d2
lea eax, [ebp - 0x100]
push eax
call fcn.0041e5f0
add esp, 8
jmp 0x40f9ee
lea edx, [ebp - 0x100]
mov eax, 0xfffffffe
add eax, 2
cmp word [edx + eax], 0
jne 0x40f9d4
shr eax, 1
lea eax, [eax + eax - 2]
mov word [ebp + eax - 0x100], 0
lea eax, [ebp - 0x100]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40ff30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
push esi
push edi
lea edi, [ebp - 0x124]
mov esi, str.StringFileInfo_04x_04x_s
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov byte [0x43bb26], 0
push 0x104
lea eax, [ebp - 0x104]
push eax
mov eax, dword [0x440478]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x41003f
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x108], eax
push eax
push ebx
push 0
lea eax, [ebp - 0x104]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41003f
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x12c]
push eax
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x108]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41003f
push 0x42673a
mov eax, dword [ebp - 0x12c]
movzx edx, word [eax + 2]
push edx
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x108]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41003f
mov ecx, 0x43bb26
mov edx, dword [ebp - 0x238]
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x410034
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea ecx, [ebp - 0x200]
mov edx, 0x43e11c
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x410067
pop eax
push 0x426732
lea eax, [ebp - 0x200]
push eax
call fcn.0041e5f0
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.0041e5f0
add esp, 8
push 0x42672e
lea eax, [ebp - 0x200]
push eax
call fcn.0041e5f0
add esp, 8
cmp dword [0x440150], 0
je 0x41017b
push 0x427efa
lea eax, [ebp - 0x200]
push eax
call fcn.0041e5f0
add esp, 8
push 0x43e21c
lea eax, [ebp - 0x200]
push eax
call fcn.0041e5f0
add esp, 8
push 0x41
push 0x43e01c
lea eax, [ebp - 0x200]
push eax
mov eax, dword [0x43f09c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x41017b
mov edx, 0x43ff48
mov eax, 0xfffffffe
add eax, 2
cmp word [edx + eax], 0
jne 0x410110
shr eax, 1
test eax, eax
jne 0x41013e
push 0xa
push 0
push 0
push str.http:__atpad.sf.net_page3
push str.open
mov eax, dword [0x43f09c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41017b
push 0xa
push 0
push str.http:__atpad.sf.net_page3
push 0x43ff48
push 0
mov eax, dword [0x43f09c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x41017b
push 0xa
push 0
push 0
push str.http:__atpad.sf.net_page3
push str.open
mov eax, dword [0x43f09c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 4

Function at 0x410190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4418
call fcn.0041e640
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0xc]
add eax, 0x114
push eax
lea eax, [ebp - 0x4414]
push eax
call fcn.00410280
push 0x43f3b0
push 0x2000
lea eax, [ebp - 0x4004]
push eax
push 0
lea eax, [ebp - 0x4414]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x4004]
mov eax, 0xfffffffe
add eax, 2
cmp word [edx + eax], 0
jne 0x4101e6
shr eax, 1
test eax, eax
je 0x41026d
lea edi, [ebp - 0x4004]
lea ebx, [ebp - 0x4004]
jmp 0x410237
cmp word [ebx], 0x5e
jne 0x410234
mov word [ebx], 0
push 0xa
push 0
push edi
call fcn.0041fa40
add esp, 0xc
mov dword [ebp - 4], eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040fc50
mov esi, eax
add ebx, 2
mov edi, ebx
add ebx, 2
cmp word [ebx], 0
jne 0x410204
push 0
push 0
push 0xba
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4418], eax
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x4418]
mov dword [edx + 0x344], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040eb50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4104c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ecx, str.00_00_00_00_00_00
mov edx, 0x4266d4
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x4104d4
pop eax
push 0x280
call fcn.0041edd0
pop ecx
mov ebx, eax
mov dword [ebp - 4], 0x280
lea eax, [ebp - 4]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41051a
push ebx
call fcn.0041f190
pop ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0041edd0
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x410584
test ebx, ebx
je 0x410584
movzx eax, byte [ebx + 0x199]
push eax
movzx eax, byte [ebx + 0x198]
push eax
movzx eax, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push eax
movzx eax, byte [ebx + 0x195]
push eax
movzx eax, byte [ebx + 0x194]
push eax
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x24]
push eax
call fcn.004200c0
add esp, 0x20
push 0x20
push str.00_00_00_00_00_00
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call fcn.0041f190
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4106e0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
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 0x4106f7
pop eax
push 0x43f2b0
lea eax, [ebp - 0x208]
push eax
call fcn.0041e5f0
add esp, 8
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41074d
lea eax, [ebp - 0x208]
push eax
push 0x409
push 0x4268e0
push str.language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x43f9e0], eax
mov esp, ebp
pop ebp
ret

Function at 0x410760
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5000
call fcn.0041e640
mov word [ebp - 0x5000], 0
push 0x43f3b0
push 0x2800
lea eax, [ebp - 0x5000]
push eax
push str.accelerators
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea edx, [ebp - 0x5000]
mov eax, 0xfffffffe
add eax, 2
cmp word [edx + eax], 0
jne 0x41079d
shr eax, 1
test eax, eax
je 0x4107b2
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x410ae0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x43fa20
mov esi, 0x43fba8
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
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 0x410b0e
pop eax
push 0x43f2b0
lea eax, [ebp - 0x208]
push eax
call fcn.0041e5f0
add esp, 8
lea eax, [ebp - 0x208]
push eax
push 0x100
lea eax, [ebp - 0x408]
push eax
push str.Date_time_settings
push str.1010
push 0x426614
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x208]
push eax
push 0x4265d4
push 0x1002
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4265ca
push 0x1003
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4265c0
push 0x1004
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4265b0
push 0x1006
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4265a4
push 0x100b
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Insert_time_after_date
push 0x100d
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Insert_date_after_time
push 0x100c
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Use_default_language_settings
push 0x100e
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Use_current_language_settings
push 0x100f
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4264c2
push 2
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4264bc
push 1
push ebx
call fcn.004168a0
push 0x43fa20
push 0x1005
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x43fb20
push 0x1008
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor eax, eax
cmp dword [0x43fba0], 0
setne al
push eax
push 0x100c
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
cmp dword [0x43fba0], 0
sete al
push eax
push 0x100d
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
cmp dword [0x43fba4], 0
sete al
push eax
push 0x100e
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
cmp dword [0x43fba4], 0
setne al
push eax
push 0x100f
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
push ebx
call fcn.00410e80
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc