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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x41159a
cmp dword [esp + 0x34], esi
je 0x41159a
push 0x200
call fcn.005031fa
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x4115a5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411704
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x41169a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4115fd
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411673
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411668
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.004114d0
cmp edx, edi
jb 0x411668
ja 0x411662
cmp eax, dword [esp + 0x24]
jbe 0x411668
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x4115f0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x4116b0
cmp dword [esp + 0x24], 0
jbe 0x411704
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.0040f2f0
add esp, 0xc
test eax, eax
jne 0x4116e9
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.005019e9
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.00411110
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.005019e9
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4144b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc8]
sub esp, 0xc8
push 0xffffffffffffffff
push 0x52efcb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp + 0xc4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [0x574eb0], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp]
push 0x40
push eax
call fcn.00503d6a
add esp, 0x14
lea edx, [ebp]
push edx
push 1
xor ecx, ecx
push esi
mov word [ebp + 0x80], cx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, esi
je 0x4146a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41454e
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e
lea ecx, [ebp + 0x86]
xor eax, eax
push esi
mov dword [ebp - 4], esi
push ecx
mov word [ebp + 0x84], ax
call fcn.00500270
add esp, 0xc
push 0x1f
lea edx, [ebp + 0x84]
push edx
call fcn.004141a0
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x4145b5
lea edx, [ebp - 0x14]
xor ecx, ecx
push edx
mov word [ebp + eax*2 + 0x84], cx
lea eax, [ebp + 0x84]
push 0x5482b8
push eax
call fcn.005019c7
add esp, 0xc
cmp eax, 1
jne 0x4145b5
mov eax, dword [ebp - 0x14]
mov dword [0x574eb0], eax
jmp 0x414685
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4145cf
push 0x5c0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x4145e3
push ebx
push esi
call fcn.00414900
jmp 0x4145e5
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x574eb0], eax
test eax, eax
jne 0x414607
push 0x55fac8
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 1
call fcn.004ffd8f
push eax
lea edx, [ebp + 0x84]
push 0x5482b8
push edx
mov edi, 1
call fcn.00500135
add esp, 0xc
lea esi, [ebp + 0x84]
call fcn.004142e0
test eax, eax
jne 0x41467e
push 0x55fac8
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 3
call fcn.004ffd8f
call fcn.00414380
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [0x574eb0]
test esi, esi
je 0x41466f
call fcn.00414a50
mov dword [0x574eb0], 0
jmp 0x414676
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x41467c
ret
mov eax, dword [0x574eb0]
xor esi, esi
inc dword [eax + 0x5bc]
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp edi, esi
jne 0x4146a4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x574eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc4]
xor ecx, ebp
call fcn.004ffa01
add ebp, 0xc8
mov esp, ebp
pop ebp
ret
Function at 0x4146d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ef50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x574eb0]
xor edi, edi
cmp ecx, edi
jne 0x41471b
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
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x414728
mov dword [ebp - 0x14], edi
jmp 0x414740
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4147d6
mov ecx, dword [0x574eb0]
mov eax, dword [ecx]
cmp eax, edi
je 0x414707
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x414707
mov ebx, 0x574eb0
mov dword [ebp - 4], edi
call fcn.004147f0
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x41477e
push 0x55fac8
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.004ffd8f
mov ecx, dword [0x574eb0]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x414798
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x4147c2
push 0x55fac8
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.004ffd8f
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4147b9
call fcn.00414b50
mov eax, 0x4147bf
ret
mov eax, dword [0x574eb0]
mov eax, dword [eax]
test eax, eax
je 0x4147d4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
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
Function at 0x4147f0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x41481d
xor ecx, ecx
jmp 0x414829
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x4148dd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x414850
mov dword [esp + 0xc], esi
jmp 0x4148b0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x4148a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41489c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x4148b0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4148b0
push 0x5482c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4148b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x4148d3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x414842
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x4148f1
mov ecx, dword [ebx]
add ecx, 8
call fcn.00414a80
test eax, eax
je 0x4148f1
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x414900
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x52ef2b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56f28c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00500270
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x414998
push 0x55fac8
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004ffd8f
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x41b070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xc]
and ecx, 9
mov edx, dword [ebp - 8]
mov byte [edx + 0xc], cl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xc]
and ecx, 1
je 0x41b0e2
push 0xfffffffffffffff0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x41b0b7
mov ecx, dword [ebp - 4]
and ecx, 0x10000000
je 0x41b0e2
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0xc]
or eax, 4
mov ecx, dword [ebp - 8]
mov byte [ecx + 0xc], al
mov edx, dword [ebp - 4]
and edx, 0x21000000
jne 0x41b0e2
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xc]
or ecx, 2
mov edx, dword [ebp - 8]
mov byte [edx + 0xc], cl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xc]
and ecx, 2
je 0x41b10b
push 8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00419b20
jmp 0x41b11a
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 8
Function at 0x41f710
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5204ee
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x438], ecx
mov ecx, dword [ebp - 0x438]
call fcn.0041f6c0
mov ecx, dword [ebp - 0x438]
call fcn.0041c840
mov ecx, dword [ebp - 0x438]
call fcn.004226e0
test eax, eax
je 0x41f76b
jmp 0x41f931
mov eax, dword [ebp - 0x438]
cmp dword [eax + 0x2e8], 0
jne 0x41f931
mov ecx, dword [ebp - 0x438]
cmp dword [ecx + 0x30c], 0
jne 0x41f931
push 0x74
call fcn.004fff64
add esp, 4
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x42c], 0
je 0x41f7c4
mov ecx, dword [ebp - 0x42c]
call fcn.004a68c0
mov dword [ebp - 0x43c], eax
jmp 0x41f7ce
mov dword [ebp - 0x43c], 0
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x428]
mov dword [eax + 0x2e8], ecx
cmp dword [ebp + 0x10], 0
je 0x41f805
mov dword [ebp - 0x440], 0x5329ac
jmp 0x41f80f
mov dword [ebp - 0x440], 0x5329b8
mov edx, dword [ebp - 0x440]
push edx
push 0x5329c0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x438]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x438]
mov ecx, dword [ecx + 0x2e8]
call fcn.004a7790
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x438]
mov eax, dword [edx + 0x2e8]
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x430], ecx
cmp dword [ebp - 0x430], 0
je 0x41f889
push 1
mov ecx, dword [ebp - 0x430]
add ecx, 0x2c
mov edx, dword [ebp - 0x430]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x444], eax
jmp 0x41f893
mov dword [ebp - 0x444], 0
mov eax, dword [ebp - 0x438]
mov dword [eax + 0x2e8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x448], ecx
cmp dword [ebp - 0x448], 6
je 0x41f8c0
cmp dword [ebp - 0x448], 7
je 0x41f926
jmp 0x41f931
cmp dword [ebp + 0x10], 0
je 0x41f924
push 0x410
push 0
lea edx, [ebp - 0x424]
push edx
call fcn.00500270
add esp, 0xc
push 0x208
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00424e80
mov ecx, eax
call fcn.004890a0
push 5
push 0
push 0
lea ecx, [ebp - 0x424]
push ecx
push 0
push 0
call fcn.00427890
add esp, 0x18
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x41f931
mov ecx, dword [ebp - 0x438]
call fcn.00420620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret 0xc
Function at 0x420490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52061e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
push eax
call fcn.0044ab70
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0046ade0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42051b
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str._ref360aprun
call fcn.00427f00
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00418970
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
call fcn.0044b150
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004458f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x421820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call fcn.00427ed0
mov ecx, eax
call fcn.004909f0
test eax, eax
je 0x42183e
mov dword [ebp + 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x324], 4
jne 0x42184c
jmp 0x4218c4
cmp dword [ebp + 8], 0
je 0x42189d
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1433
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x344]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x42189b
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x344]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 0
je 0x42189b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x344]
push ecx
call fcn.0044b9c0
add esp, 4
jmp 0x4218af
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x344]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 0
je 0x4218c4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call fcn.0044b9c0
add esp, 4
mov esp, ebp
pop ebp
ret 8
Function at 0x422ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5208f6
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push 0x24
call fcn.004fff64
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0
je 0x422bef
mov ecx, dword [ebp - 0x2c]
call fcn.004250d0
mov dword [ebp - 0x54], eax
jmp 0x422bf6
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x50]
add edx, 0x4a4
push edx
lea ecx, [ebp - 0x1c]
call fcn.00427e80
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x4c0
call fcn.00425580
movzx eax, al
test eax, eax
je 0x422c4b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00427eb0
jmp 0x422d38
lea ecx, [ebp - 0x18]
call fcn.00425c60
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x4c0
call fcn.004389b0
jmp 0x422c73
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x4c0
call fcn.0046b0d0
push eax
lea ecx, [ebp - 0x24]
call fcn.00416b70
movzx edx, al
test edx, edx
je 0x422cef
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
push 0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00425c80
lea ecx, [ebp - 0x24]
call fcn.00439cd0
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x422cea
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x4c0
call fcn.004947b0
jmp 0x422c67
mov eax, dword [ebp - 0x50]
add eax, 0x4c0
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004250f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00427eb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x20], edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x422d50
push 0
push 0
call fcn.0050051c
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4278d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 0x18

