joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c40
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2114
call fcn.004390f0
mov eax, dword [0x45166c]
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 0x402c8d
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042396b
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 0x402d14
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.00423b70
add esp, 8
test eax, eax
jne 0x402d29
mov edx, dword [ebp - 0x110c]
inc edi
shr edx, 2
cmp edi, edx
jl 0x402ca5
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042396b
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.0042396b
mov esp, ebp
pop ebp
ret 4

Function at 0x402d50
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x45166c]
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 0x402d96
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x402da6
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.0042396b
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 0x402df4
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.0042396b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x4035c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x45166c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x454434]
cmp byte [eax], 0
push esi
push edi
je 0x403644
sub esp, 0x44
mov esi, esp
lea eax, [esi + 4]
mov dword [ebp - 0x4c], esp
mov dword [esi], eax
mov byte [eax], 0
push str.http:__tongji.bianya.cc_popup.ashx_type0
or eax, 0xffffffff
call fcn.00413e70
lea edi, [ebp - 0x48]
call fcn.00403660
mov esi, dword [ebp - 0x48]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403610
sub eax, edx
test eax, eax
jle 0x403634
push 3
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
cmp esi, ecx
je 0x403644
push esi
call fcn.004244b1
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x403660
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19054
call fcn.004390f0
mov eax, dword [0x45166c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
jne 0x4036cf
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
push 0x4468c1
or eax, 0xffffffff
mov esi, edi
call fcn.00413e70
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
je 0x403836
push eax
call fcn.004244b1
add esp, 4
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042396b
mov esp, ebp
pop ebp
ret 0x44
mov edx, dword [ebp + 8]
push ebx
push 0
push 0x102
push 0
push 0
push edx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
jne 0x4036f8
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40380b
push 0
lea edx, [ebp - 0x19054]
push edx
lea eax, [ebp - 0x19050]
push eax
push 0x20000013
push ebx
mov dword [ebp - 0x19054], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x19050], 0x190
jae 0x40380b
push 0x19000
lea edx, [ebp - 0x19004]
push 0
push edx
mov dword [ebp - 0x1904c], 0
call fcn.0042cae0
add esp, 0xc
lea eax, [ebp - 0x1904c]
push eax
push 0x19000
lea ecx, [ebp - 0x19004]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4037f9
mov eax, dword [ebp - 0x1904c]
test eax, eax
je 0x4037f9
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp + eax - 0x19004], 0
call ebx
push esi
call ebx
lea eax, [ebp - 0x19004]
lea edx, [ebp - 0x19044]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x19048]
mov dword [ebp - 0x19048], edx
mov byte [ebp - 0x19044], 0
call fcn.00413e70
push 0x19000
lea ecx, [ebp - 0x19004]
push 0
push ecx
call fcn.0042cae0
add esp, 0xc
mov edx, esi
push edx
mov eax, edi
call fcn.00413d20
mov eax, dword [ebp - 0x19048]
lea ecx, [ebp - 0x19044]
cmp eax, ecx
je 0x4037ef
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
jmp 0x40382a
push str.zengjiedeweizhi
push 0x446f84
call fcn.00423cef
add esp, 8
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
push 0x4468c1
or eax, 0xffffffff
mov esi, edi
call fcn.00413e70
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
je 0x403835
push eax
call fcn.004244b1
add esp, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0042396b
mov esp, ebp
pop ebp
ret 0x44
Function at 0x403850
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44050b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x45166c]
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 0x403971
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 0x403971
push eax
call fcn.00422f2f
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 0x403968
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x15c]
push edx
push 0x4468f4
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x403968
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.00414360
push ebx
call fcn.00423dcd
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
mov eax, dword [ebp - 0x158]
add esp, 0x18
push eax
jmp 0x403980
push ebx
call fcn.00423dcd
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.00413e70
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
cmp eax, ecx
je 0x4039a1
push eax
call fcn.004244b1
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.0042396b
mov esp, ebp
pop ebp
ret

Function at 0x404820
Capabilities:
Terminate thread

