joyce8/EMBER2024-capa huggingface dataset:
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 [0x60030380]
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.6001b783
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov ecx, 0x6002e1d0
call fcn.6001b783
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.6001b783
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push 0x600210d8
push eax
call fcn.6001b783
add esp, 0x18
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
mov edi, 0x6002e1d0
push eax
mov ecx, edi
call fcn.6001b783
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.6001b783
push eax
lea ecx, [ebp - 0x5c]
call fcn.6001b783
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.6001b783
cmp dword [0x6002e1d8], 0xffffffff
pop ecx
jne 0x60002462
and dword [ebp - 4], 0
mov ecx, 0x6002e1d0
call fcn.6001b783
push 0x6001fa60
call fcn.6001b783
or dword [ebp - 4], 0xffffffff
push esi
call fcn.6001b783
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.6001b783
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.6001b783
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.6001b783
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push str.___ipc_rdr_channel
call fcn.6001b783
mov esi, eax
cmp esi, 0xffffffff
je 0x6000680c
add esi, 0x13
lea ecx, [ebp - 0x28]
push esi
push str.___ipc_co_channel
call fcn.6001b783
mov edi, eax
cmp edi, 0xffffffff
je 0x6000680c
push 0x60021328
lea ecx, [ebp - 0x40]
call fcn.6001b783
sub edi, esi
mov byte [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.6001b783
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.6001b783
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.60002111
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.6001b783
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.6001b783
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.6001b783
mov byte [ebp - 4], 1
mov dword [0x600302f8], eax
test eax, eax
je 0x600067ec
push esi
mov ecx, eax
call fcn.6001b783
jmp 0x600067f6
push 0
push esi
call fcn.6001b783
pop ecx
pop ecx
cmp dword [0x600302f8], 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.6001b783
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push str.___ipc_rdr_channel
call fcn.6001b783
mov esi, eax
cmp esi, 0xffffffff
je 0x6000680c
add esi, 0x13
lea ecx, [ebp - 0x28]
push esi
push str.___ipc_co_channel
call fcn.6001b783
mov edi, eax
cmp edi, 0xffffffff
je 0x6000680c
push 0x60021328
lea ecx, [ebp - 0x40]
call fcn.6001b783
sub edi, esi
mov byte [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.6001b783
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.6001b783
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.60002111
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.6001b783
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.6001b783
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.6001b783
mov byte [ebp - 4], 1
mov dword [0x600302f8], eax
test eax, eax
je 0x600067ec
push esi
mov ecx, eax
call fcn.6001b783
jmp 0x600067f6
push 0
push esi
call fcn.6001b783
pop ecx
pop ecx
cmp dword [0x600302f8], 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.6001b783
push eax
lea ecx, [ebp - 0x184]
call fcn.60005ec9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14c]
push 0
call fcn.6001b783
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.6001b783
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.6001b783
int3

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 [0x6002e1b0]
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 [0x6002e1b0]
push esi
mov dword [ebp - 0x30], esi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.6001b783
mov eax, dword [0x6002e1b0]
mov dword [ebp - 4], ebx
push dword [eax + 0x38]
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.600023b0
mov ecx, dword [0x6002e1b0]
add esp, 0x14
mov dword [ecx + 0x44], eax
mov eax, dword [0x6002e1b0]
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
Function at 0x6001a415
Capabilities:
Read file on windows

Disassembly:
push 0x3c
mov eax, 0x6001f6c6
call fcn.6001adcc
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [0x60030380]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword fs:[0x2c]
mov edx, dword [eax + edx*4]
mov eax, dword [0x600302dc]
cmp eax, dword [edx + 4]
jg 0x6001a524
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
push ebx
push ebx
push 1
stosd dword es:[edi], eax
push ebx
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 - 0x34], eax
test eax, eax
jne 0x6001a472
xor al, al
jmp 0x6001a51c
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
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 0x6001a50f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x6001a511
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
jmp 0x6001a4e7
cmp eax, 1
jne 0x6001a511
push eax
push 0x113
push 0x113
jmp 0x6001a4d3
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
mov eax, 0x113
push eax
push eax
push dword [0x600302d8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x6001a4b6
push 4
push 0x10
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
test eax, eax
jne 0x6001a4a4
push ebx
push esi
lea eax, [ebp - 0x44]
push eax
push dword [edi]
call dword [sym.imp.kernel32.dll_GetOverlappedResult]
test eax, eax
je 0x6001a511
mov bl, 1
push dword [ebp - 0x34]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, bl
call fcn.6001ad76
ret 8
mov edi, 0x600302dc
push edi
call fcn.6001b783
cmp dword [0x600302dc], 0xffffffff
pop ecx
jne 0x6001a44f
mov dword [ebp - 4], ebx
call fcn.600023b0
or dword [ebp - 4], 0xffffffff
push edi
mov dword [0x600302d8], eax
call fcn.6001b783
pop ecx
jmp 0x6001a44f
Function at 0x6001b783
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x6001b792
pop dword [ebp - 0x28]
mov eax, 0x8221b56b
sub eax, 0x221ffdd9
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xba78de12
add dword [ebp - 0x38], 0x93d96739
mov dword [ebp - 0x34], 0xf9a311ed
sub dword [ebp - 0x34], 0xc76fc5a8
mov dword [ebp - 0x30], 0x3d5dc723
sub dword [ebp - 0x30], 0xf11182f5
mov dword [ebp - 0x2c], 0xd8b6895f
sub dword [ebp - 0x2c], 0xd8b6895f
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe8eccfb0
sub eax, 0x88eacdb8
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xbf206f69
sub dword [ebp - 0x38], 0x4aae0613
mov dword [ebp - 0x34], 0xe699eaad
add dword [ebp - 0x34], 0x5ad276c8
mov dword [ebp - 0x30], 0xc4461ea7
sub dword [ebp - 0x30], 0x60d6b23b
mov dword [ebp - 0x2c], 0xc871440d
add dword [ebp - 0x2c], 0x378ebbf3
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x3741ad32
add eax, 0x28c054be
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x40d28
push 0
call eax
mov ecx, 0x5075
mov esi, eax
mov edi, 0x2ae88898
add edi, 0x351ab568
add edi, dword [ebp - 0x28]
mov ebx, 0x8b23463e
add ebx, 0xf8996b59
sub dword [ebp - 0x14], 0xa62aa7c
mov edx, dword [edi]
mov dword [ebp - 0x1c], 0x8b511520
xor edx, ebx
sub dword [ebp - 0x10], ebx
mov dword [esi], edx
sub dword [ebp - 0xc], ebx
add esi, 4
add edi, 0x586ca772
sub edi, 0x586ca76e
loop 0x6001b8ae
add eax, 0x134a7
xor ebx, ebx
add ebx, eax
add eax, 0x53618b2a
add eax, 0xac9e74db
mov ecx, 0x60000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x6001dcb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6001fa3d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6002c484]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x6002c4a8]
cmp eax, 0xffffffff
jne 0x6001dce9
xor ebx, ebx
mov dword [ebp - 0x10], ebx
jmp 0x6001dcf5
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x6001de58
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x6001dd20
cmp dword [ebx + 0xc], 0
je 0x6001de09
nop dword [eax + eax]
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x6001ddc0
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x6001dd8c
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x600204bc]
mov ecx, dword [ebp - 0x14]
call edi
mov ebx, dword [esi]
push 0
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x600204bc]
mov ecx, ebx
call edi
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
jne 0x6001dd89
push 0x23
push str.D:TImportsOpen_boost_boost_threadwin32_thread_heap_alloc.hpp
push str.winapi::HeapFree_winapi::GetProcessHeap___0_heap_memory__0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ebx, dword [ebp - 0x10]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
jne 0x6001dd20
push 0x23
push str.D:TImportsOpen_boost_boost_threadwin32_thread_heap_alloc.hpp
push str.winapi::HeapFree_winapi::GetProcessHeap___0_heap_memory__0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x6001dd20
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x6001dd0e
mov esi, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
mov esi, dword [esi]
mov edx, dword [esi + 0x18]
test edx, edx
je 0x6001ddf6
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6001ddf6
mov edi, dword [esi + 0x14]
mov ecx, edi
push eax
push edx
call dword [0x600204bc]
call edi
add esp, 8
lea ecx, [ebx + 0x14]
push esi
call fcn.6001b783
push 0x20
push eax
call fcn.6001b783
add esp, 8
jmp 0x6001ddc0
push 0
call fcn.6001b783
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x6001de58
mov eax, dword [ebx]
push 0
mov esi, dword [eax]
mov ecx, esi
call dword [0x600204bc]
mov ecx, ebx
call esi
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
jne 0x6001de58
push 0x23
push str.D:TImportsOpen_boost_boost_threadwin32_thread_heap_alloc.hpp
push str.winapi::HeapFree_winapi::GetProcessHeap___0_heap_memory__0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
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 0x5d1249df
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x5d1249ea
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x5d127608
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x5d127617
pop dword [ebp - 0x44]
mov eax, 0x5d127617
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x8b9c6d52
sub dword [ebp - 0x54], 0x3d4a2807
mov dword [ebp - 0x50], 0xb82f9c3f
add dword [ebp - 0x50], 0x7a03b006
mov dword [ebp - 0x4c], 0x48c40293
add dword [ebp - 0x4c], 0x388419b
mov dword [ebp - 0x48], 0xa9170ecd
sub dword [ebp - 0x48], 0xa9170ecd
lea eax, [ebp - 0x54]
push eax
mov eax, 0xf12aad49
add eax, 0x6be803a3
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xfaee2618
add dword [ebp - 0x54], 0x7984433e
mov dword [ebp - 0x50], 0x88e786da
sub dword [ebp - 0x50], 0x477b2565
mov dword [ebp - 0x4c], 0xc8463e6f
add dword [ebp - 0x4c], 0x9b292dfd
mov dword [ebp - 0x48], 0x29214c41
sub dword [ebp - 0x48], 0x29214c41
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x36f79
push 0
call eax
mov ecx, 0x555f63aa
add ecx, 0xaaa0e32f
mov esi, eax
mov edi, 0x6c52cfa8
add edi, 0xf0c05e58
add edi, dword [ebp - 0x44]
mov ebx, 0xff2333e4
add dword [ebp - 0x14], edx
mov edx, dword [edi]
mov dword [ebp - 0x24], 0x7190216e
xor edx, ebx
mov dword [esi], edx
add dword [ebp - 0x34], ebx
add esi, 0xb3517fe1
add esi, 0x4cae8023
add edi, 4
loop 0x5d127729
add eax, 0x85707a9d
add eax, 0x7a90939a
mov ebx, eax
add eax, 0xf521eb2b
add eax, 0xade14da
mov ecx, 0x5af43c33
sub ecx, 0xfde23c33
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x5d128eef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push esi
call fcn.5d127608
mov esi, dword [esp + 0x14]
or dword [esp + 8], 0xffffffff
push 5
push dword [esp + 0x1c]
push esi
call fcn.5d121b6b
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
je 0x5d128fcf
push ebx
push ebp
push edi
push 0xf0
push dword [esp + 0x28]
push esi
call fcn.5d121b6b
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, dword [sym.imp.kernel32.dll_LockResource]
add esp, 0xc
xor ebp, ebp
test eax, eax
je 0x5d128f4c
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x5d128fb1
push eax
call ebx
mov edi, eax
test edi, edi
je 0x5d128fb1
push ebp
push edi
call fcn.5d127608
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push eax
mov dword [esp + 0x18], eax
call fcn.5d121b7e
test al, al
pop ecx
jne 0x5d128f9d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x5d128fbb
push ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x5d128fbb
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop edi
pop ebp
pop ebx
je 0x5d128fcf
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 8]
pop esi
add esp, 0xc
ret

Function at 0x5d128fd8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push esi
call fcn.5d127608
mov esi, dword [esp + 0x14]
or dword [esp + 8], 0xffffffff
push 5
push dword [esp + 0x1c]
push esi
call fcn.5d121b58
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
je 0x5d1290b8
push ebx
push ebp
push edi
push 0xf0
push dword [esp + 0x28]
push esi
call fcn.5d121b58
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, dword [sym.imp.kernel32.dll_LockResource]
add esp, 0xc
xor ebp, ebp
test eax, eax
je 0x5d129035
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x5d12909a
push eax
call ebx
mov edi, eax
test edi, edi
je 0x5d12909a
push ebp
push edi
call fcn.5d127608
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push eax
mov dword [esp + 0x18], eax
call fcn.5d121b7e
test al, al
pop ecx
jne 0x5d129086
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x5d1290a4
push ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x5d1290a4
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop edi
pop ebp
pop ebx
je 0x5d1290b8
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 8]
pop esi
add esp, 0xc
ret