joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d169
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a36c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405035
mov dword [ebp - 0x14], eax
cmp dword [0x440080], esi
jne 0x40d25c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d1e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d33c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d33c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d33c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x440080], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x440084], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x440088], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x440090], eax
test eax, eax
je 0x40d259
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44008c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d281
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d274
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d296
push 4
pop eax
jmp 0x40d33e
cmp dword [ebp - 0x14], esi
je 0x40d296
push dword [0x440080]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d27b
mov eax, dword [0x44008c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d2f4
cmp dword [0x440090], edi
je 0x40d2f4
push eax
call ebx
push dword [0x440090]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d2f4
test eax, eax
je 0x40d2f4
call ecx
test eax, eax
je 0x40d2e9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d2e9
test byte [ebp - 8], 1
jne 0x40d2f4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d324
mov eax, dword [0x440084]
cmp eax, edi
je 0x40d321
push eax
call ebx
test eax, eax
je 0x40d321
call eax
mov esi, eax
test esi, esi
je 0x40d321
mov eax, dword [0x440088]
cmp eax, edi
je 0x40d321
push eax
call ebx
test eax, eax
je 0x40d321
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x440080]
call ebx
test eax, eax
je 0x40d33c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d33e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040431b
mov esp, ebp
pop ebp
ret
Function at 0xdfedd0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdfedda
pushal
call 0xdfede0
pop ebp
sub ebp, 0x10
sub ebp, 0x9fedd0
jmp 0xdfedf6
mov eax, 0x9fedd0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cd
mov edx, 0x457ff849
xor byte [eax], dl
inc eax
dec ecx
jne 0xdfee0d
jmp 0xdfee20
ret 0xc284
Function at 0x4304c25f
Capabilities:
Hide graphical window

Disassembly:
cmp byte [edi + 0x30], 0
push esi
sete al
mov byte [edi + 0x30], al
lea esi, [edi + 4]
test al, al
je 0x4304c28c
push 5
push 0x1f7
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x2c]
jmp 0x4304c2a5
push 0
push 0x1f7
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
call fcn.4304be8c
xor eax, eax
pop esi
ret

Function at 0x4304eb37
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4306c86c], 0
jne 0x4304eb50
push 0x4304eb78
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x4306c86c], eax
cmp dword [0x4306c868], 0
jne 0x4304eb74
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push 0
push 0x4304eb9e
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4306c868], eax
ret
Function at 0x43060d56
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x22c
mov eax, 0x43068466
call fcn.43065fef
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], edi
push 0x43061020
mov dword [ebp - 4], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x43060d98
push 0x8007000e
call fcn.4304be8c
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebx]
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 0xd
push 0x43061004
push edi
push 0x43043bac
push ebx
mov dword [ebp - 0x238], 0x104
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
call dword [eax + 0x38]
mov esi, eax
cmp esi, edi
jl 0x43060f86
mov ecx, dword [ebp - 0x228]
cmp word [ecx], 0x2e
mov eax, ecx
je 0x43060e23
xor edx, edx
mov esi, edx
sar esi, 1
cmp esi, dword [ebp - 0x21c]
jge 0x43060e23
add eax, 2
add edx, 2
cmp word [eax], 0x2e
jne 0x43060e0b
sub eax, ecx
sar eax, 1
push eax
push ecx
lea edi, [ebp - 0x220]
mov dword [ebp - 0x21c], eax
call fcn.4304be8c
mov esi, eax
test esi, esi
js 0x43060f86
mov esi, 0x43044320
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
push eax
push esi
call fcn.4304be8c
mov esi, eax
test esi, esi
js 0x43060f86
mov eax, dword [ebx]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 7
push 0x43060fe4
push 0
push 0x43043bac
push ebx
call dword [eax + 0x38]
mov esi, eax
test esi, esi
js 0x43060f86
push dword [ebp - 0x21c]
push dword [ebp - 0x228]
call fcn.4304be8c
mov esi, eax
test esi, esi
js 0x43060f86
mov eax, dword [ebx]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 0x10
push 0x43060fc0
push 0
push 0x43043bac
push ebx
call dword [eax + 0x38]
mov esi, eax
test esi, esi
js 0x43060f86
push dword [ebp - 0x21c]
lea edi, [ebp - 0x224]
push dword [ebp - 0x228]
call fcn.4304be8c
mov esi, eax
test esi, esi
js 0x43060f86
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push dword [ebp - 0x220]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43060f84
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push 0x43060ff4
push dword [ebp - 0x22c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x43060f84
cmp dword [ebp - 0x230], 1
jne 0x43060f84
push dword [ebp - 0x224]
lea eax, [ebp - 0x218]
call fcn.4304be8c
mov esi, eax
test esi, esi
js 0x43060f86
cmp esi, 1
je 0x43060f84
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x224]
mov ecx, dword [ecx + 8]
and dword [ebp - 0x224], 0
mov dword [ecx + 0x14], eax
jmp 0x43060f86
xor esi, esi
cmp dword [ebp - 0x22c], 0
je 0x43060f9b
push dword [ebp - 0x22c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
push dword [ebp - 0x220]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x224]
call edi
mov eax, esi
call fcn.43066025
ret 4
Function at 0x4029b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x22], 0x77a1
mov dword [ebp - 0x2c], 0xfffff000
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x11], 0x5c
mov dword [ebp - 0x38], 0x1000
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x28], 0x4550
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
jne 0x402a25
mov eax, 0
mov dword [ebp - 0x30], 0
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
jmp 0x402b22
mov eax, dword [ebp - 0x20]
add eax, 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x10]
add ecx, 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], ecx
cmp eax, 0x5a4d
jne 0x402ac4
lea eax, [ebp - 0x10]
mov cx, 0
mov edx, dword [ebp - 0x3c]
sub cx, word [ebp - 0x22]
mov edx, dword [edx + 0x3c]
mov esi, dword [ebp - 0x10]
sub eax, esi
mov esi, dword [ebp - 0x3c]
mov word [ebp - 0x22], cx
mov dword [ebp - 0x10], eax
mov cx, word [ebp - 0x22]
xor cx, 0x467b
mov word [ebp - 0x22], cx
mov eax, dword [ebp - 0x40]
cmp dword [esi + edx], eax
jne 0x402aa6
lea eax, [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov dl, al
sub dl, cl
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x18]
and esi, 0
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x11], dl
jmp 0x402b22
mov eax, 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov si, word [ebp - 0x22]
mov di, cx
or si, di
mov word [ebp - 0x22], si
sub eax, edx
mov dword [ebp - 0x20], eax
mov eax, 0
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ebp - 0x11]
xor dl, 0x40
mov byte [ebp - 0x11], dl
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x48]
sub ecx, edi
mov ebx, dword [ebp - 0x44]
and ecx, ebx
mov dword [ebp - 0x3c], ecx
sub eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov al, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
mov esi, dword [ebp - 0x20]
sub edx, esi
mov esi, dword [ebp - 0x18]
and esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], edx
test al, 1
jne 0x402a30
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
and ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], 0
mov eax, 0
mov ecx, dword [ebp - 0x10]
xor ecx, 0
mov dword [ebp - 0x20], ecx
mov dx, word [ebp - 0x22]
and dx, 0x3da9
mov word [ebp - 0x22], dx
mov ecx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, ecx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x60002430
Capabilities:
Accept command line arguments

