joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4109b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x461878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 4]
push ecx
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x410a4b
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.004092c0
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov eax, dword [esi + 0x7c]
push ebp
cmp eax, ebx
push edi
je 0x410ab5
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x84], eax
push eax
mov eax, dword [esi + 0x80]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, eax
push edi
call ebp
test eax, eax
je 0x410aab
xor edi, edi
cmp edi, ebx
mov dword [esi + 0x7c], ebx
je 0x410ab5
push edi
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
push 0xcc0020
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
sub edx, ecx
mov ecx, dword [esi + 0x80]
sub eax, ebp
push edx
push eax
push ebx
push ebx
push ecx
call edi
mov edx, dword [esi + 0x80]
mov ecx, esi
push edx
call fcn.00410b60
mov ecx, dword [esi + 0x80]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x80]
mov esi, dword [esp + 0x10]
push 0xcc0020
sub eax, ecx
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov edx, dword [esp + 0x30]
sub ecx, esi
push eax
push ecx
push ebx
push ebx
push edx
call edi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x68]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4
Function at 0x411720
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x411734
pop ecx
ret
mov al, byte [esp]
test al, 0x20
je 0x411740
xor eax, eax
pop ecx
ret
test al, 7
jne 0x411748
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret

Function at 0x411800
Capabilities:
Parse url

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
cmp esi, edx
je 0x411850
mov eax, dword [esp + 0xc]
cmp eax, edx
je 0x411850
push eax
push edx
mov ecx, 1
push edx
push esi
mov dword [eax], 0x3c
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x34], edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
pop esi
ret 8
xor eax, eax
pop esi
ret 8
Function at 0x411860
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x248
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x25c]
mov esi, ecx
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
je 0x411a89
call fcn.00411720
test eax, eax
je 0x411a89
cmp dword [esi + 0x21c], 1
je 0x411a89
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push edi
xor ebp, ebp
call fcn.00411800
test eax, eax
je 0x411a89
cmp dword [esp + 0x28], 3
jne 0x411a89
mov eax, dword [esp + 0x260]
mov dword [esp + 0x14], 0xffffffff
test eax, eax
je 0x4118ff
push ebp
push 0x80
push 2
push ebp
push ebp
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x411a78
cmp word [esi + 0x14], 0
lea eax, [esi + 0x14]
jne 0x41190e
mov eax, str.Mozila_4.0__compatible__MSIE_5.0__SAFEBOX_
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x411a4d
mov eax, dword [esi + 0x21c]
test eax, eax
jne 0x411a4d
push edi
mov ecx, esi
call fcn.00411750
push 2
mov ecx, esi
call fcn.00411ba0
mov ebx, dword [esp + 0x30]
cmp ebx, 0x7fffffff
ja 0x411998
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x58]
mov edx, 0x100
lea eax, [esp + 0x58]
sub edi, ecx
lea ecx, [ebx + edx - 0x100]
test ecx, ecx
je 0x411988
mov cx, word [edi + eax]
test cx, cx
je 0x411988
mov word [eax], cx
add eax, 2
dec edx
jne 0x411969
jmp 0x41198c
test edx, edx
jne 0x41198f
sub eax, 2
mov edi, dword [esp + 0x10]
mov word [eax], 0
mov edx, dword [esp + 0x34]
push 0
push 0
push 3
push 0
push 0
lea eax, [esp + 0x6c]
push edx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
je 0x411a4d
mov eax, dword [esi + 0x21c]
test eax, eax
jne 0x411a4d
mov ecx, dword [esp + 0x48]
push 0
push 0x84000100
push 0x4730a0
push 0
push str.HTTP_1.1
push ecx
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, eax
test ebp, ebp
je 0x411a4d
mov eax, dword [esi + 0x21c]
test eax, eax
jne 0x411a4d
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edi, eax
lea eax, [esi + 0x220]
push eax
push 0x13
push ebp
mov ecx, esi
call fcn.004117c0
test edi, edi
je 0x411a49
cmp dword [esi + 0x220], 0xc8
jne 0x411a49
mov eax, dword [esi + 0x21c]
test eax, eax
jne 0x411a49
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
push ebp
call fcn.00411aa0
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x411a5d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebp, ebp
je 0x411a6a
push ebp
call esi
test ebx, ebx
je 0x411a71
push ebx
call esi
test edi, edi
je 0x411a78
push edi
call esi
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x248
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x248
ret 8
Function at 0x411aa0
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x410
push ebx
push esi
mov esi, ecx
lea eax, [esp + 8]
mov ecx, dword [esp + 0x41c]
push edi
push eax
push 5
xor edi, edi
push ecx
mov ecx, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.004117c0
test eax, eax
je 0x411ad7
mov dword [esp + 0x10], 1
push 4
mov ecx, esi
call fcn.00411ba0
mov eax, dword [esi + 0x21c]
xor ebx, ebx
cmp eax, edi
jne 0x411b77
push ebp
mov ebp, dword [esp + 0x428]
mov ecx, dword [esp + 0x424]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push 0x400
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x411b76
mov eax, dword [esp + 0x18]
test eax, eax
je 0x411b76
cmp ebp, 0xffffffff
je 0x411b3e
lea edx, [esp + 0x1c]
push 0
push edx
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x18]
add edi, eax
mov eax, ebx
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x411b5d
mov edx, dword [esp + 0x10]
push 5
push edx
push edi
mov ecx, esi
call fcn.00411bd0
mov eax, dword [esp + 0x14]
inc ebx
test eax, eax
je 0x411b6c
cmp edi, dword [esp + 0x10]
jae 0x411b76
mov eax, dword [esi + 0x21c]
test eax, eax
je 0x411af8
pop ebp
push 6
mov ecx, esi
call fcn.00411ba0
mov ecx, dword [esi + 0x21c]
xor eax, eax
test ecx, ecx
pop edi
pop esi
sete al
pop ebx
add esp, 0x410
ret 8
Function at 0x4125b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp esi, edi
mov dword [ebp - 4], edi
je 0x41274b
cmp dword [ebp + 0xc], edi
je 0x41274b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x224]
cmp eax, edi
jne 0x4125ff
xor edx, edx
jmp 0x412618
mov ecx, dword [esi + 0x228]
sub ecx, eax
mov eax, 0x3e0f83e1
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
shl edi, 5
add edi, edx
shl edi, 4
add edi, 0x14
push edi
mov dword [ebp - 0x18], edi
call fcn.00455403
mov ebx, eax
add esp, 4
mov dword [ebx], 0x57424c33
mov dword [ebx + 4], 0x210
mov eax, dword [esi + 0x224]
lea ecx, [ebx + 0x14]
test eax, eax
mov dword [ebp - 0x14], ecx
jne 0x412654
xor edx, edx
jmp 0x41266d
mov ecx, dword [esi + 0x228]
sub ecx, eax
mov eax, 0x3e0f83e1
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], 1
mov dword [ebx + 0x10], 0
mov eax, dword [esi + 0x224]
cmp eax, dword [esi + 0x228]
je 0x4126b1
mov edi, dword [ebp - 0x14]
mov ecx, 0x84
mov esi, eax
add eax, 0x210
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
add ecx, 0x210
mov dword [ebp - 0x14], ecx
jmp 0x412684
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov cl, 0x3b
lea edx, [edi - 0x14]
cmp eax, edx
jae 0x4126d0
mov dl, byte [eax + ebx + 0x14]
xor dl, cl
mov byte [eax + ebx + 0x14], dl
inc eax
jmp 0x4126bc
mov eax, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412708
lea ecx, [ebp - 0x1c]
push 0x468728
push ecx
mov dword [ebp - 0x1c], 0
call fcn.00456088
lea edx, [ebp - 0x28]
push 0
push edx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x412735
lea eax, [ebp - 0x20]
push 0x468728
push eax
mov dword [ebp - 0x20], edi
call fcn.00456088
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
push 0x468728
push ecx
mov dword [ebp - 0x24], edi
call fcn.00456088
mov edx, dword [ebp - 0x2c]
mov eax, 0x412768
mov dword [ebp + 8], edx
ret
Function at 0x413770
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
push ebp
push esi
mov ebp, ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
push str.Scan_log.dat
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x47afc0
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4138ff
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x4137c8
xor edx, edx
jmp 0x4137de
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov eax, 0x3996b877
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [edx + edx*8]
push ebx
shl ecx, 3
sub ecx, edx
lea edx, [edx + ecx*8]
lea esi, [edx*4 + 0x18]
push esi
mov dword [esp + 0x14], esi
call fcn.00455403
mov ebx, eax
add esp, 4
lea eax, [ebx + 0x18]
mov dword [ebx], 0x53494c53
mov dword [esp + 0x14], eax
mov dword [ebx + 8], 0x8e4
mov dword [ebx + 4], 0x18
mov eax, dword [ebp + 8]
test eax, eax
jne 0x413826
xor edx, edx
jmp 0x41383c
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov eax, 0x3996b877
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x14], 0
mov eax, dword [ebp + 8]
test eax, eax
jne 0x413858
xor edx, edx
jmp 0x41386e
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov eax, 0x3996b877
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jbe 0x4138a0
xor eax, eax
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x14]
mov esi, eax
add eax, 0x8e4
add esi, ecx
mov ecx, 0x239
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
add edi, 0x8e4
dec edx
mov dword [esp + 0x14], edi
jne 0x413874
mov esi, dword [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 1
lea ecx, [esp + 0x30]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4138e7
lea edx, [esp + 0x10]
push 0
push edx
push esi
push ebx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004535f0
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x214
ret
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x214
ret
Function at 0x413910
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
push ebp
push esi
mov ebp, ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
push str.Inject_log.dat
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push 0x47afc0
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x413aa5
mov eax, dword [ebp + 0x18]
cmp eax, esi
jne 0x413968
xor edx, edx
jmp 0x413980
mov ecx, dword [ebp + 0x1c]
sub ecx, eax
mov eax, 0x9cc8e161
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [edx + edx*2]
push ebx
lea eax, [edx + ecx*4]
shl eax, 4
add eax, edx
lea esi, [eax*8 + 0x18]
push esi
mov dword [esp + 0x14], esi
call fcn.00455403
mov ebx, eax
add esp, 4
mov dword [ebx], 0x53494c49
mov dword [ebx + 8], 0x688
mov dword [ebx + 4], 0x18
mov eax, dword [ebp + 0x18]
lea ecx, [ebx + 0x18]
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x4139c8
xor edx, edx
jmp 0x4139e0
mov ecx, dword [ebp + 0x1c]
sub ecx, eax
mov eax, 0x9cc8e161
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], 1
mov dword [ebx + 0x14], 0
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x4139fc
xor edx, edx
jmp 0x413a14
mov ecx, dword [ebp + 0x1c]
sub ecx, eax
mov eax, 0x9cc8e161
imul ecx
add edx, ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
test edx, edx
jbe 0x413a46
xor eax, eax
mov ecx, dword [ebp + 0x18]
mov edi, dword [esp + 0x14]
mov esi, eax
add eax, 0x688
add esi, ecx
mov ecx, 0x1a2
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
add edi, 0x688
dec edx
mov dword [esp + 0x14], edi
jne 0x413a1a
mov esi, dword [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 1
lea edx, [esp + 0x30]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x413a8d
lea eax, [esp + 0x10]
push 0
push eax
push esi
push ebx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004535f0
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x214
ret
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x214
ret
Function at 0x414330
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push str.HideTray
push str.main
call fcn.004182f0
add esp, 0xc
test eax, eax
jne 0x41435f
mov ecx, esi
call fcn.00415970
mov ecx, dword [esi + 4]
push str.user32.dll
mov dword [0x47b854], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x414398
push str.ChangeWindowMessageFilter
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x414398
push 1
push 0x569
call edi
push 1
push 0x10
call edi
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1388
push 0
push edx
call edi
mov eax, dword [esi + 4]
push 0
push 0xa4cb80
push 1
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0x7530
push 3
push ecx
call edi
mov edx, dword [esi + 4]
push 0
push 0x493e0
push 5
push edx
call edi
mov eax, dword [esi + 4]
push 0
push 0xea60
push 6
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0x1d4c0
push 7
push ecx
call edi
mov edx, dword [esi + 4]
push 0
push 0x927c0
push 8
push edx
call edi
pop edi
mov eax, 1
pop esi
ret 0x10

Function at 0x414ca0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x254
push ebx
mov ebx, ecx
push esi
mov ecx, 0x47b708
call fcn.0044d820
test eax, eax
je 0x414d3c
cmp dword [eax + 4], 2
jne 0x414d3c
push edi
mov ecx, 0x95
mov esi, eax
lea edi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x47b708
call fcn.0044d840
push str.360SAFEBOXTRAY_DOUPDATE
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
pop edi
test esi, esi
je 0x414d20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x414d09
lea eax, [esp + 8]
mov ecx, ebx
push eax
call fcn.004168d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
add esp, 0x254
ret 0xc
lea ecx, [esp + 8]
push ecx
mov ecx, ebx
call fcn.004168d0
pop esi
mov eax, 1
pop ebx
add esp, 0x254
ret 0xc
mov ecx, 0x47b708
call fcn.0044d840
pop esi
mov eax, 1
pop ebx
add esp, 0x254
ret 0xc
Function at 0x414d60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x461a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x46f42c]
push ebx
push ebp
push esi
mov ebx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
xor ebp, ebp
cmp eax, 0x572
mov dword [esp + 0x18], ebp
jne case.0x414da9.4
mov ecx, dword [esp + 0x28]
lea eax, [ecx - 2]
cmp eax, 5
ja case.0x414da9.4
jmp dword [eax*4 + 0x414f04]
mov edx, dword [ebx + 4]
push ebp
push ebp
push 0x57e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x1c], ebp
jmp case.0x414da9.4
mov dword [ebx + 0x20], ebp
jmp case.0x414da9.4
lea eax, [esp + 0x24]
push edi
push eax
call fcn.00408910
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 4
push eax
push 1
push str.ProtectSelf
push str.protect
call esi
mov edx, dword [0x46f430]
mov edi, eax
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414e27
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414e27
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
cmp edi, ebp
pop edi
je 0x414e3c
push ebp
call fcn.00432e80
push 1
call fcn.00432e80
add esp, 8
lea eax, [esp + 0x24]
push eax
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push 1
push str.Protect360
push str.protect
call esi
mov edx, dword [0x46f430]
mov esi, eax
mov eax, dword [esp + 0x24]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414e8b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414e8b
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
cmp esi, ebp
je 0x414e9f
push ebp
call fcn.00433170
push 1
call fcn.00433170
add esp, 8
mov ecx, 0x47b780
mov dword [ebx + 0x20], ebp
call fcn.00443970
test eax, eax
je case.0x414da9.4
mov eax, dword [ebx + 4]
push ebp
push 0x591
push 0x569
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [esp + 0xc]
mov eax, dword [0x46f430]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x414eec
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414eec
push esi
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4150e0
Capabilities:
Check if file exists
Enumerate process modules
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x461a8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x648
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x314
mov dword [esp + 0x24], ebx
call fcn.00455403
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov dword [esp + 0x660], ebx
je 0x41512c
mov ecx, eax
call fcn.0043c2e0
mov esi, eax
jmp 0x41512e
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2a]
mov word [esp + 0x28], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [esp + 0x2c]
push 0x25
push eax
push ebx
mov dword [esp + 0x670], 0xffffffff
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov ebp, 0x40002
je 0x4151ed
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x28]
push str.drivers_beep.sys
push ecx
call edi
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4151ae
lea ecx, [esp + 0x10]
lea eax, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 0x2715
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
call fcn.0043d0e0
lea edx, [esp + 0x28]
push str..._null.sys
push edx
call edi
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4151ed
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
mov dword [esp + 0x14], 0x2715
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
call fcn.0043d0e0
mov eax, dword [esp + 0x668]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41527a
lea ecx, [esp + 0x230]
mov dword [esp + 0x230], 0x428
push ecx
push edi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x415273
lea edx, [esp + 0x450]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415259
lea ecx, [esp + 0x10]
lea eax, [esp + 0x450]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 0x2715
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
call fcn.0043d0e0
lea edx, [esp + 0x230]
push edx
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x415220
mov dword [esp + 0x20], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0043d030
mov ecx, dword [esp + 0x658]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x654
ret 4
Function at 0x4182f0
Capabilities:
Read .ini file

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
call fcn.00408910
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [0x46f430]
mov esi, eax
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x418348
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x418348
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
mov eax, esi
pop esi
pop ecx
ret