joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403720
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x15c], edi
lea eax, [ebp - 0x154]
mov esi, ecx
mov dword [ebp - 0x158], eax
mov byte [ebp - 0x154], 0
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x403841
lea edx, [ebp - 0x164]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x160], eax
cmp eax, edi
jle 0x403841
push eax
call fcn.0041c7bf
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x164]
add esp, 4
mov ebx, eax
push ebx
push ecx
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x403838
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x15c]
push edx
push 0x43c824
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x403838
mov eax, dword [ebp - 0x15c]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
lea edi, [ebp - 0x158]
call fcn.00413ea0
push ebx
call fcn.0041d4c0
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
mov eax, dword [ebp - 0x158]
add esp, 0x18
push eax
jmp 0x403850
push ebx
call fcn.0041d4c0
add esp, 4
mov edx, dword [ebp - 0x158]
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
call fcn.004139f0
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
cmp eax, ecx
je 0x403871
push eax
call fcn.0041dba1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d129
mov esp, ebp
pop ebp
ret

Function at 0x404730
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 8], 0
mov dword [esi], vtable.ArkThread.0
je 0x404762
cmp byte [esi + 9], 0
jne 0x404762
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 9], 1
test byte [ebp + 8], 1
je 0x404771
push esi
call fcn.0041d4c0
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x404780
Capabilities:
Terminate thread

Disassembly:
cmp byte [esi + 8], 0
je 0x4047a6
cmp byte [esi + 9], 0
jne 0x4047a6
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 9], 1
ret
Function at 0x406420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x43cfcc
mov esi, eax
push 0x6e
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0041c7bf
mov edi, eax
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.004256b0
mov eax, dword [ebp - 4]
push esi
push eax
push edi
call fcn.0041f8d0
mov esi, dword [ebp + 8]
add esp, 0x1c
push edi
or eax, 0xffffffff
call fcn.004139f0
push edi
call fcn.0041dcb3
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408fe0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436e0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44666c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041cd72
push 4
mov dword [ebp - 4], 0
call fcn.0041d530
mov edi, eax
add esp, 4
test edi, edi
je 0x40905c
call fcn.0041cc4a
mov dword [edi], eax
call fcn.0041ca09
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041cd33
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x409052
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041cd5b
jmp 0x40905e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4118e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x437749
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x44666c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
lea eax, [ecx - 0x2c]
mov dword [esp + 0x30], 0x43df84
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.00411320
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.2.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x442308
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.0041f372
int3

Function at 0x411b30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x437749
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x44666c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
lea eax, [ecx - 0x2c]
mov dword [esp + 0x30], 0x43df84
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.00411510
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.2.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x442390
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.0041f372
int3
Function at 0x413670
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], edx
call fcn.0043354c
add esp, 8
lea ecx, [ebp - 0x418]
push ecx
push 0x4393ac
push 1
push 0
push 0x4393bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4137d9
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x41c]
push ecx
push 0x4393cc
push eax
call edx
test eax, eax
js 0x4137cb
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test ebx, ebx
jne 0x41370f
mov edx, dword [0x448554]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
jmp 0x413716
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test esi, esi
je 0x41372b
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
jmp 0x413738
lea edx, [ebp - 0x20c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test edi, edi
je 0x41374d
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push edi
push eax
call edx
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x413766
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 1
push eax
call edx
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x4137a1
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0041d792
add esp, 0x10
jmp 0x41382b
push 0x5c
test ebx, ebx
je 0x4137aa
push ebx
jmp 0x4137b1
mov edx, dword [0x448554]
push edx
call fcn.0041e000
add esp, 8
test eax, eax
jne 0x4137ec
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d129
mov esp, ebp
pop ebp
ret 8
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0041d792
lea eax, [ebp - 0x108]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413811
sub eax, edx
lea eax, [ebp + eax - 0x108]
mov word [eax - 3], 0x6e6c
mov byte [eax - 1], 0x6b
push 0x104
lea edx, [ebp - 0x414]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x414]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
setns al
xor ecx, ebp
pop esi
call fcn.0041d129
mov esp, ebp
pop ebp
ret 8
Function at 0x413f50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x128
mov esi, eax
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.004256b0
add esp, 0xc
mov dword [ebp - 0x130], 0x128
cmp esi, 0xffffffff
je 0x414000
lea ecx, [ebp - 0x130]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x413ff9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push edi
lea edx, [ebp - 0x10c]
push edx
call ebx
test eax, eax
je 0x413fd3
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x413fb1
jmp 0x413ff9
mov ecx, dword [ebp - 0x128]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d129
mov esp, ebp
pop ebp
ret

