joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401970
Capabilities:
Check if file exists
Create directory
Create thread
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x44600c]
mov eax, dword [esi + 0x38]
push 0x43a924
push eax
call fcn.0041c7bd
add esp, 8
test eax, eax
je 0x401997
sub eax, dword [esi + 0x38]
cmp eax, 1
je 0x4019ad
mov esi, dword [0x44600c]
push str.C:Program_Fileswjplay
add esi, 0x38
or eax, 0xffffffff
call fcn.00410130
mov eax, dword [0x44600c]
mov eax, dword [eax + 0x38]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call edi
test eax, eax
je 0x4019da
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x38]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [0x44600c]
mov eax, dword [eax + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x401a11
mov esi, dword [0x44600c]
push str.C:Program_Fileswjplay
add esi, 0x38
or eax, 0xffffffff
call fcn.00410130
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x38]
push 0
push edx
call edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x20]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4c
call fcn.0041b77e
add esp, 4
pop edi
test eax, eax
je 0x401a49
lea ecx, [eax + 8]
mov dword [eax + 4], ecx
mov byte [ecx], 0
mov ecx, eax
jmp 0x401a4b
xor ecx, ecx
mov eax, dword [0x44600c]
mov edx, dword [eax + 0x20]
mov dword [eax + 0x88], ecx
mov dword [ecx], edx
mov ecx, dword [eax + 0x38]
mov esi, dword [eax + 0x88]
push ecx
add esi, 4
or eax, 0xffffffff
call fcn.00410130
push 0x18
call fcn.0041b77e
add esp, 4
test eax, eax
je 0x401a95
mov word [eax + 8], 0
mov dword [eax], vtable.ThreadCopy.0
mov dword [eax + 0x14], 0
mov esi, eax
jmp 0x401a97
xor esi, esi
mov eax, dword [0x44600c]
mov dword [eax + 0x84], esi
cmp byte [esi + 8], 0
jne 0x401ae1
mov edx, dword [eax + 0x88]
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x403d00
push 0
push 0
mov dword [esi + 0xc], edx
call fcn.0041b8c3
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x401ae1
cmp byte [esi + 9], 0
je 0x401add
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 8], 1
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x20]
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop ebp
ret
Function at 0x402400
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
call fcn.004025c0
mov eax, dword [0x44600c]
mov ecx, dword [eax + 8]
push ecx
call fcn.004024b0
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push 0
push 1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x402432
push 0
push eax
call edi
mov edx, dword [0x44600c]
mov eax, dword [edx + 4]
push eax
call fcn.004024b0
push eax
push 0
push 1
call esi
test eax, eax
je 0x402451
push 0
push eax
call edi
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x10]
push edx
call fcn.004024b0
push eax
push 0
push 1
call esi
test eax, eax
je 0x402470
push 0
push eax
call edi
push str.WujiPlayer.exe
call fcn.004024b0
push eax
push 0
push 1
call esi
test eax, eax
je 0x40248a
push 0
push eax
call edi
push 0x43a490
call fcn.004024b0
push eax
push 0
push 1
call esi
test eax, eax
je 0x4024a4
push 0
push eax
call edi
pop edi
pop esi
pop ecx
ret

Function at 0x4024b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2114
call fcn.00430560
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x110c]
push ecx
push 0x1000
lea edx, [ebp - 0x1108]
push edx
mov dword [ebp - 0x1110], eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x4024fd
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x110c]
push ebx
push esi
push edi
shr eax, 2
xor edi, edi
test eax, eax
jle 0x402584
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp + edi*4 - 0x1108]
push ecx
push 0
push 0x410
call ebx
lea edx, [ebp - 0x1114]
push edx
mov esi, eax
push 0x1000
lea eax, [ebp - 0x2114]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov edx, dword [ebp - 0x2114]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push edx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
mov eax, dword [ebp - 0x1110]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0041b5b0
add esp, 8
test eax, eax
jne 0x402599
mov edx, dword [ebp - 0x110c]
inc edi
shr edx, 2
cmp edi, edx
jl 0x402515
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + edi*4 - 0x1108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b429
mov esp, ebp
pop ebp
ret 4
Function at 0x4025c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402606
lea ecx, [ebp - 0x20]
push ecx
push 0x43a9dc
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x402616
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x402664
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0041b429
mov esp, ebp
pop ebp
ret

Function at 0x403d20
Capabilities:
Terminate thread

Disassembly:
cmp byte [esi + 8], 0
je 0x403d46
cmp byte [esi + 9], 0
jne 0x403d46
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 0x405bc0
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 0x43ab30
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.0041b0af
mov edi, eax
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.004233e0
mov eax, dword [ebp - 4]
push esi
push eax
push edi
call fcn.0041d910
mov esi, dword [ebp + 8]
add esp, 0x1c
push edi
or eax, 0xffffffff
call fcn.00410130
push edi
call fcn.0041bf03
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 0x405d70
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435456
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
mov edi, ecx
call fcn.004233e0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [edi + 0xcc]
lea edx, [ebp - 0x1a4]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], edx
mov byte [ebp - 0x1a4], 0
call fcn.00410130
lea edx, [ebp - 0x118]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x15c]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x160]
mov dword [ebp - 0x160], ecx
mov byte [ebp - 0x15c], 0
call fcn.00410130
mov eax, esi
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.004106d0
test al, al
je 0x405e5e
mov ecx, dword [edi + 0x110]
mov edx, dword [ebp - 0x160]
push 5
push 0x43a501
push ecx
push edx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add edi, 0x44
call fcn.00413650
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
cmp eax, ecx
je 0x405e77
push eax
call fcn.0041bdf1
add esp, 4
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x1a4]
cmp eax, edx
je 0x405e90
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43479b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4433ec]
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.0041b067
push 4
mov dword [ebp - 4], 0
call fcn.0041b77e
mov edi, eax
add esp, 4
test edi, edi
je 0x40836c
call fcn.0041af3f
mov dword [edi], eax
call fcn.0041acfe
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041b028
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408362
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041b050
jmp 0x40836e
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 0x40eae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4355d9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4433ec]
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], 0x43bb58
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.0040e520
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 0x43ff60
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.0041d3b2
int3

