joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61b840
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x704550
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x4c]
push esi
lea ecx, [ebp - 0x28]
call fcn.0042fc50
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00518100
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.006456e0
lea eax, [ebp - 0x58]
mov edx, 0x75b170
push eax
lea ecx, [ebp - 0x70]
call fcn.00439cf0
add esp, 4
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x61b8ca
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042ff20
lea ecx, [ebp - 0x70]
call fcn.0042fd70
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00645880
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00518180
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x61b980
push ecx
mov dl, 1
mov ecx, esi
call fcn.0061df20
add esp, 4
test eax, eax
jne 0x61b980
cmp dword [esi + 0x10], eax
je 0x61b980
cmp dword [ebp - 0x18], eax
je 0x61b980
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x61b950
mov esi, dword [esi]
push eax
push esi
call fcn.006a4b40
add esp, 8
test eax, eax
jne 0x61b980
lea ecx, [edi + 0xd4]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x61b97c
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042fe00
mov bl, 1
jmp 0x61b982
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.0042fd70
lea ecx, [ebp - 0x58]
call fcn.0042fd70
lea ecx, [ebp - 0x28]
call fcn.0042fd70
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x61df20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x704750
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x61df59
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x61df76
test eax, 0x400
je 0x61df76
mov eax, 1
jmp 0x61dff3
test bl, bl
je 0x61dff1
push esi
lea ecx, [ebp - 0x2c]
call fcn.0042fc50
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.0042fc50
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0060e100
test al, al
je 0x61dfe1
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov ebx, dword [ebp - 0x2c]
lea esi, [ebp - 0x44]
mov edx, dword [ebp - 0x34]
cmp edi, 8
cmovae eax, ebx
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x1c]
jne 0x61e00f
test edx, edx
je 0x61dfe1
sub esi, eax
nop dword [eax + eax]
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x61e00f
add eax, 2
sub edx, 1
jne 0x61dfd0
lea ecx, [ebp - 0x44]
call fcn.0042fd70
lea ecx, [ebp - 0x2c]
call fcn.0042fd70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
cmp edi, 8
lea eax, [ebp - 0x2c]
cmovae eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x61e02b
test eax, 0x400
jne 0x61e054
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x2c]
call fcn.0060e100
test al, al
jne 0x61dfa3
jmp 0x61dfe1
lea ecx, [ebp - 0x44]
call fcn.0042fd70
lea ecx, [ebp - 0x2c]
call fcn.0042fd70
mov eax, 2
jmp 0x61dff3
Function at 0x624b10
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
push esi
test ecx, ecx
jne 0x624b4f
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x624b62
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x624b84
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x624b84
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x624c34
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push edi
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x624bbe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x624c34
push dword [ebp - 0x10]
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push ebx
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x624c34
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x624c34
xor edi, edi
cmp dword [ebx], edi
jbe 0x624c32
lea esi, [ebx + 8]
push dword [esi - 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x624c27
test byte [esi], 4
jne 0x624c79
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x624c12
mov esi, dword [ebp - 0x1c]
xor edi, edi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x624c42
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test ebx, ebx
je 0x624c4d
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x624c5b
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x624c66
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1c]
mov edi, 1
jmp 0x624c34
Function at 0x6267b0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x82d084]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0x20
mov bl, cl
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x626807
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x626819
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0
test bl, bl
mov dword [esp + 0x18], 1
push 0
cmovne eax, ecx
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 8]
test eax, eax
je 0x626801
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x24]
mov al, 1
pop ebx
xor ecx, esp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x627940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x852fa0
push 0
call fcn.0068c8fa
mov edi, eax
mov dword [ebp - 8], 1
test edi, edi
je 0x627ad5
mov eax, dword [ebp + 8]
shr eax, 4
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
movzx eax, cx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceExW]
mov ebx, eax
test ebx, ebx
je 0x6279dc
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x6279dc
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x6279dc
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x6279d2
cmp esi, edx
jae 0x6279dc
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x6279c0
cmp esi, edx
jae 0x6279dc
cmp word [esi], 0
jne 0x6279fd
mov ebx, dword [ebp - 8]
mov ecx, 0x852fa0
push ebx
call fcn.0068c8fa
mov edi, eax
inc ebx
mov dword [ebp - 8], ebx
test edi, edi
je 0x627ad5
mov eax, dword [ebp - 0xc]
jmp 0x627980
test edi, edi
je 0x627ad5
mov eax, dword [ebp - 0x10]
inc eax
push 6
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x627ad5
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x627ad5
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x627ad5
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
lea ecx, [esi + eax]
and ebx, 0xf
jbe 0x627a66
cmp esi, ecx
jae 0x627ad5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ebx, 1
jne 0x627a54
cmp esi, ecx
jae 0x627ad5
movzx eax, word [esi]
test ax, ax
je 0x627ad5
mov edx, dword [ebp - 4]
mov edi, eax
mov ebx, eax
mov ecx, 1
mov edx, dword [edx]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x627a9c
mov ebx, dword [ebp - 4]
mov ecx, ebx
push edi
call fcn.00617960
mov edx, dword [ebx]
movzx ebx, word [esi]
movzx ecx, bx
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.006a6519
push eax
call fcn.00430810
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ecx]
cmp edi, dword [eax - 8]
jg 0x627ae0
mov dword [eax - 0xc], edi
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004307f0
int3
Function at 0x62ffd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7060a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0xbc], 0
mov eax, dword [ebp + 8]
je 0x63005e
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x630054
mov esi, dword [0x853a78]
test esi, esi
je 0x630047
push str.SendHTTPRequestAsync:_Another_async_request_already_in_progress
push 0x75b10c
push 0x75b10c
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
jmp 0x6301f5
mov eax, dword [0x853a7c]
test eax, eax
je 0x6301f5
push str.SendHTTPRequestAsync:_Another_async_request_already_in_progress
jmp 0x6301d6
cmp dword [eax + 0x10], 0
je 0x63018d
cmp dword [eax + 0x40], 0
je 0x63018d
push eax
lea ecx, [esi + 0x34]
call fcn.00630220
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esi + 0xac], eax
mov eax, dword [ebp + 0x10]
movlpd qword [ebp - 0x1c], xmm0
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], 0
mov dword [esi + 0xd8], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
push 8
mov dword [ebp - 4], 0
lea ebx, [esi + 0xb8]
call fcn.0067ba12
add esp, 4
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], edi
push 0
push 0
push edi
push 0x627fc0
push 0
movq qword [edi], xmm0
push 0
mov dword [edi], 0x630300
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
jne 0x630183
push 8
push edi
mov dword [edi], eax
mov dword [edi + 4], eax
call fcn.0067bc93
mov eax, dword [esi + 0x30]
add esp, 8
test eax, eax
jne 0x630158
mov esi, dword [0x853a78]
test esi, esi
je 0x63014f
push str.SendHTTPRequestAsync:_Failed_in_thread_creation
push 0x75b10c
push 0x75b10c
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
mov eax, 5
jmp 0x6301fa
mov eax, dword [0x853a7c]
test eax, eax
je 0x63017c
mov esi, dword [eax]
push str.SendHTTPRequestAsync:_Failed_in_thread_creation
push str.HTTPConnector
push 0x75b10c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x14
mov eax, 5
jmp 0x6301fa
test ebx, ebx
je 0x630189
mov dword [ebx], eax
xor eax, eax
jmp 0x6301fa
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x6301d1
mov esi, dword [0x853a78]
test esi, esi
je 0x6301c8
push str.SendHTTPRequestAsync:_Invalid_arguments
push 0x75b10c
push 0x75b10c
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
jmp 0x6301f5
mov eax, dword [0x853a7c]
test eax, eax
je 0x6301f5
push str.SendHTTPRequestAsync:_Invalid_arguments
mov esi, dword [eax]
push str.HTTPConnector
push 0x75b10c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x747368]
call esi
add esp, 0x14
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0xc
Function at 0x631e20
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d4b08
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push 0x760b54
call fcn.00439dd0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x631e70
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0042ff20
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x40]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.0042fd70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
lea ecx, [ebp - 0x28]
call fcn.0042fd70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x635a10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706510
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov edi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x38], al
je 0x635ac0
mov esi, dword [ebp + 0xc]
nop dword [eax]
cmp byte [edi + 0x39], 0
je 0x635ac0
push 0
lea edx, [ebp - 0x14]
add eax, ecx
push edx
mov edx, dword [ebp - 0x18]
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x14]
mov edx, eax
cmp edx, 0x6d
je 0x635a93
test ecx, ecx
jne 0x635a9d
jmp 0x635aac
cmp dword [ebp - 0x20], 0
je 0x635b5d
cmp ecx, esi
je 0x635ac0
add dword [ebp - 0x1c], ecx
sub esi, ecx
cmp ebx, 0x64
jg 0x635ade
inc ebx
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [edi + 0x38], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
jne 0x635a60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov esi, dword [0x853a78]
test esi, esi
je 0x635b16
push dword [ebp - 0x18]
mov ecx, esi
push edx
push str.Number_of_retries_to_read_pipe_exhausted_with_last_errno___lu._Aborting_read_on_pipe__p
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x635b47
mov eax, dword [0x853a7c]
test eax, eax
je 0x635b47
push dword [ebp - 0x18]
mov esi, dword [eax]
push edx
push str.Number_of_retries_to_read_pipe_exhausted_with_last_errno___lu._Aborting_read_on_pipe__p
push str.CommBridge
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x75b10c
push 0x28
push eax
call dword [0x747368]
call esi
add esp, 0x1c
push str.Terminate_channel
lea ecx, [ebp - 0x3c]
call fcn.0042fbe0
mov dword [ebp - 4], 1
jmp 0x635bdc
mov esi, dword [0x853a78]
test esi, esi
je 0x635b96
push 0x6d
push dword [ebp - 0x18]
mov ecx, esi
push str.Aborting_read_on_pipe__p___errno:__lu
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x635bc8
mov eax, dword [0x853a7c]
test eax, eax
je 0x635bc8
mov esi, dword [eax]
push 0x6d
push dword [ebp - 0x18]
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.Aborting_read_on_pipe__p___errno:__lu
push str.CommBridge
push 0x75b10c
push 0x28
push eax
call dword [0x747368]
call esi
add esp, 0x1c
push str.Terminate_channel
lea ecx, [ebp - 0x3c]
call fcn.0042fbe0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00637820
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0042fd70
mov ecx, edi
call fcn.00637630
xor al, al
jmp 0x635ac2
Function at 0x636f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], edx
push ebx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push esi
push edx
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x636fe6
cmp dword [ebp - 8], esi
ja 0x636fe6
jae 0x6370aa
call dword [sym.imp.KERNEL32.DLL_GetLastError]
add edi, dword [ebp - 8]
sub esi, dword [ebp - 8]
cmp ebx, 0xbb8
jg 0x63703c
push 0xa
inc ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push esi
add eax, edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x636fa4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [0x853a78]
mov ecx, eax
test esi, esi
je 0x6370bd
push ecx
push dword [ebp - 0xc]
mov ecx, esi
push str.Write_failed_or_else__No_of_bytes_written___data_._Aborting_write_on_pipe__p___errno:__lu
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x747368]
call esi
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov esi, dword [0x853a78]
test esi, esi
je 0x637086
push dword [ebp - 0xc]
mov ecx, esi
push eax
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x747368]
call esi
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x853a7c]
test ecx, ecx
je 0x6370ee
push dword [ebp - 0xc]
mov esi, dword [ecx]
push eax
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
push str.CommBridge
push 0x75b10c
push 0x28
push ecx
jmp 0x6370de
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
mov eax, dword [0x853a7c]
test eax, eax
je 0x6370ee
mov esi, dword [eax]
push ecx
push dword [ebp - 0xc]
push str.Write_failed_or_else__No_of_bytes_written___data_._Aborting_write_on_pipe__p___errno:__lu
push str.CommBridge
push 0x75b10c
push 0x28
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x63a480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70693f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push 8
call fcn.0067ba12
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0067ba12
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [eax], eax
push 0
push 0
push esi
push 0x639f10
push 0
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0
mov dword [esi], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x63a569
mov eax, dword [esi]
mov ecx, ebx
push eax
push dword [eax]
call fcn.0045ff30
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00441e30
push 0x40
push dword [esi]
call fcn.0067bc93
push 8
push esi
call fcn.0067bc93
add esp, 0x10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
cmp eax, 0x102
jne 0x63a52a
test edi, edi
je 0x63a58a
mov esi, dword [edi]
push str.In_CPUUtils::GetCPUDetails._Timed_out___
push str.HardwareUtils
push 0x75b10c
push 0x32
push edi
jmp 0x63a5dd
mov esi, dword [0x853a78]
test esi, esi
je 0x63a5c0
push str.In_CPUUtils::GetCPUDetails._Timed_out___
push 0x75b10c
push 0x75b10c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
xor al, al
jmp 0x63a54d
mov eax, dword [0x853a7c]
test eax, eax
je 0x63a5ed
mov esi, dword [eax]
push str.In_CPUUtils::GetCPUDetails._Timed_out___
push str.HardwareUtils
push 0x75b10c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x14
xor al, al
jmp 0x63a54d