joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4076c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43bb25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x452ac0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
call fcn.00431a55
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x18]
push 0xfe
push eax
push 0x452ac0
push str.value
push str.Model
mov dword [esp + 0x134], 1
mov byte [esp + 0x2c], bl
call edi
test eax, eax
jle 0x40773a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00431b70
mov esi, dword [esi + 8]
lea edx, [esp + 0x14]
push esi
push 0xfe
push edx
push 0x452ac0
push str.value
push str.Sub_Model
mov byte [esp + 0x2c], bl
call edi
cmp eax, ebx
jle 0x40776f
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
call fcn.00431dc3
mov esi, dword [esp + 0x124]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0043175c
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x11c], bl
call fcn.004319e7
mov ecx, dword [esp + 0x114]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 4

Function at 0x4077c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
xor eax, eax
push esi
mov dword [esp + 4], eax
mov byte [esp + 8], al
mov eax, dword [ecx + 8]
lea ecx, [esp + 8]
push eax
push 0xfe
push ecx
push 0x452ac0
push str.value
push str.Serial_Number
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x10c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00431a55
mov eax, esi
pop esi
add esp, 0x104
ret 4
Function at 0x407cd0
Capabilities:
Get memory capacity
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43bbeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, ecx
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
mov dword [esp + 0x1c], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x44ed90]
shr eax, 0x14
add eax, 2
mov dword [esp + 8], ecx
push eax
lea edx, [esp + 0xc]
push 0x44d194
push edx
mov dword [esp + 0x14c], 1
call fcn.0042ca77
mov esi, dword [esi + 4]
add esp, 0xc
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
push pe_nt_image_headers32
push eax
push 0x452ac0
push str.MEGABYTES
push str.System_Dialog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x407ddd
lea ecx, [esp + 8]
push 0x44d558
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00431c7c
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x14c], 2
call fcn.00431c7c
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 3
call fcn.00431b20
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 2
call fcn.004319e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], 1
call fcn.004319e7
mov esi, dword [esp + 0x148]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0043175c
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x140], 0
call fcn.004319e7
mov ecx, dword [esp + 0x138]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 4
Function at 0x408130
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43bc85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push 0x452ac0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], ebx
call fcn.00431a55
lea eax, [esp + 0xc]
mov dword [esp + 0x120], 1
push eax
push 1
push ebx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4081b0
mov esi, dword [esp + 0x128]
push str.Unknown
mov ecx, esi
call fcn.00431a55
mov dword [esp + 0x14], 1
jmp 0x40828a
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push ebx
push str.ProcessorNameString
push eax
call esi
cmp eax, ebx
jne 0x4081ec
cmp dword [esp + 0x10], 0x100
ja 0x4081ec
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xc]
call fcn.00431b70
jmp 0x408248
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push ebx
push str.VendorIdentifier
push ecx
mov byte [esp + 0x30], bl
call esi
cmp eax, ebx
jne 0x408248
lea edx, [esp + 0x18]
lea ecx, [esp + 8]
push edx
call fcn.00431b70
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
push ebx
push str.Identifier
push edx
mov byte [esp + 0x30], bl
call esi
cmp eax, ebx
jne 0x408248
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.00431dc3
push 0x44d558
lea ecx, [esp + 0xc]
call fcn.0042cadd
push 0x44d558
lea ecx, [esp + 0xc]
call fcn.0042ca8a
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x128]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0043175c
mov dword [esp + 0x14], 1
lea ecx, [esp + 8]
mov byte [esp + 0x120], bl
call fcn.004319e7
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x409940
Capabilities:
Access peb ldr_data
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x43c1a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [0x44ed90]
mov ebx, 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x30], 2
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x4099a5
mov esi, dword [esp + 0x30]
push 0x452ac0
mov ecx, esi
call fcn.00431a55
mov dword [esp + 0x10], ebx
jmp 0x409a06
push edi
call fcn.00431728
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x34]
push esi
push edi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push str.StringFileInfo000004b0FileVersion
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
mov byte [eax + ecx], 0
lea ecx, [esp + 0x10]
call fcn.00431b70
push esi
call fcn.00431751
mov esi, dword [esp + 0x34]
add esp, 4
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0043175c
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.004319e7
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.004319e7
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x40bc80
Capabilities:
Create directory
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43c5fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x18], esi
lea eax, [esp + 0xc]
mov dword [esp + 0x224], esi
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
mov dword [esp + 0x28], 4
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40bd96
push edi
mov edi, 0x452ac0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
mov ebp, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x20]
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebp
push ecx
push edx
push eax
push 0
push str.AppData
push ebp
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40bd72
lea ecx, [esp + 0x20]
push str.IBM
lea esi, [ebx + 0x94]
push ecx
push str._s_s
push esi
call fcn.0042ca77
mov edx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x10
push 0
push edx
call edi
push str.Access
mov ecx, esi
call fcn.00431dc3
mov eax, dword [esi]
push 0
push eax
call edi
test ebp, ebp
pop edi
je 0x40bd7e
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret
lea ecx, [ebx + 0x90]
push ecx
lea ecx, [ebx + 0x94]
call fcn.00431b20
jmp 0x40bd7e
Function at 0x40c660
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43c80c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
push ebx
push esi
push edi
lea ebx, [ecx + 0xbc]
xor esi, esi
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.0042d1ff
mov dword [esp + 0x10], 4
lea eax, [esp + 0xc]
mov dword [esp + 0x4b0], esi
push eax
push 0x20019
push esi
push str.SOFTWAREIBMACCESSIBMQuickLaunch
push SysReAllocStringLen
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40c861
mov edi, dword [esp + 0xc]
push ebp
push 1
lea ecx, [esp + 0x2c]
push str.QL_i
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], 0x404
call fcn.0041c9f6
add esp, 0xc
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
lea eax, [esp + 0xa8]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x34]
push esi
push edx
push edi
call ebp
cmp eax, esi
jne 0x40c855
mov esi, 1
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x18]
push eax
call fcn.00431a55
push esi
lea ecx, [esp + 0x2c]
push str.QLText_i
push ecx
mov byte [esp + 0x4c0], 1
call fcn.0041c9f6
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push 0
push edx
push edi
mov dword [esp + 0x28], 0x404
call ebp
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x20]
push eax
call fcn.00431a55
push esi
lea ecx, [esp + 0x2c]
push str.QLType_1
push ecx
mov byte [esp + 0x4c0], 2
call fcn.0041c9f6
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push 0
push edx
push edi
mov dword [esp + 0x28], 0x404
call ebp
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x1c]
push eax
call fcn.00431a55
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x4bc], 3
call fcn.0042d374
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b4], 2
call fcn.004319e7
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
call fcn.004319e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x4b4], 0
call fcn.004319e7
inc esi
lea edx, [esp + 0x28]
push esi
push str.QL_i
push edx
mov dword [esp + 0x1c], 0x404
call fcn.0041c9f6
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0xa8]
push eax
push ecx
lea edx, [esp + 0x1c]
lea eax, [esp + 0x30]
push edx
push 0
push eax
push edi
call ebp
test eax, eax
je 0x40c719
test edi, edi
pop ebp
je 0x40c861
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4a8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4a8
ret
Function at 0x40dba0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, ecx
push 0x10
call edi
push 0x11
mov dword [esp + 0x14], eax
call edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x13c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, 0x400
push eax
lea eax, [esp + 0x1c]
push ebp
push eax
push 0x452ac0
push str.LARGEWIDTH_SCREENWIDTH
push str.OTHER
call edi
test eax, eax
jle 0x40dbfe
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c6ed
add esp, 4
mov ebp, eax
mov eax, dword [esi + 0xac]
mov ebx, dword [esp + 0x420]
xor ecx, ecx
cmp eax, ecx
jne 0x40dd01
cmp dword [esp + 0x10], ebp
jl 0x40dd06
mov eax, dword [esi + 0x13c]
lea edx, [esp + 0x18]
push eax
push 0x400
push edx
push 0x452ac0
push str.LARGEWIDTH
push str.OTHER
mov byte [esi + 0x125], 1
call edi
test eax, eax
jle 0x40dc5d
lea eax, [esp + 0x18]
push eax
call fcn.0041c6ed
add esp, 4
mov dword [ebx], eax
jmp 0x40dc63
mov dword [ebx], 0x474
mov eax, dword [esi + 0x13c]
lea ecx, [esp + 0x18]
push eax
push 0x400
push ecx
push 0x452ac0
push str.LARGEHEIGHT
push str.OTHER
call edi
test eax, eax
jle 0x40ddd5
lea edx, [esp + 0x18]
push edx
call fcn.0041c6ed
mov ecx, dword [esp + 0x420]
add esp, 4
mov dword [ecx], eax
jmp 0x40dde2
mov dword [ebx], 0x2f8
mov eax, dword [esi + 0x13c]
lea edx, [esp + 0x18]
push eax
push 0x400
push edx
push 0x452ac0
push str.DEFAULTHEIGHT
push str.OTHER
call edi
test eax, eax
jle 0x40dcef
lea eax, [esp + 0x18]
push eax
call fcn.0041c6ed
mov ecx, dword [esp + 0x420]
add esp, 4
mov dword [ecx], eax
jmp 0x40dde2
mov edx, dword [esp + 0x41c]
mov dword [edx], 0x226
jmp 0x40dde2
cmp eax, 1
jne 0x40dd4a
mov eax, dword [esi + 0x13c]
mov byte [esi + 0x125], cl
push eax
lea eax, [esp + 0x1c]
push 0x400
push eax
push 0x452ac0
push str.DEFAULTWIDTH
push str.OTHER
call edi
test eax, eax
jle 0x40dca8
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c6ed
add esp, 4
mov dword [ebx], eax
jmp 0x40dcae
cmp eax, 2
jne 0x40dde2
mov eax, dword [esi + 0x13c]
mov byte [esi + 0x125], 1
push eax
lea eax, [esp + 0x1c]
push 0x400
push eax
push 0x452ac0
push str.LARGEWIDTH
push str.OTHER
call edi
test eax, eax
jle 0x40dd91
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c6ed
add esp, 4
mov dword [ebx], eax
jmp 0x40dd97
mov dword [ebx], 0x474
mov eax, dword [esi + 0x13c]
lea edx, [esp + 0x18]
push eax
push 0x400
push edx
push 0x452ac0
push str.LARGEHEIGHT
push str.OTHER
call edi
test eax, eax
jle 0x40ddd5
lea eax, [esp + 0x18]
push eax
call fcn.0041c6ed
mov ecx, dword [esp + 0x420]
add esp, 4
mov dword [ecx], eax
jmp 0x40dde2
mov edx, dword [esp + 0x41c]
mov dword [edx], 0x339
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
cmp ecx, eax
jle 0x40ddf9
mov byte [esi + 0x64], 1
mov ecx, dword [ebx]
sub ecx, eax
mov dword [esi + 0x60], ecx
mov dword [ebx], eax
mov ecx, dword [esp + 0x41c]
mov eax, dword [esp + 0x14]
cmp dword [ecx], eax
jl 0x40de15
mov byte [esi + 0x64], 1
mov edx, dword [ecx]
sub edx, eax
mov dword [esi + 0x5c], edx
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x408
ret 8
Function at 0x40ec00
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43cb92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push str.TEXT
lea ecx, [esp + 0x24]
call fcn.00431a55
mov dword [esp + 0x430], 0
mov ebx, 1
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [0x44ed90]
mov dword [esp + 0x18], eax
push ebx
lea ecx, [esp + 0x1c]
push 0x44d194
push ecx
mov byte [esp + 0x43c], 1
call fcn.0042ca77
add esp, 0xc
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00431c16
mov eax, dword [ebp + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push 0x400
push edx
push 0x452ac0
push eax
push str.Access_Text
mov byte [esp + 0x448], 2
call esi
test eax, eax
jle 0x40edae
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.00431a55
push 0x44d12c
lea ecx, [esp + 0x14]
mov byte [esp + 0x434], 3
call fcn.0042c6f1
mov esi, eax
cmp esi, 0xffffffff
jle 0x40ed75
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.0042c657
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0x430], 4
mov eax, dword [eax - 8]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0042c5db
push 0x44d180
lea ecx, [esp + 0x18]
mov byte [esp + 0x434], 5
call fcn.0042cadd
push 0x44d128
lea ecx, [esp + 0x18]
call fcn.0042ca8a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [ebp + 0x144]
call fcn.0042c3e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x430], 4
call fcn.004319e7
lea ecx, [esp + 0x24]
mov byte [esp + 0x430], 3
call fcn.004319e7
lea ecx, [esp + 0x10]
mov byte [esp + 0x430], 2
call fcn.004319e7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x430], 1
call fcn.004319e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x430], 0
call fcn.004319e7
inc ebx
jmp 0x40ec3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x430], 1
call fcn.004319e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x430], 0
call fcn.004319e7
mov eax, dword [ebp + 0x88]
lea ecx, [esp + 0x28]
push eax
push 0x400
push ecx
push 0x452ac0
push str.TITLE
push str.Access_Text
call esi
test eax, eax
jle 0x40ee0b
lea edx, [esp + 0x28]
lea ecx, [ebp + 0x144]
push edx
push str.__TITLE__
call fcn.0042c3e2
lea ecx, [esp + 0x20]
mov dword [esp + 0x430], 0xffffffff
call fcn.004319e7
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x424
ret
Function at 0x410fe0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43cf5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
mov esi, ecx
push edi
push 0x452ac0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00431a55
add esi, 0x90
lea ecx, [esp + 0xc]
push esi
mov dword [esp + 0x124], 1
call fcn.0043175c
push str._access_text.ini
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 2
call fcn.00431dc3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push pe_nt_image_headers32
push ecx
push 0x452ac0
push str.TITLE
push str.Access_Text
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x18]
lea ecx, [esp + 8]
push edx
call fcn.00431b70
push 0x2c
lea ecx, [esp + 0xc]
call fcn.00431eae
cmp eax, 0xffffffff
jle 0x4110d1
mov ecx, dword [esp + 8]
inc eax
lea edx, [esp + 0x10]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.0042c5db
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x124], 3
call fcn.00431b20
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 2
call fcn.004319e7
push 0x44d128
lea ecx, [esp + 0xc]
call fcn.0042cadd
push 0x44d128
lea ecx, [esp + 0xc]
call fcn.0042ca8a
mov esi, dword [esp + 0x128]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0043175c
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], 1
call fcn.004319e7
lea ecx, [esp + 8]
mov byte [esp + 0x120], 0
call fcn.004319e7
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x411190
Capabilities:
Access peb ldr_data
Get ntdll base address
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43cfe9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
call fcn.004064f0
mov eax, dword [0x44ed90]
mov dword [esp + 0x13c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
mov bl, 2
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], bl
call fcn.00406de0
mov eax, dword [eax]
lea esi, [edi + 0x144]
push eax
push str.__COUNTRY__
mov ecx, esi
mov byte [esp + 0x144], 3
call fcn.0042c3e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], bl
call fcn.004319e7
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.004066a0
mov eax, dword [eax]
mov ecx, esi
push eax
push str.__LANGUAGE__
mov byte [esp + 0x144], 4
call fcn.0042c3e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], bl
call fcn.004319e7
mov al, byte [edi + 0x228]
test al, al
je 0x4112ef
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
call fcn.004076c0
mov eax, dword [eax]
mov ecx, esi
push eax
push str.__MTM__
mov byte [esp + 0x144], 5
call fcn.0042c3e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], bl
call fcn.004319e7
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
call fcn.004077c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 6
call fcn.00431b20
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], bl
call fcn.004319e7
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.004076c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 7
call fcn.00431b20
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], bl
call fcn.004319e7
jmp 0x411362
mov eax, dword [edi + 0x68]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea edx, [esp + 0x3c]
push 0xff
push edx
push 0x452ac0
push str.model
push str.MTMINFO
call ebp
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
call fcn.00431b70
mov edi, dword [edi + 0x68]
lea ecx, [esp + 0x38]
push edi
push 0xff
push ecx
push 0x452ac0
push str.seial
push str.MTMINFO
call ebp
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
call fcn.00431b70
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
push str.__MTM__
call fcn.0042c3e2
pop ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call fcn.00406de0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x140], 8
call fcn.004066a0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x140], 9
call fcn.004077c0
mov eax, dword [eax]
mov ecx, esi
push eax
push str.__SERIAL__
mov byte [esp + 0x144], 0xa
call fcn.0042c3e2
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 9
call fcn.004319e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 8
call fcn.004319e7
lea ecx, [esp + 0x30]
mov byte [esp + 0x13c], bl
call fcn.004319e7
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 1
call fcn.004319e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 0
call fcn.004319e7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x13c], 0xffffffff
call fcn.00406630
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret
Function at 0x411580
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43d06d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x424
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x452ac0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
call fcn.00431a55
mov al, byte [ebp + 0x125]
mov dword [esp + 0x43c], 0
test al, al
je 0x4115cf
push str.Large_Styles
jmp 0x4115d4
push str.Small_Styles
lea ecx, [esp + 0x1c]
call fcn.00431b70
push str.__STYLES__
lea ecx, [esp + 0x28]
call fcn.00431a55
mov eax, dword [esp + 0x24]
add ebp, 0x144
push eax
mov ecx, ebp
mov byte [esp + 0x440], 1
call fcn.0042c6f1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov ecx, dword [ecx - 8]
push ecx
push eax
mov ecx, ebp
call fcn.0042c2d5
push str.STYLE
lea ecx, [esp + 0x2c]
call fcn.00431a55
mov esi, 1
mov bl, 3
mov edx, dword [0x44ed90]
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], edx
push esi
lea eax, [esp + 0x18]
push 0x44d194
push eax
mov byte [esp + 0x448], bl
call fcn.0042ca77
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00431c16
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x34]
mov byte [esp + 0x43c], 4
mov eax, dword [ecx + 0x13c]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push 0x400
push edx
push 0x452ac0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x41175d
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
call fcn.00431a55
push 0x44e7d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x440], 5
call fcn.00431a55
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x440], 6
call fcn.0042cadd
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.0042ca8a
push 0x44d8f0
lea ecx, [esp + 0x14]
call fcn.00431dc3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push edx
push eax
mov ecx, ebp
call fcn.0042c32d
lea ecx, [esp + 0x20]
mov byte [esp + 0x43c], 5
call fcn.004319e7
lea ecx, [esp + 0x10]
mov byte [esp + 0x43c], 4
call fcn.004319e7
lea ecx, [esp + 0x1c]
mov byte [esp + 0x43c], bl
call fcn.004319e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x43c], 2
call fcn.004319e7
inc esi
jmp 0x41162e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x43c], bl
call fcn.004319e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x43c], 2
call fcn.004319e7
lea ecx, [esp + 0x28]
mov byte [esp + 0x43c], 1
call fcn.004319e7
lea ecx, [esp + 0x24]
mov byte [esp + 0x43c], 0
call fcn.004319e7
lea ecx, [esp + 0x18]
mov dword [esp + 0x43c], 0xffffffff
call fcn.004319e7
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x430
ret