Disassembly:
cmp byte [esi + 8], 0
je 0x404846
cmp byte [esi + 9], 0
jne 0x404846
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 0x406790
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 0x447098
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.00422f2f
mov edi, eax
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.0042cae0
mov eax, dword [ebp - 4]
push esi
push eax
push edi
call fcn.00426a40
mov esi, dword [ebp + 8]
add esp, 0x1c
push edi
or eax, 0xffffffff
call fcn.00413e70
push edi
call fcn.004245c3
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 0x406930
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440c46
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x45166c]
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.0042cae0
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.00413e70
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.00413e70
mov eax, esi
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.00414410
test al, al
je 0x406a26
mov ecx, dword [edi + 0x154]
mov edx, dword [ebp - 0x160]
push 5
push 0x4468c1
push ecx
push edx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [0x454434]
mov ecx, dword [eax + 0x38]
add edi, 0x44
call fcn.0041d630
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
cmp eax, ecx
je 0x406a3f
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x1a4]
cmp eax, edx
je 0x406a58
push eax
call fcn.004244b1
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.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x409450
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4404bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45166c]
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.004234e2
push 4
mov dword [ebp - 4], 0
call fcn.00423e3d
mov edi, eax
add esp, 4
test edi, edi
je 0x4094cc
call fcn.004233ba
mov dword [edi], eax
call fcn.00423179
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004234a3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4094c2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004234cb
jmp 0x4094ce
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 0x411d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440ea9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x45166c]
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], 0x44804c
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.004117a0
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 0x44d948
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.004264e2
int3
Function at 0x411fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440ea9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x45166c]
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], 0x44804c
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.00411990
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 0x44d9d0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.004264e2
int3
Function at 0x413af0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x45166c]
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.0043cbcc
add esp, 8
lea ecx, [ebp - 0x418]
push ecx
push 0x4433cc
push 1
push 0
push 0x4433dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x413c59
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x41c]
push ecx
push 0x4433ec
push eax
call edx
test eax, eax
js 0x413c4b
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test ebx, ebx
jne 0x413b8f
mov edx, dword [0x453658]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
jmp 0x413b96
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test esi, esi
je 0x413bab
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
jmp 0x413bb8
lea edx, [ebp - 0x20c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test edi, edi
je 0x413bcd
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 0x413be6
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 0x413c21
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0042409f
add esp, 0x10
jmp 0x413cab
push 0x5c
test ebx, ebx
je 0x413c2a
push ebx
jmp 0x413c31
mov edx, dword [0x453658]
push edx
call fcn.00424910
add esp, 8
test eax, eax
jne 0x413c6c
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.0042396b
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.0042409f
lea eax, [ebp - 0x108]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413c91
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.0042396b
mov esp, ebp
pop ebp
ret 8
Function at 0x414a20
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 0x414a6f
push 0x2ec
call fcn.00423e3d
add esp, 4
test eax, eax
je 0x414a59
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 [0x454434]
call fcn.00401380
xor eax, eax
pop ebp
ret 0x10

Function at 0x414a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x45166c]
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.0042cae0
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 0x414b32
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 0x414b25
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 0x414b3f
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 0x4468c1
or eax, 0xffffffff
call fcn.00413e70
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042396b
mov esp, ebp
pop ebp
ret

Function at 0x415370
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x4c], 0
push esi
push edi
mov esi, eax
je 0x415384
push 0x10000000
jmp 0x415386
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x4153b9
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x4468c1
or eax, 0xffffffff
call fcn.00413e70
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
jmp 0x415406
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 0x4153e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4153e9
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41539a
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x4468c1
or eax, 0xffffffff
call fcn.00413e70
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
je 0x415411
push eax
call fcn.004244b1
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x48
Function at 0x4158c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45166c]
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.00413e70
push str.client.ini
mov eax, esi
call fcn.00413d70
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x447094
push 0x44819c
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.00413e70
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
cmp eax, ecx
je 0x415959
push eax
call fcn.004244b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042396b
mov esp, ebp
pop ebp
ret 4

Function at 0x415970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45166c]
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 0x4481a8
or eax, 0xffffffff
mov esi, edi
mov ebx, ecx
call fcn.00413e70
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.00413e70
push str.Datauser2.ini
mov eax, esi
call fcn.00413d70
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push 0x4481a8
push 0x44706c
push 0x44706c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.00413e70
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x415a19
push eax
call fcn.004244b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042396b
mov esp, ebp
pop ebp
ret

Function at 0x415a30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45166c]
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.00413e70
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.00413e70
push str.Datauser2.ini
mov eax, esi
call fcn.00413d70
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push str.2000_01_01
push str.SETUPDATE
push 0x44706c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.00413e70
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x415ad9
push eax
call fcn.004244b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042396b
mov esp, ebp
pop ebp
ret