Function at 0x40ed30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4355d9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4433ec]
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], 0x43bb58
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.0040e710
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 0x43ffe8
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.0041d3b2
int3
Function at 0x40fdb0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4433ec]
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.004311ec
add esp, 8
lea ecx, [ebp - 0x418]
push ecx
push 0x4373ac
push 1
push 0
push 0x4373bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40ff19
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x41c]
push ecx
push 0x4373cc
push eax
call edx
test eax, eax
js 0x40ff0b
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test ebx, ebx
jne 0x40fe4f
mov edx, dword [0x445234]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
jmp 0x40fe56
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test esi, esi
je 0x40fe6b
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
jmp 0x40fe78
lea edx, [ebp - 0x20c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test edi, edi
je 0x40fe8d
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 0x40fea6
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 0x40fee1
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push 0x43a9bc
push ecx
call fcn.0041b9e0
add esp, 0x10
jmp 0x40ff6b
push 0x5c
test ebx, ebx
je 0x40feea
push ebx
jmp 0x40fef1
mov edx, dword [0x445234]
push edx
call fcn.0041c250
add esp, 8
test eax, eax
jne 0x40ff2c
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.0041b429
mov esp, ebp
pop ebp
ret 8
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push 0x43a9bc
push ecx
call fcn.0041b9e0
lea eax, [ebp - 0x108]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ff51
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.0041b429
mov esp, ebp
pop ebp
ret 8
Function at 0x410ce0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
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 0x410d2c
push 0x2e8
call fcn.0041b77e
add esp, 4
test eax, eax
je 0x410d16
push eax
call fcn.00401050
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [ebp + 8]
mov ecx, dword [0x44600c]
call fcn.00401270
xor eax, eax
pop ebp
ret 0x10

Function at 0x410d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4433ec]
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.004233e0
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410dea
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push ebx
push ecx
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410ddd
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 0x410df7
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 0x43a501
or eax, 0xffffffff
call fcn.00410130
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret
Function at 0x410e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x43a501
push esi
call fcn.0041ca41
add esp, 8
test eax, eax
je 0x410f7f
push 0x43a501
push edi
call fcn.0041ca41
add esp, 8
test eax, eax
je 0x410f7f
push 0x43a501
push ebx
call fcn.0041ca41
add esp, 8
test eax, eax
je 0x410f7f
push 0x43bbb0
push esi
call fcn.0041ca41
add esp, 8
test eax, eax
jne 0x410e81
mov esi, 0x80000002
jmp 0x410ee9
push 0x43bbb8
push esi
call fcn.0041ca41
add esp, 8
test eax, eax
jne 0x410e9a
mov esi, 0x80000000
jmp 0x410ee9
push 0x43bbc0
push esi
call fcn.0041ca41
add esp, 8
test eax, eax
jne 0x410eb3
mov esi, 0x80000001
jmp 0x410ee9
push str.HKUS
push esi
call fcn.0041ca41
add esp, 8
test eax, eax
jne 0x410ecc
mov esi, 0x80000003
jmp 0x410ee9
push 0x43bbd0
push esi
call fcn.0041ca41
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 0x80000005
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov dword [ebp - 0x10c], esi
mov byte [ebp - 0x108], 0
call fcn.004233e0
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410f7f
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push ebx
push ecx
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410f72
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret

Function at 0x411510
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x4c], 0
push esi
push edi
mov esi, eax
je 0x411524
push 0x10000000
jmp 0x411526
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x411559
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43a501
or eax, 0xffffffff
call fcn.00410130
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
jmp 0x4115a6
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 0x411589
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x411589
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41153a
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43a501
or eax, 0xffffffff
call fcn.00410130
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
je 0x4115b1
push eax
call fcn.0041bdf1
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x48
Function at 0x411a60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0xac]
call fcn.00402310
push 0x43bc54
lea eax, [ebp - 0xac]
call fcn.00410030
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x43bc60
push 0x43bc64
push str.appver
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esi + 4]
lea edx, [ebp - 0x68]
mov dword [esi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
call fcn.00410130
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x411ae0
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret

Function at 0x411b00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x43bc70
or eax, 0xffffffff
call fcn.00410130
lea ecx, [ebp - 0xac]
call fcn.00402310
push str.Datauser2.ini
lea eax, [ebp - 0xac]
call fcn.00410030
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x43bc70
push 0x43ab00
push 0x43ab00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x68]
push edx
or eax, 0xffffffff
call fcn.00410130
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x411b8d
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret

Function at 0x411ba0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push str.2000_01_01
or eax, 0xffffffff
call fcn.00410130
lea ecx, [ebp - 0xac]
call fcn.00402310
push str.Datauser2.ini
lea eax, [ebp - 0xac]
call fcn.00410030
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push str.2000_01_01
push str.SETUPDATE
push 0x43ab00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x68]
push edx
or eax, 0xffffffff
call fcn.00410130
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x411c2d
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret