joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447ca0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea ecx, [ebp - 4]
push ecx
lea esi, [eax + 0x48]
mov eax, dword [eax + 0x3c]
lea edx, [ebp - 8]
push edx
push esi
push 0x20000013
push eax
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0
mov dword [esi], 0x194
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov esi, dword [esi]
cmp esi, 0xc8
je 0x447cef
cmp esi, 0x130
je 0x447cef
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x447d00
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46beb8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4921d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x447d50
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040be40
mov edx, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004472b0
test al, al
sete byte [ebp - 0x2d]
cmp dword [ebp - 0x18], 8
jb 0x447d91
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0044b960
add esp, 4
cmp byte [ebp - 0x2d], 0
jne 0x447dde
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x34]
push ecx
mov dword [edi + 0x40], eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov edx, dword [ebp - 0x34]
and dl, 4
sub dl, 4
movzx eax, dl
push 0
neg eax
push 0
sbb eax, eax
push 0
and eax, 4
push eax
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.2__.NET_CLR_1.1.4322__.NET_CLR_2.0.50727_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [edi + 0x38], eax
test eax, eax
jne 0x447de2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x4c], eax
xor al, al
jmp 0x447de9
call fcn.00447e10
mov al, 1
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.0044b96b
mov esp, ebp
pop ebp
ret 8
Function at 0x447eb0
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push esi
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
xor esi, esi
push 0x20000013
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 8
mov dword [ebp - 4], esi
call ebx
test eax, eax
je 0x447f3a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp ecx, 0xc8
jne 0x447efa
cmp eax, esi
je 0x447f06
cmp ecx, 0x12e
jne 0x447f3a
cmp eax, esi
jne 0x447f3a
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x20000005
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 8
mov dword [ebp - 4], esi
call ebx
test eax, eax
je 0x447f3a
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
or edx, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a4e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4921d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [edx]
push edi
mov edi, dword [ebp + 8]
xor edx, edx
push 0x206
mov dword [ebp - 0x214], eax
push edx
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x210], ecx
mov word [ebp - 0x20c], dx
call fcn.0044f3f0
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx]
mov ebx, dword [ebx]
mov edi, dword [edi]
add esp, 0xc
push esi
push 0x104
lea edx, [ebp - 0x20c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [ebp - 0x20c]
lea ecx, [eax + 2]
jmp 0x44a560
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x44a560
sub eax, ecx
mov ecx, dword [ebp - 0x210]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401b60
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044b96b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470388
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4921d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
lea ebx, [esi + 4]
push ecx
mov dword [esp + 0x30], 0
call fcn.00407390
add esp, 8
lea edi, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.00404aa0
xor bl, bl
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44a62c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.004015f0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], 2
call fcn.004039c0
add esp, 4
push eax
mov byte [esp + 0x30], bl
call fcn.00403b70
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a684
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b96b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4921d0]
jne 0x44b975
repz ret
jmp fcn.00453941
Function at 0x45e868
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4921d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00455970
and dword [ebp - 0x14], 0
cmp dword [0x496868], 0
mov dword [ebp - 0x18], eax
jne 0x45e91b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45e9c3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x479c4c
push ebx
call edi
test eax, eax
je 0x45e9c3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x496868], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49686c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x496870], eax
call edi
push eax
call esi
mov dword [0x496878], eax
test eax, eax
je 0x45e91b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x496874], eax
mov eax, dword [0x496874]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45e974
cmp dword [0x496878], ecx
je 0x45e974
push eax
call esi
push dword [0x496878]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45e974
test ebx, ebx
je 0x45e974
call edi
test eax, eax
je 0x45e96b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45e96b
test byte [ebp - 8], 1
jne 0x45e974
or dword [ebp + 0x10], 0x200000
jmp 0x45e9a7
mov eax, dword [0x49686c]
cmp eax, dword [ebp - 0x18]
je 0x45e9a7
push eax
call esi
test eax, eax
je 0x45e9a7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45e9a7
mov eax, dword [0x496870]
cmp eax, dword [ebp - 0x18]
je 0x45e9a7
push eax
call esi
test eax, eax
je 0x45e9a7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x496868]
call esi
test eax, eax
je 0x45e9c3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45e9c5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044b96b
leave
ret
Function at 0x4660f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4695a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4921d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [0x4936bc]
cmp eax, 0xffffffff
jne 0x466130
xor esi, esi
jmp 0x466139
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x18], esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x58], 0
test esi, esi
je 0x46618d
nop
cmp dword [esi + 0x14], 0
jne 0x4661da
cmp dword [esi + 0x10], 0
jne 0x4661e0
push 0x465760
push 0x496894
call fcn.004659e0
mov eax, dword [0x4936bc]
add esp, 8
cmp eax, 0xffffffff
je 0x466291
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x58], 0xffffffff
test esi, esi
je 0x4661bb
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4661bb
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0044b96b
add esp, 0x48
ret
cmp dword [esi + 0x10], 0
je 0x466222
mov ebp, dword [esi + 0x10]
mov eax, dword [ebp + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp]
test ecx, ecx
je 0x466210
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp dword [esi + 0x10], 0
jne 0x4661e0
cmp dword [esi + 0x14], 0
je 0x46615a
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x466247
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebp, dword [edi + 8]
test ebp, ebp
je 0x46627a
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46627a
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
lea ecx, [ebp + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46627a
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
cmp dword [esi + 0x14], 0
jne 0x46622c
jmp 0x466150
call fcn.004670a0
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
mov edi, 0xb
mov dword [esp + 0x18], str.boost::thread_resource_error
call fcn.0044bf4d
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x1c], vtable.boost::thread_resource_error.0
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x5c], 1
call fcn.004055e0
int3
Function at 0x4663e0
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x469608
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4921d0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebp
push esi
push edi
mov eax, dword [0x4921d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x4662f0
push 0
push 0
call fcn.0044c622
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x466482
call fcn.004670a0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov esi, eax
lea edi, [ebp + 0xb]
mov dword [esp + 0x14], str.boost::thread_resource_error
call fcn.0044bf4d
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
mov dword [esp + 0x14], vtable.boost::thread_resource_error.0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x54], ebp
call fcn.004055e0
mov ecx, dword [esi]
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x4664a5
cmp eax, 0xffffffff
je 0x4664a5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebp
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0044b96b
add esp, 0x44
ret
Function at 0x405d9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4c7b94
call fcn.00496d8d
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x405e18
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x405e18
call fcn.00405237
mov esi, eax
jmp 0x405eef
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x405e3b
call fcn.00405237
jmp 0x405ee2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x405e31
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x405e6b
mov esi, 0x8007000e
jmp 0x405ee4
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00405079
jmp 0x405e91
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x405e64
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x405e31
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00405c62
mov esi, eax
test edi, edi
je 0x405eef
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x405f08
lea ecx, [ebp - 0x418]
call fcn.004054aa
mov eax, esi
call fcn.00496cda
ret 0x10
Function at 0x4065f9
Capabilities:
Check mutex on windows

Disassembly:
push 0x94
mov eax, 0x4c7c05
call fcn.00496d1f
push str.3547BEAD_295D_47CF_B39F_00A08139710E
push 1
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4066fe
lea ecx, [ebp - 0x9c]
call fcn.0040231b
sub esp, 0x18
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x9c]
mov ecx, esp
mov dword [0x510200], eax
push str.chrome.dll
call fcn.004022ea
lea eax, [ebp - 0x28]
push eax
call fcn.00426782
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x406667
mov eax, dword [eax]
push eax
call fcn.0042ce2c
pop ecx
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00404061
test esi, esi
je 0x4066f3
push 8
push ebx
sub esp, 0x18
mov ecx, esp
push str.chrome.dll
call fcn.004022ea
lea eax, [ebp - 0x28]
push eax
call fcn.00426782
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x4066a2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00404061
test esi, esi
je 0x4066f3
push str.ChromeShell
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4066e4
push ebx
push ebx
push 0x10
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x9c]
call fcn.0040254d
jmp 0x406705
push 0x50fde8
push dword [0x510204]
call eax
pop ecx
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.0040254d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00496cc9
ret

Function at 0x406893
Capabilities:
Check mutex on windows

Disassembly:
push 0x38
mov eax, 0x4c7c8a
call fcn.00496d1f
push 0x4d32f4
lea ecx, [ebp - 0x28]
call fcn.00402297
lea eax, [ebp - 0x28]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00438060
mov ecx, eax
call fcn.00438480
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.0040403b
test bl, bl
je 0x406915
push str.C0F5BB55_1F81_4D47_9D17_5EE51D4A61A6
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40695f
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 0x35e6
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.0042ded7
lea ecx, [ebp - 0x20]
call fcn.00406ffd
jmp 0x40695f
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], esi
push eax
push str.mini_stop_app_http_server
push str.Software360360se6chrome
push reloc.WS2_32.dll_accept
call fcn.004276d0
add esp, 0x10
cmp dword [ebp - 0x44], 1
je 0x40695f
push str.__ws
lea ecx, [ebp - 0x40]
call fcn.004022ea
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
call fcn.004282e0
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00404061
call fcn.00496cc9
ret
Function at 0x40aace
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x4c8075
call fcn.00496d1f
mov edi, ecx
lea eax, [ebp - 0x58]
push eax
call fcn.00426dcd
mov dword [esp], 0x4d3930
xor ebx, ebx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.00401c6d
push 0x4d3ca4
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00401c6d
add esp, 0x18
lea ecx, [ebp - 0x40]
call fcn.00404061
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00404061
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40abb8
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40ab52
call fcn.0045963c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40abb8
push 0x558
call fcn.004969e8
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x40ab71
mov ecx, eax
call fcn.0041dcae
jmp 0x40ab73
mov eax, ebx
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 4
mov dword [edi + 8], eax
test ecx, ecx
je 0x40ab8b
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov eax, dword [edi + 8]
test eax, eax
je 0x40abb8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [edi + 8]
mov esi, eax
push ebx
push ebx
push ebx
mov edx, dword [edi]
mov ecx, edi
push ebx
push ebx
push 0x80
push 0x86000000
call dword [edx]
push eax
push esi
mov ecx, edi
call fcn.0045fb3e
lea ecx, [ebp - 0x28]
call fcn.00404061
call fcn.00496cc9
ret