Disassembly:
push 0x54
mov eax, 0x6001dfdd
call fcn.6001adcc
mov eax, dword fs:[0x2c]
mov ecx, dword [0x60030374]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x6002e1d8]
cmp eax, dword [ecx + 4]
jg 0x6000258f
xor ebx, ebx
inc ebx
cmp byte [0x6002e1dc], 0
jne 0x600024d3
and dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x600024cd
xor edi, edi
cmp dword [ebp - 0x5c], edi
jle 0x600024c3
xor eax, eax
push dword [esi + eax*4]
lea ecx, [ebp - 0x28]
call fcn.60013390
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov ecx, 0x6002e1d0
call fcn.60013390
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.60002111
inc edi
movzx eax, di
cmp eax, dword [ebp - 0x5c]
jl 0x60002492
push esi
call dword [sym.imp.kernel32.dll_LocalFree]
mov edi, dword [ebp - 0x60]
mov byte [0x6002e1dc], bl
push edi
lea eax, [ebp - 0x58]
push 0x600210d4
push eax
call fcn.60013390
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push 0x600210d8
push eax
call fcn.60013390
add esp, 0x18
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
mov edi, 0x6002e1d0
push eax
mov ecx, edi
call fcn.60013390
jmp 0x6000255d
lea ecx, [ebp - 0x5c]
call fcn.60002207
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.60002dec
push eax
mov ecx, esi
call fcn.60002dec
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x60002577
lea ecx, [ebp - 0x40]
call fcn.60002dec
push eax
mov ecx, esi
call fcn.60002dec
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x60002577
lea ecx, [ebp - 0x5c]
call fcn.60002228
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.60013390
push eax
lea ecx, [ebp - 0x5c]
call fcn.60013390
test al, al
jne 0x60002511
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.60002111
lea ecx, [ebp - 0x58]
call fcn.60002111
mov al, bl
call fcn.6001ad76
ret
mov esi, 0x6002e1d8
push esi
call fcn.60013390
cmp dword [0x6002e1d8], 0xffffffff
pop ecx
jne 0x60002462
and dword [ebp - 4], 0
mov ecx, 0x6002e1d0
call fcn.60013390
push 0x6001fa60
call fcn.60013390
or dword [ebp - 4], 0xffffffff
push esi
call fcn.60013390
pop ecx
pop ecx
jmp 0x60002462

Function at 0x600039f8
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x6002c028]
call dword [sym.imp.kernel32.dll_TlsGetValue]
add eax, 4
ret
Function at 0x60003e19
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
push dword [0x6002c024]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x60003e6f
mov edi, 0x23ac
push edi
call fcn.60013390
mov esi, eax
pop ecx
test esi, esi
jne 0x60003e44
mov eax, 0x40000002
jmp 0x60003e95
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push dword [0x6002c024]
call dword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
jne 0x60003e68
mov eax, 0x40000001
jmp 0x60003e95
push esi
call fcn.60003a51
pop ecx
call fcn.60013390
cmp word [0x6002e284], 0
mov esi, eax
jne 0x60003e93
call fcn.6000c2b8
mov dword [0x6002e288], eax
xor eax, eax
inc eax
mov word [0x6002e284], ax
mov eax, esi
pop edi
pop esi
ret

Function at 0x6000418c
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x600041ad
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x600041a9
xor eax, eax
ret

Function at 0x600041bb
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x600041dc
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x600041d8
xor eax, eax
ret
Function at 0x600066e3
Capabilities:
Print debug messages

Disassembly:
push 0x50
mov eax, 0x6001e3f2
call fcn.6001adcc
cmp byte [0x6002e2a1], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
jne 0x60006814
push eax
lea ecx, [ebp - 0x28]
mov byte [0x6002e2a1], 1
call fcn.60013390
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push str.___ipc_rdr_channel
call fcn.60013390
mov esi, eax
cmp esi, 0xffffffff
je 0x6000680c
add esi, 0x13
lea ecx, [ebp - 0x28]
push esi
push str.___ipc_co_channel
call fcn.60013390
mov edi, eax
cmp edi, 0xffffffff
je 0x6000680c
push 0x60021328
lea ecx, [ebp - 0x40]
call fcn.60013390
sub edi, esi
mov byte [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.60013390
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.60013390
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.60002111
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.60013390
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
jne 0x600067a6
push str.___Sandbox_IPC_ComputeOnly_Client_connection_Failed
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x600067f6
test esi, esi
je 0x600067f6
push 0x60023618
push 0x18
call fcn.60013390
pop ecx
mov edx, eax
pop ecx
mov dword [ebp - 0x5c], edx
xor eax, eax
mov byte [ebp - 4], 3
test edx, edx
je 0x600067d5
push 6
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.60013390
mov byte [ebp - 4], 1
mov dword [0x600302f4], eax
test eax, eax
je 0x600067ec
push esi
mov ecx, eax
call fcn.60013390
jmp 0x600067f6
push 0
push esi
call fcn.60013390
pop ecx
pop ecx
cmp dword [0x600302f4], 0
lea ecx, [ebp - 0x40]
setne byte [0x6002e2a0]
call fcn.60002111
lea ecx, [ebp - 0x28]
call fcn.60002111
mov al, byte [0x6002e2a0]
call fcn.6001ad76
ret 8
Function at 0x60006719
Capabilities:
Print debug messages

Disassembly:
push 0x50
mov eax, 0x6001e3f2
call fcn.6001adcc
cmp byte [0x6002e2a1], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
jne 0x60006814
push eax
lea ecx, [ebp - 0x28]
mov byte [0x6002e2a1], 1
call fcn.60013390
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push str.___ipc_rdr_channel
call fcn.60013390
mov esi, eax
cmp esi, 0xffffffff
je 0x6000680c
add esi, 0x13
lea ecx, [ebp - 0x28]
push esi
push str.___ipc_co_channel
call fcn.60013390
mov edi, eax
cmp edi, 0xffffffff
je 0x6000680c
push 0x60021328
lea ecx, [ebp - 0x40]
call fcn.60013390
sub edi, esi
mov byte [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.60013390
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.60013390
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.60002111
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.60013390
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
jne 0x600067a6
push str.___Sandbox_IPC_ComputeOnly_Client_connection_Failed
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x600067f6
test esi, esi
je 0x600067f6
push 0x60023618
push 0x18
call fcn.60013390
pop ecx
mov edx, eax
pop ecx
mov dword [ebp - 0x5c], edx
xor eax, eax
mov byte [ebp - 4], 3
test edx, edx
je 0x600067d5
push 6
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, edx
call fcn.60013390
mov byte [ebp - 4], 1
mov dword [0x600302f4], eax
test eax, eax
je 0x600067ec
push esi
mov ecx, eax
call fcn.60013390
jmp 0x600067f6
push 0
push esi
call fcn.60013390
pop ecx
pop ecx
cmp dword [0x600302f4], 0
lea ecx, [ebp - 0x40]
setne byte [0x6002e2a0]
call fcn.60002111
lea ecx, [ebp - 0x28]
call fcn.60002111
mov al, byte [0x6002e2a0]
call fcn.6001ad76
ret 8

Function at 0x60008742
Capabilities:
Get common file path

Disassembly:
push 0x180
mov eax, 0x6001e8e9
call fcn.6001adcc
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x114]
mov ebx, 0x104
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetTempPathA]
lea eax, [ebp - 0x114]
push eax
push ebx
lea ecx, [ebp - 0x18c]
call fcn.60013390
push eax
lea ecx, [ebp - 0x184]
call fcn.60005ec9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14c]
push 0
call fcn.60013390
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x14c]
push eax
push esi
push 0x25a
lea ecx, [edi + 4]
call fcn.60013390
lea ecx, [ebp - 0x14c]
mov esi, eax
call fcn.600061f7
lea ecx, [ebp - 0x184]
call fcn.600061f7
mov eax, esi
call fcn.6001ad76
ret 8
Function at 0x6000d470
Capabilities:
Allocate thread local storage

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x18], 4
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x6000d4bf
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret
call fcn.60013390
int3

Function at 0x60013390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x6001339f
pop dword [ebp - 0x18]
mov eax, 0x1cbaaf1b
sub eax, 0xbcb97b7c
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xc0317a01
add dword [ebp - 0x28], 0x8e20cb4a
mov dword [ebp - 0x24], 0x7ac15ebe
sub dword [ebp - 0x24], 0x488e1279
mov dword [ebp - 0x20], 0x66625b44
add dword [ebp - 0x20], 0xe5e9e8ea
mov dword [ebp - 0x1c], 0xc568eb0c
sub dword [ebp - 0x1c], 0xc568eb0c
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x7bd8e98d
add dword [ebp - 0x28], 0xf8997fc9
mov dword [ebp - 0x24], 0x57d00a67
add dword [ebp - 0x24], 0xe99c570e
mov dword [ebp - 0x20], 0x1e1b0e76
sub dword [ebp - 0x20], 0xbaaba20a
mov dword [ebp - 0x1c], 0xbda0cdbc
add dword [ebp - 0x1c], 0x425f3244
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x9503fd59
sub eax, 0x3501fb69
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3f053
push 0
call eax
mov ecx, 0xaa1069ea
sub ecx, 0xaa1020af
mov ebx, eax
mov edx, 0xaff77bf8
add edx, 0xb00bc208
add edx, dword [ebp - 0x18]
mov edi, 0x94fb3f4d
xor dword [ebp - 8], ebx
mov esi, dword [edx]
xor esi, edi
sub dword [ebp - 0x14], edi
mov dword [ebx], esi
add dword [ebp - 4], 0xa5376cf2
add ebx, 0x9173303e
sub ebx, 0x9173303a
add edx, 4
loop 0x600134b6
add eax, 0x34271866
add eax, 0xcbd9ff59
mov ebx, eax
add eax, 0x714ec77c
sub eax, 0x714ec777
mov ecx, 0x65f33bbe
add ecx, 0xfa0cc442
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x6001a2d3
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x6001f68e
call fcn.6001adcc
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x2c]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x30], eax
xor eax, eax
stosd dword es:[edi], eax
push ebx
push ebx
push 1
stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x38], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x6001a313
xor al, al
jmp 0x6001a40d
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [esi]
push dword [ebp - 0x30]
push dword [edi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x6001a400
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x6001a402
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [0x6002e1bc]
push ebx
push 0xffffffffffffffff
push ebx
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [edi + 4], 2
push ecx
setne al
inc eax
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.kernel32.dll_WaitForMultipleObjectsEx]
test eax, eax
je 0x6001a3ee
mov edi, dword [ebp - 0x30]
cmp eax, 1
jne 0x6001a402
mov esi, dword [0x6002e1bc]
push esi
mov dword [ebp - 0x30], esi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.60013390
mov eax, dword [0x6002e1bc]
mov dword [ebp - 4], ebx
push dword [eax + 0x38]
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.600023b0
mov ecx, dword [0x6002e1bc]
add esp, 0x14
mov dword [ecx + 0x44], eax
mov eax, dword [0x6002e1bc]
push dword [eax + 0x40]
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
mov dword [ebp - 4], 1
call sub.MSVCP140.dll__Mtx_unlock
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
pop ecx
push ebx
push 0xffffffffffffffff
push ebx
push eax
push edi
call dword [sym.imp.kernel32.dll_WaitForMultipleObjectsEx]
test eax, eax
jne 0x6001a375
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
push ebx
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [edi]
call dword [sym.imp.kernel32.dll_GetOverlappedResult]
test eax, eax
je 0x6001a402
mov bl, 1
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, bl
call fcn.6001ad76
ret 8