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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d8b90
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x7e500c]
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.00427050
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004f9c50
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.00605980
lea eax, [ebp - 0x58]
mov edx, 0x71a2e0
push eax
lea ecx, [ebp - 0x70]
call fcn.00431170
add esp, 4
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x5d944a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004272f0
lea ecx, [ebp - 0x70]
call fcn.00427170
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.00605b20
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004f9cd0
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 0x5d94fc
mov dl, 1
mov ecx, esi
call fcn.005e0b80
test eax, eax
jne 0x5d94fc
cmp dword [esi + 0x10], eax
je 0x5d94fc
cmp dword [ebp - 0x18], eax
je 0x5d94fc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x5d94cc
mov esi, dword [esi]
push eax
push esi
call fcn.0067f029
add esp, 8
test eax, eax
jne 0x5d94fc
lea ecx, [edi + 0xd4]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x5d94f8
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004271d0
mov bl, 1
jmp 0x5d94fe
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.00427170
lea ecx, [ebp - 0x58]
call fcn.00427170
lea ecx, [ebp - 0x28]
call fcn.00427170
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.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x5dd350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d8f87
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7e500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
call fcn.0063e9f0
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.00642660
mov ecx, 8
call fcn.006472d0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
lea edi, [ebx + 0x48]
mov byte [ebp - 4], 4
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
call fcn.0063e9f0
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.00642660
mov ecx, 8
call fcn.006472d0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, ebx
mov byte [ebx + 0x5c], 1
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 0x5ddd60
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d903b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0xcc], ecx
mov esi, dword [ebx + 0x10]
push 0x11
mov dword [esi], 0x10
call fcn.00651294
add esp, 4
mov dword [edi], eax
mov ecx, dword [esi]
inc ecx
push ecx
push 0
push eax
call fcn.00663090
add esp, 0xc
lea eax, [ebp - 0xc8]
push 0xb0
push 0
push eax
call fcn.00663090
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x6c], eax
add esp, 0xc
lea eax, [ebp - 0x68]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x70], 0x10
mov byte [ebp - 0x77], 1
mov dword [ebp - 0x20], 0x10
mov byte [ebp - 0x27], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0xc8], vtable.CryptoPP::Weak1::MD5.0
push dword [ebx + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push dword [ebp - 0xcc]
mov esi, dword [edi]
call fcn.006483d0
mov eax, dword [ebp - 0xc8]
push esi
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x707770]
lea ecx, [ebp - 0xc8]
call esi
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x68]
cmp edi, eax
jne 0x5dde8a
mov ecx, dword [ebp - 0x20]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0xb8]
cmp edi, eax
jne 0x5dde9e
mov ecx, dword [ebp - 0x70]
xor eax, eax
rep stosd dword es:[edi], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x5dfc40
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
call fcn.005dd350
mov byte [esi + 0xb1], 1
lea eax, [esi + 0x70]
mov dword [eax + 0x48], 0x10
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [eax + 0x4c], eax
lea eax, [esi + 0xc0]
mov byte [eax + 0x41], 1
mov dword [eax + 0x48], 0x10
mov dword [eax + 0x4c], eax
mov eax, dword [esi + 0x10c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, esi
mov dword [esi + 0x60], vtable.CryptoPP::SHA1.0
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5e0b80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6acbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7e500c]
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 bl, dl
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5e0bb9
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5e0bd6
test eax, 0x400
je 0x5e0bd6
mov eax, 1
jmp 0x5e0c53
test bl, bl
je 0x5e0c51
push esi
lea ecx, [ebp - 0x28]
call fcn.00427050
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00427050
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.005cc0b0
test al, al
je 0x5e0c41
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
lea esi, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmp edi, 8
cmovae eax, ebx
cmp dword [ebp - 0x2c], 8
cmovae esi, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x18]
jne 0x5e0c6f
test edx, edx
je 0x5e0c41
sub esi, eax
nop dword [eax + eax]
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x5e0c6f
add eax, 2
sub edx, 1
jne 0x5e0c30
lea ecx, [ebp - 0x40]
call fcn.00427170
lea ecx, [ebp - 0x28]
call fcn.00427170
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 - 0x10]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
cmp edi, 8
lea eax, [ebp - 0x28]
cmovae eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5e0c8b
test eax, 0x400
jne 0x5e0cb4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x28]
call fcn.005cc0b0
test al, al
jne 0x5e0c03
jmp 0x5e0c41
lea ecx, [ebp - 0x40]
call fcn.00427170
lea ecx, [ebp - 0x28]
call fcn.00427170
mov eax, 2
jmp 0x5e0c53
Function at 0x5e8a40
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, 0x806bd0
push 0
call fcn.00661ca8
mov edi, eax
mov dword [ebp - 8], 1
test edi, edi
je 0x5e8bd5
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 0x5e8adc
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x5e8adc
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x5e8adc
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 0x5e8ad2
cmp esi, edx
jae 0x5e8adc
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x5e8ac0
cmp esi, edx
jae 0x5e8adc
cmp word [esi], 0
jne 0x5e8afd
mov ebx, dword [ebp - 8]
mov ecx, 0x806bd0
push ebx
call fcn.00661ca8
mov edi, eax
inc ebx
mov dword [ebp - 8], ebx
test edi, edi
je 0x5e8bd5
mov eax, dword [ebp - 0xc]
jmp 0x5e8a80
test edi, edi
je 0x5e8bd5
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 0x5e8bd5
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x5e8bd5
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x5e8bd5
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
lea ecx, [esi + eax]
and ebx, 0xf
jbe 0x5e8b66
cmp esi, ecx
jae 0x5e8bd5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ebx, 1
jne 0x5e8b54
cmp esi, ecx
jae 0x5e8bd5
movzx eax, word [esi]
test ax, ax
je 0x5e8bd5
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 0x5e8b9c
mov ebx, dword [ebp - 4]
mov ecx, ebx
push edi
call fcn.005d53e0
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.00680e0b
push eax
call fcn.00427be0
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ecx]
cmp edi, dword [eax - 8]
jg 0x5e8be0
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.00427bc0
int3
Function at 0x5f0830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6da9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x7e500c]
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 0x5f08be
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x5f08b4
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f08a7
push str.SendHTTPRequestAsync:_Another_async_request_already_in_progress
push 0x71a27c
push 0x71a27c
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5f0a55
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f0a55
push str.SendHTTPRequestAsync:_Another_async_request_already_in_progress
jmp 0x5f0a36
cmp dword [eax + 0x10], 0
je 0x5f09ed
cmp dword [eax + 0x40], 0
je 0x5f09ed
push eax
lea ecx, [esi + 0x34]
call fcn.005f0a80
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.00650ded
add esp, 4
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], edi
push 0
push 0
push edi
push 0x5e8d60
push 0
movq qword [edi], xmm0
push 0
mov dword [edi], 0x5f0b60
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
jne 0x5f09e3
push 8
push edi
mov dword [edi], eax
mov dword [edi + 4], eax
call fcn.0065106e
mov eax, dword [esi + 0x30]
add esp, 8
test eax, eax
jne 0x5f09b8
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f09af
push str.SendHTTPRequestAsync:_Failed_in_thread_creation
push 0x71a27c
push 0x71a27c
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
mov eax, 5
jmp 0x5f0a5a
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f09dc
mov esi, dword [eax]
push str.SendHTTPRequestAsync:_Failed_in_thread_creation
push str.HTTPConnector
push 0x71a27c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x707770]
call esi
add esp, 0x14
mov eax, 5
jmp 0x5f0a5a
test ebx, ebx
je 0x5f09e9
mov dword [ebx], eax
xor eax, eax
jmp 0x5f0a5a
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x5f0a31
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f0a28
push str.SendHTTPRequestAsync:_Invalid_arguments
push 0x71a27c
push 0x71a27c
push str.HTTPConnector
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5f0a55
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f0a55
push str.SendHTTPRequestAsync:_Invalid_arguments
mov esi, dword [eax]
push str.HTTPConnector
push 0x71a27c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x707770]
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.00650ddc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5f2680
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aee58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7e500c]
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 0x71a6a8
call fcn.00431250
add esp, 4
mov dword [ebp - 4], 0
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x5f26d0
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.004272f0
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.00427170
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.00427170
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.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x5f6320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dae80
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7e500c]
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 0x5f63d0
mov esi, dword [ebp + 0xc]
nop dword [eax]
cmp byte [edi + 0x39], 0
je 0x5f63d0
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 0x5f63a3
test ecx, ecx
jne 0x5f63ad
jmp 0x5f63bc
cmp dword [ebp - 0x20], 0
je 0x5f646d
cmp ecx, esi
je 0x5f63d0
add dword [ebp - 0x1c], ecx
sub esi, ecx
cmp ebx, 0x64
jg 0x5f63ee
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 0x5f6370
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.00650ddc
mov esp, ebp
pop ebp
ret
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f6426
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 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x5f6457
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f6457
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 0x71a27c
push 0x28
push eax
call dword [0x707770]
call esi
add esp, 0x1c
push str.Terminate_channel
lea ecx, [ebp - 0x3c]
call fcn.00426fe0
mov dword [ebp - 4], 1
jmp 0x5f64ec
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f64a6
push 0x6d
push dword [ebp - 0x18]
mov ecx, esi
push str.Aborting_read_on_pipe__p___errno:__lu
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x5f64d8
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f64d8
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 0x71a27c
push 0x28
push eax
call dword [0x707770]
call esi
add esp, 0x1c
push str.Terminate_channel
lea ecx, [ebp - 0x3c]
call fcn.00426fe0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.005f8100
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00427170
mov ecx, edi
call fcn.005f7f10
xor al, al
jmp 0x5f63d2
Function at 0x5f7850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x7e500c]
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 0x5f78c6
cmp dword [ebp - 8], esi
ja 0x5f78c6
jae 0x5f798a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
add edi, dword [ebp - 8]
sub esi, dword [ebp - 8]
cmp ebx, 0xbb8
jg 0x5f791c
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 0x5f7884
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [0x8076a4]
mov ecx, eax
test esi, esi
je 0x5f799d
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 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x707770]
call esi
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f7966
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 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x28
call dword [0x707770]
call esi
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x5f79ce
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 0x71a27c
push 0x28
push ecx
jmp 0x5f79be
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f79ce
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 0x71a27c
push 0x28
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x5fa920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6db24f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x7e500c]
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.00650ded
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.00650ded
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [eax], eax
push 0
push 0
push esi
push 0x5fa3b0
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 0x5faa09
mov eax, dword [esi]
mov ecx, ebx
push eax
push dword [eax]
call fcn.004548b0
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.004393c0
push 0x40
push dword [esi]
call fcn.0065106e
push 8
push esi
call fcn.0065106e
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.00650ddc
mov esp, ebp
pop ebp
ret
cmp eax, 0x102
jne 0x5fa9ca
test edi, edi
je 0x5faa2a
mov esi, dword [edi]
push str.In_CPUUtils::GetCPUDetails._Timed_out___
push str.HardwareUtils
push 0x71a27c
push 0x32
push edi
jmp 0x5faa7d
mov esi, dword [0x8076a4]
test esi, esi
je 0x5faa60
push str.In_CPUUtils::GetCPUDetails._Timed_out___
push 0x71a27c
push 0x71a27c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
xor al, al
jmp 0x5fa9ed
mov eax, dword [0x8076a8]
test eax, eax
je 0x5faa8d
mov esi, dword [eax]
push str.In_CPUUtils::GetCPUDetails._Timed_out___
push str.HardwareUtils
push 0x71a27c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x14
xor al, al
jmp 0x5fa9ed