joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005c668
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
mov ebx, eax
call edi
test eax, eax
je 0x1005c692
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x1005c74a
push 0
push dword [esi + 4]
call edi
cmp eax, 0x80
jne 0x1005c6a9
mov dword [esi + 0x48], 0x2734
jmp 0x1005c68b
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
and dword [ebx], 0
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x1005c707
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x1005c73c
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1005c73f
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x1005c736
mov bl, 1
jmp 0x1005c741
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop edi
pop ebx
leave
ret 4

Function at 0x10060d36
Capabilities:
Read data from internet
Receive data

Disassembly:
push dword [esp + 0x10]
mov eax, dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
ret 0x10
Function at 0x10060da1
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
push edi
mov edi, eax
xor ebp, ebp
cmp dword [edi + 0x34fc], ebp
je 0x10060db6
xor eax, eax
jmp 0x10060e53
mov edx, dword [edi + 0x2480]
mov eax, dword [edx - 0xc]
mov ecx, eax
neg ecx
sbb ecx, ecx
push ebp
and ecx, edx
neg eax
push ebp
sbb eax, eax
push ecx
and eax, 3
push eax
push str.VCSoapClient
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x34f8], eax
cmp eax, ebp
je 0x10060e49
push ebx
lea ebx, [edi + 0x2484]
cmp dword [ebx], ebp
je 0x10060e1c
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push ebx
push 2
push eax
call esi
push 4
push ebx
push 6
push dword [edi + 0x34f8]
call esi
push 4
push ebx
push 5
push dword [edi + 0x34f8]
call esi
pop esi
movzx eax, word [edi + 0x2450]
push ebp
push ebp
push 3
push ebp
push ebp
push eax
lea eax, [edi + 0x46]
push eax
push dword [edi + 0x34f8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0x34fc], eax
pop ebx
cmp eax, ebp
jne 0x10060daf
call fcn.10060d60
mov eax, 0x80004005
pop edi
pop ebp
ret
Function at 0x10061095
Capabilities:
Send data
Send http request

Disassembly:
push 0xc
mov eax, 0x10072b91
call fcn.1006c26d
mov esi, ecx
mov eax, esi
call fcn.10060da1
test eax, eax
je 0x100610c2
mov dword [esi + 0x34f4], 4
mov eax, 0x80004005
jmp 0x10061222
lea ecx, [ebp - 0x14]
call dword [0x10085f84]
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Append_1]
push str.Content_Type:_text_xml__charsetutf_8_r_n
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Append_1]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x2454]
mov ecx, dword [esi + 0x2494]
sub eax, 3
neg eax
sbb eax, eax
push edi
and eax, 0xff800000
add eax, 0x800000
or eax, 0x400200
push eax
push 0x100d22d4
push edi
push str.HTTP_1.0
push ecx
push str.POST
push dword [esi + 0x34fc]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x3500], eax
cmp eax, edi
je 0x100611f6
mov ecx, dword [esi + 0x2474]
mov edx, dword [ecx - 0xc]
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi - 0xc]
push edx
push ecx
push ebx
push edi
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x10061200
mov eax, dword [esi + 0x3500]
push esi
mov dword [esi + 0x247c], eax
call fcn.10061308
cmp eax, 0x1f4
je 0x1006118b
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
jmp 0x10061222
and dword [ebp + 8], 0
mov dword [esi + 0x34f4], 7
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jl 0x100611e3
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
lea edi, [esi + 0x2478]
push edi
lea ecx, [esi + 0x3504]
mov dword [ebp - 0x18], edi
call fcn.1005df23
test eax, eax
jge 0x100611d5
mov dword [esi + 0x34f4], 8
mov byte [ebp - 4], 3
test edi, edi
je 0x100611e3
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x10061200
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10061200
mov dword [esi + 0x34f4], 5
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x100610b8
call fcn.1006c312
ret 4
Function at 0x10068abb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push 0
push str.ProxyServer
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10068b21
cmp dword [ebp + 8], 1
je 0x10068af9
cmp dword [ebp + 8], 2
je 0x10068af9
push 0xd
pop eax
jmp 0x10068b21
mov eax, dword [ebp - 4]
test edi, edi
je 0x10068b1b
test eax, eax
je 0x10068b16
test al, 1
jne 0x10068af4
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x10068b1b
jmp 0x10068af4
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 4

Function at 0x1006b19e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100ce038]
jne 0x1006b1a8
repz ret
jmp fcn.1006b80c
Function at 0x401700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40171b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401752
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40174e
jmp 0x401740
cmp esi, eax
jae 0x401752
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401740
cmp esi, eax
jb 0x401759
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401e10
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485993
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b91d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.MessageLoop.0
mov dword [esi + 4], 1
lea edi, [esi + 0xc]
push 8
mov dword [edi], ebx
call fcn.004656ee
add esp, 4
cmp eax, ebx
je 0x401f78
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x3c]
push 8
mov dword [edi], ebx
call fcn.004656ee
add esp, 4
cmp eax, ebx
je 0x401f54
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea eax, [esi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
mov dword [esi + 0x6c], ebx
mov edx, dword [0x4c3344]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esi + 4], 1
jne 0x401f0d
push 0x1c
call fcn.004656ee
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x401f06
push eax
call fcn.004034f0
mov dword [esi + 8], eax
jmp 0x401f3e
xor eax, eax
mov dword [esi + 8], eax
jmp 0x401f3e
push 0x10
call fcn.004656ee
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x401f39
push ebx
push ebx
push ebx
push ebx
mov dword [edi], vtable.MessagePumpDefault.0
mov byte [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
jmp 0x401f3b
xor edi, edi
mov dword [esi + 8], edi
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
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004659d5
push 0x4ab1e4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00468e3e
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.004659d5
push 0x4ab1e4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00468e3e
int3
Function at 0x403ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c688
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4b91d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x4c3350
mov byte [ebp - 0x10], bl
call fcn.004043d0
mov dword [ebp - 4], ebx
mov eax, dword [0x4c3238]
cmp eax, ebx
jne 0x403f52
push 0x18
call fcn.004656ee
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x403f4b
push ebx
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 1
push ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x403db0
push ebx
push ebx
mov dword [esi + 4], eax
call fcn.004660b2
mov dword [esi], eax
add esp, 0x18
mov eax, esi
jmp 0x403f4d
xor eax, eax
mov dword [0x4c3238], eax
mov dword [ebp - 4], 0xffffffff
mov esi, eax
cmp byte [ebp - 0x10], bl
je 0x403f93
mov eax, dword [ebp - 0x14]
mov ecx, 0x80000000
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x403f93
cmp ecx, 0x80000000
jle 0x403f93
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x403f93
call fcn.00405f80
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4866b0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b91d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00465a5a
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00406080
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x4047d2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x404da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486c18
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4b91d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00465a5a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.00406080
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.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 0x4051a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486678
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b91d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00465a5a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.00406080
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.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 0x4057c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486580
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b91d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00465a5a
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00406080
mov dword [esi], vtable.boost::thread_resource_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x405852
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x406c00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489236
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4b91d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
lea edi, [esi + 4]
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004015c0
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x14], ebx
push edi
mov ebx, 0x49b210
mov edi, str.SoftwareFunshionFunshion
mov ecx, 0x80000002
call fcn.00412ec0
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esi], eax
mov esi, 0x28
lea edi, [ebp + 0xc]
call fcn.00409350
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
cmp eax, 0xffffffff
je 0x406cac
test al, 0x10
jne 0x406cac
lea eax, [esi - 0x27]
jmp 0x406cae
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406cd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x25
lea edi, [ebp + 0xc]
call fcn.00409350
mov eax, dword [eax]
push eax
call ebx
cmp eax, 0xffffffff
je 0x406cf3
test al, 0x10
jne 0x406cf3
lea eax, [esi - 0x24]
jmp 0x406cf5
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00406d40
mov dword [esi + 0x14], eax
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 8
Function at 0x4071a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push str.funshion_install_global_instance_event_name
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
cmp eax, 0xb7
je 0x4071de
push str.1009
push 0
push 0
call esi
mov ebx, eax
call edi
cmp eax, 0xb7
jne 0x407259
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
jne 0x407209
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
push 0x491c90
mov byte [sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp], 0
mov byte [0x4c38be], 0
call fcn.00465698
add esp, 4
mov esi, sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp
call fcn.0040f400
test al, al
je 0x407237
mov edi, dword [ebp + 8]
mov eax, 0x4c3398
call fcn.00404ef0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x1d
push str.The_Installation_is_existing.
call fcn.00401b20
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x407270
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ac58
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b91d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov ebx, str.Install_Path
mov edi, str.SoftwareFunshionFunshion
mov ecx, 0x80000002
mov dword [ebp - 4], 0
call fcn.00412ec0
lea ecx, [ebp - 0x14]
push 0x4c33a4
push ecx
lea ebx, [ebp - 0x10]
call fcn.00407790
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x4072f9
test al, 0x10
jne 0x4072f9
lea esi, [ebx + 2]
jmp 0x4072fb
xor esi, esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407319
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4073b0
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
jne 0x40734c
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_51], 1
push 0x491c90
mov byte [sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp], 0
mov byte [0x4c38be], 0
call fcn.00465698
add esp, 4
mov esi, sym.Install.exe__t__1__get_instance___singleton_VCFpSysLanguage___serialization_boost__CAAAVCFpSysLanguage__XZ_4V__singleton_wrapp
call fcn.0040f400
test al, al
je 0x407369
mov edi, dword [ebp + 8]
mov eax, 0x4c339c
call fcn.00404ef0
jmp 0x407378
mov ecx, dword [ebp + 8]
push 0x1f
push str.The_existing_version_is_higher.
call fcn.00401b20
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x407397
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4073cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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