Function at 0x40fa36
Capabilities:
Create process on windows

Disassembly:
push 0x240
mov eax, 0x4c86a0
call fcn.00496d1f
push str.IsWow64Process
xor edi, edi
push 0x4d357c
mov dword [ebp - 0x24c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40fa7a
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
lea eax, [ebp - 0x230]
push eax
call fcn.004268d5
mov dword [esp], 0x208
lea eax, [ebp - 0x218]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0049f230
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x4d2db0
lea eax, [ebp - 0x218]
push 0x103
push eax
call fcn.00404609
add esp, 0x1c
lea eax, [ebp - 0x218]
cmp dword [ebp - 0x24c], 0
je 0x40fb20
push str.Netmproxy64.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004022ea
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.0042b8f7
mov ecx, eax
call fcn.0042b716
lea ecx, [ebp - 0x248]
mov bl, al
call fcn.00404061
test bl, bl
jmp 0x40fb3b
push str.Netmproxy.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.0042ce2c
pop ecx
test eax, eax
je 0x40fb54
push 1
push edi
push str._typeInstall
lea eax, [ebp - 0x218]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x230]
call fcn.00404061
call fcn.00496cc9
ret
Function at 0x410d2f
Capabilities:
Query or enumerate registry value

Disassembly:
call fcn.0041f0d6
mov ecx, eax
jmp fcn.0041f15e
Function at 0x42ded7
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x50c7b4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1b4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42df98
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 1
push 2
pop esi
push esi
call dword [sym.imp.WS2_32.dll_socket]
push str.127.0.0.1
mov edi, eax
mov word [ebp - 0x14], si
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
pop esi
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push esi
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
push 0xa
push edi
call dword [sym.imp.WS2_32.dll_listen]
mov dword [ebp - 0x1b8], esi
mov esi, ebx
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WS2_32.dll_accept]
cmp eax, 0xffffffff
je 0x42df8b
push ebx
push ebx
push eax
push 0x42d913
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42df8c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42df8c
inc esi
cmp esi, 0xa
jle 0x42df57
pop edi
pop esi
xor eax, eax
pop ebx
jmp 0x42df9b
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496ca3
leave
ret 4

Function at 0x42dfa9
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0x84c
mov eax, 0x4cb254
call fcn.00496d1f
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x810]
mov esi, 0x800
xor ebx, ebx
push esi
push ebx
push eax
call fcn.0049f230
add esp, 0xc
lea eax, [ebp - 0x810]
push ebx
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00402297
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x848], ebx
je 0x42e0cc
push ebx
push 0x4d37e8
lea ecx, [ebp - 0x858]
call fcn.004152bf
cmp eax, 0xffffffff
je 0x42e0cc
push eax
push ebx
lea eax, [ebp - 0x858]
mov dword [ebp - 0x818], ebx
push eax
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], bl
call fcn.00414c19
push ebx
push 0x4d77bc
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 1
call fcn.004152bf
mov esi, eax
cmp esi, 0xffffffff
je 0x42e0c1
add esi, 2
lea ecx, [ebp - 0x828]
push esi
push 0x4d77c0
call fcn.004152bf
sub eax, esi
mov dword [ebp - 0x830], ebx
push eax
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x82c], 0xf
push eax
lea ecx, [ebp - 0x840]
mov byte [ebp - 0x840], bl
call fcn.00414c19
lea eax, [ebp - 0x840]
mov ecx, edi
push eax
call fcn.004025a4
lea ecx, [ebp - 0x840]
call fcn.0040403b
mov bl, 1
lea ecx, [ebp - 0x828]
call fcn.0040403b
lea ecx, [ebp - 0x858]
call fcn.0040403b
mov al, bl
call fcn.00496cc9
ret