Function at 0x427900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520c18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00427d00
add esp, 4
test eax, eax
je 0x42793c
mov eax, 1
jmp 0x427994
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42794e
xor eax, eax
jmp 0x427994
push 1
call fcn.004279b0
push eax
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.004e62c0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0046ade0
push eax
call fcn.004279c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00450630
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x427bd0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x820], 0x400
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.00500270
add esp, 0xc
mov dword [ebp - 0x80c], 1
mov dword [ebp - 0x814], 0x800
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x80c]
push ecx
push 0x533560
push 0x5334e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x810], eax
cmp dword [ebp - 0x810], 0
je 0x427c63
mov eax, 1
jmp 0x427cea
push str.360ver.dll
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427c94
mov eax, 1
jmp 0x427cea
lea edx, [ebp - 0x808]
push edx
call fcn.00427d10
add esp, 4
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
jne 0x427cb9
mov eax, 1
jmp 0x427cea
push str.IsBetaVersion
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov dword [ebp - 0x818], eax
mov ecx, dword [ebp - 0x81c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret
Function at 0x42a410
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x42a42e
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42a43d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4
Function at 0x442990
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
push 0
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x4429ce
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0x6f
jne 0x442a38
cmp dword [ebp - 0xc], 0xa
jge 0x442a38
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.005019e9
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.005031fa
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x442a0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.00500270
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
push 0
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 8], eax
jmp 0x4429c5
cmp dword [ebp - 8], 0
je 0x442a55
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.005019e9
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret