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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
lea eax, [ebx + 4]
push edi
mov dword [ebx], eax
mov byte [eax], 0
push 0x4457f5
or eax, 0xffffffff
mov esi, ebx
call fcn.004137c0
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
push str.Software_
or eax, 0xffffffff
lea esi, [ebp - 0x1b0]
mov byte [ebp - 0x1ac], 0
call fcn.004137c0
push str.Bianya
mov eax, esi
call fcn.004136c0
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1b4]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4018b7
push 0x103
push eax
lea edx, [ebp - 0x10f]
push edx
mov byte [ebp - 0x110], al
call fcn.0042c010
mov edx, dword [ebp - 0x1b4]
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
push 0x44586c
push edx
mov dword [ebp - 0x1b8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4018aa
lea eax, [ebp - 0x110]
push eax
push 0x445870
mov edi, ebx
call fcn.00413cb0
add esp, 8
mov ecx, dword [ebp - 0x1b4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4018c0
sub eax, edx
test eax, eax
jg 0x4019d8
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x1b4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp - 0x1b4]
push ecx
push 0x20006
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4019d8
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x116]
movzx edx, word [ebp - 0x118]
push ecx
movzx ecx, word [ebp - 0x11e]
lea eax, [ebp - 0x164]
push edx
movzx edx, word [ebp - 0x120]
mov dword [ebp - 0x168], eax
movzx eax, word [ebp - 0x11a]
push eax
push ecx
push edx
push str.__d_02d_02d_02d_02d
lea edi, [ebp - 0x168]
mov byte [ebp - 0x164], 0
call fcn.00413cb0
mov edx, dword [ebp - 0x168]
mov eax, edx
add esp, 0x18
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401980
sub eax, esi
push eax
mov eax, dword [ebp - 0x1b4]
push edx
push 1
push 0
push 0x44586c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x1b4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x168]
push edx
or eax, 0xffffffff
mov esi, ebx
call fcn.004137c0
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
cmp eax, ecx
je 0x4019d8
push eax
call fcn.00423ad1
add esp, 4
mov edx, 0x4457f5
mov ecx, 0x445888
call fcn.004139b0
mov eax, dword [ebp - 0x1b0]
lea edx, [ebp - 0x1ac]
cmp eax, edx
je 0x401a00
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0042304b
mov esp, ebp
pop ebp
ret
Function at 0x402800
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00402a40
mov eax, dword [0x453434]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00402930
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push 0
push 1
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x402847
push 0
push eax
call ebx
mov edx, dword [0x453434]
mov eax, dword [edx + 8]
push eax
call fcn.00402930
push eax
push 0
push 1
call edi
test eax, eax
je 0x402866
push 0
push eax
call ebx
mov ecx, dword [0x453434]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00402930
push eax
push 0
push 1
call edi
test eax, eax
je 0x402885
push 0
push eax
call ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov byte [ebp - 0xa8], 0
call fcn.004137c0
push str.DataSysConfig.ini
mov eax, esi
call fcn.004136c0
push 0x64
lea edx, [ebp - 0x68]
push 0
push edx
call fcn.0042c010
mov eax, dword [ebp - 0xac]
add esp, 0xc
push eax
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push str.ByServer.exe
push str.RunSetup
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x68]
push edx
call fcn.00402930
push eax
push 0
push 1
call edi
test eax, eax
je 0x402901
push 0
push eax
call ebx
mov eax, dword [ebp - 0xac]
pop edi
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x40291d
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042304b
mov esp, ebp
pop ebp
ret

Function at 0x402930
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2114
call fcn.00438620
mov eax, dword [0x45066c]
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 0x40297d
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042304b
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 0x402a04
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.00423250
add esp, 8
test eax, eax
jne 0x402a19
mov edx, dword [ebp - 0x110c]
inc edi
shr edx, 2
cmp edi, edx
jl 0x402995
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042304b
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.0042304b
mov esp, ebp
pop ebp
ret 4
Function at 0x402a40
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x45066c]
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 0x402a86
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x402a96
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.0042304b
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 0x402ae4
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.0042304b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0042304b
mov esp, ebp
pop ebp
ret

Function at 0x404110
Capabilities:
Terminate thread

Disassembly:
cmp byte [esi + 8], 0
je 0x404136
cmp byte [esi + 9], 0
jne 0x404136
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 0x4060f0
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 0x445f00
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.00422bff
mov edi, eax
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.0042c010
mov eax, dword [ebp - 4]
push esi
push eax
push edi
call fcn.00426040
mov esi, dword [ebp + 8]
add esp, 0x1c
push edi
or eax, 0xffffffff
call fcn.004137c0
push edi
call fcn.00423be3
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 0x406290
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440076
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x45066c]
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.0042c010
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [edi + 0x110]
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.004137c0
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.004137c0
mov eax, esi
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.00413d60
test al, al
je 0x406386
mov ecx, dword [edi + 0x154]
mov edx, dword [ebp - 0x160]
push 5
push 0x4457f5
push ecx
push edx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [0x453434]
mov ecx, dword [eax + 0x38]
add edi, 0x44
call fcn.0041cd90
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
cmp eax, ecx
je 0x40639f
push eax
call fcn.00423ad1
add esp, 4
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x1a4]
cmp eax, edx
je 0x4063b8
push eax
call fcn.00423ad1
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.0042304b
mov esp, ebp
pop ebp
ret
Function at 0x408dd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f99b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45066c]
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.00422bb7
push 4
mov dword [ebp - 4], 0
call fcn.00423460
mov edi, eax
add esp, 4
test edi, edi
je 0x408e4c
call fcn.00422a8f
mov dword [edi], eax
call fcn.0042284e
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00422b78
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408e42
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00422ba0
jmp 0x408e4e
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 0x4116b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4402d9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x45066c]
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], 0x446ebc
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.004110f0
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 0x44c788
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.00425ae2
int3
Function at 0x411900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4402d9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x45066c]
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], 0x446ebc
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.004112e0
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 0x44c810
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.00425ae2
int3
Function at 0x413440
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x45066c]
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.0043c0bc
add esp, 8
lea ecx, [ebp - 0x418]
push ecx
push 0x4423bc
push 1
push 0
push 0x4423cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4135a9
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x41c]
push ecx
push 0x4423dc
push eax
call edx
test eax, eax
js 0x41359b
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test ebx, ebx
jne 0x4134df
mov edx, dword [0x452654]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
jmp 0x4134e6
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test esi, esi
je 0x4134fb
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
jmp 0x413508
lea edx, [ebp - 0x20c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test edi, edi
je 0x41351d
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 0x413536
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 0x413571
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.004236c2
add esp, 0x10
jmp 0x4135fb
push 0x5c
test ebx, ebx
je 0x41357a
push ebx
jmp 0x413581
mov edx, dword [0x452654]
push edx
call fcn.00423f30
add esp, 8
test eax, eax
jne 0x4135bc
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.0042304b
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.004236c2
lea eax, [ebp - 0x108]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4135e1
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.0042304b
mov esp, ebp
pop ebp
ret 8
Function at 0x414370
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 0x4143bf
push 0x2ec
call fcn.00423460
add esp, 4
test eax, eax
je 0x4143a9
push edi
mov edi, eax
call fcn.00401050
pop edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [ebp + 8]
mov ecx, dword [0x453434]
call fcn.00401380
xor eax, eax
pop ebp
ret 0x10

Function at 0x414be0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x4c], 0
push esi
push edi
mov esi, eax
je 0x414bf4
push 0x10000000
jmp 0x414bf6
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x414c29
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x4457f5
or eax, 0xffffffff
call fcn.004137c0
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
jmp 0x414c76
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 0x414c59
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x414c59
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x414c0a
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x4457f5
or eax, 0xffffffff
call fcn.004137c0
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
je 0x414c81
push eax
call fcn.00423ad1
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x48

Function at 0x415130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45066c]
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.004137c0
push str.client.ini
mov eax, esi
call fcn.004136c0
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x445efc
push 0x447010
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.004137c0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
cmp eax, ecx
je 0x4151c9
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042304b
mov esp, ebp
pop ebp
ret 4
Function at 0x4151e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45066c]
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 0x44701c
or eax, 0xffffffff
mov esi, edi
mov ebx, ecx
call fcn.004137c0
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.004137c0
push str.Datauser2.ini
mov eax, esi
call fcn.004136c0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push 0x44701c
push 0x445ed4
push 0x445ed4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004137c0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x415289
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042304b
mov esp, ebp
pop ebp
ret

Function at 0x4152a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45066c]
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.004137c0
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.004137c0
push str.Datauser2.ini
mov eax, esi
call fcn.004136c0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push str.2000_01_01
push str.SETUPDATE
push 0x445ed4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004137c0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x415349
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042304b
mov esp, ebp
pop ebp
ret

Function at 0x415360
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45066c]
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.004137c0
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.004137c0
push str.Datauser2.ini
mov eax, esi
call fcn.004136c0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push str.20010101
push str.PUBLICDATE
push 0x445ed4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004137c0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x415409
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042304b
mov esp, ebp
pop ebp
ret