Function at 0x414020
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0xf01ff
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x414083
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x414083
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x414091
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d129
mov esp, ebp
pop ebp
ret
Function at 0x4140a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
mov eax, dword [0x44666c]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.00414020
mov eax, dword [str.SmFqrc]
mov ecx, dword [0x43cd90]
mov dx, word [0x43cd94]
push pe_nt_image_headers32
mov dword [esp + 0xc], eax
lea eax, [esp + 0x16]
push 0
push eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x1c], dx
call fcn.004256b0
xor eax, eax
add esp, 0xc
lea ecx, [esp + 8]
cmp byte [esp + 8], al
je 0x414113
xor byte [ecx], al
inc eax
inc ecx
cmp eax, 8
jne 0x41410e
xor eax, eax
cmp byte [ecx], 0
jne 0x414103
lea ecx, [esp + 8]
call fcn.00413f50
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push str.WuJiSetupApp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x414165
push 0x2ec
call fcn.0041d530
add esp, 4
test eax, eax
je 0x414158
mov edi, eax
call fcn.00401050
mov ecx, dword [0x449334]
mov edx, esi
call fcn.004013e0
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0041d129
mov esp, ebp
pop ebp
ret 0x10

Function at 0x414180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.004256b0
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414232
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.UninstallString
push ecx
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414225
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
jmp 0x41423f
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43c7f1
or eax, 0xffffffff
call fcn.004139f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d129
mov esp, ebp
pop ebp
ret
Function at 0x414a70
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x4c], 0
push esi
push edi
mov esi, eax
je 0x414a84
push 0x10000000
jmp 0x414a86
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x414ab9
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43c7f1
or eax, 0xffffffff
call fcn.004139f0
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
jmp 0x414b06
mov edx, dword [ebp + 8]
push 0
push 0x102
push 0
push 0
push edx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
jne 0x414ae9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x414ae9
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x414a9a
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43c7f1
or eax, 0xffffffff
call fcn.004139f0
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
je 0x414b11
push eax
call fcn.0041dba1
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x48

Function at 0x414fc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push esi
lea ecx, [ebp - 0xa8]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 0xa8], 0
call fcn.004139f0
push str.client.ini
mov eax, esi
call fcn.004138f0
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x43cfc8
push 0x43e0c4
push str.appver
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [edi + 4]
lea edx, [ebp - 0x68]
mov dword [edi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
mov esi, edi
call fcn.004139f0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
cmp eax, ecx
je 0x415059
push eax
call fcn.0041dba1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0041d129
mov esp, ebp
pop ebp
ret 4

Function at 0x415070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [edi + 4]
push esi
mov dword [edi], eax
mov byte [eax], 0
push 0x43e0d0
or eax, 0xffffffff
mov esi, edi
mov ebx, ecx
call fcn.004139f0
mov ebx, dword [ebx]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov byte [ebp - 0xa8], 0
call fcn.004139f0
push str.Datauser2.ini
mov eax, esi
call fcn.004138f0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push 0x43e0d0
push 0x43cfa0
push 0x43cfa0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004139f0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x415119
push eax
call fcn.0041dba1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0041d129
mov esp, ebp
pop ebp
ret
Function at 0x415130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [edi + 4]
push esi
mov dword [edi], eax
mov byte [eax], 0
push str.2000_01_01
or eax, 0xffffffff
mov esi, edi
mov ebx, ecx
call fcn.004139f0
mov ebx, dword [ebx]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov byte [ebp - 0xa8], 0
call fcn.004139f0
push str.Datauser2.ini
mov eax, esi
call fcn.004138f0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push str.2000_01_01
push str.SETUPDATE
push 0x43cfa0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004139f0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x4151d9
push eax
call fcn.0041dba1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0041d129
mov esp, ebp
pop ebp
ret

Function at 0x4151f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [edi + 4]
push esi
mov dword [edi], eax
mov byte [eax], 0
push str.20010101
or eax, 0xffffffff
mov esi, edi
mov ebx, ecx
call fcn.004139f0
mov ebx, dword [ebx]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov byte [ebp - 0xa8], 0
call fcn.004139f0
push str.Datauser2.ini
mov eax, esi
call fcn.004138f0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push str.20010101
push str.PUBLICDATE
push 0x43cfa0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004139f0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x415299
push eax
call fcn.0041dba1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0041d129
mov esp, ebp
pop ebp
ret

Function at 0x4152b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xc
mov esi, ecx
mov dword [ebp - 0x1c], 0
call fcn.0041c7bf
push 0xa
mov edi, eax
call fcn.0041c7bf
add esp, 8
push 0xa
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0xc
push edi
push 0x43e114
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push 0x43ce50
push ecx
call fcn.0041d792
lea eax, [esi + 4]
add esp, 0xc
lea edx, [ebp - 0x18]
mov dword [esi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
call fcn.004139f0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d129
mov esp, ebp
pop ebp
ret
Function at 0x415340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x44666c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1e4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4153ec
lea ecx, [ebp - 0x1ec]
push ecx
mov ecx, dword [ebp - 0x1e4]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x1e8]
push eax
push 0
push str.ProductName
push ecx
mov dword [ebp - 0x1ec], 0xff
mov dword [ebp - 0x1e8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4153df
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
push 0x43c7f1
or eax, 0xffffffff
mov esi, edi
call fcn.004139f0
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d129
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1e4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x1e0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4153b7
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x148]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x14c]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 0x148], 0
call fcn.004139f0
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
mov eax, dword [ebp - 0x14c]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004139f0
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
cmp eax, ecx
je 0x415461
push eax
call fcn.0041dba1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041d129
mov esp, ebp
pop ebp
ret