joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000873a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x768c7c]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x768c80]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [0x768c84]
cmp dword [edi + 8], 2
mov esi, dword [edi]
sete bl
mov dword [ebp - 0xc], eax
mov eax, dword [0x768c88]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 8], eax
lea ebx, [ebx*4 + 2]
add esi, ebx
mov dword [ebp - 0x28], ebx
mov ecx, esi
mov dword [ebp - 0x1c], esi
and ecx, 0x80000007
jns 0x1000879d
dec ecx
or ecx, 0xfffffff8
add ecx, 1
je 0x100087a9
push 8
pop eax
sub eax, ecx
add esi, eax
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + 0xc]
mov eax, esi
cdq
add ecx, ebx
and edx, 3
mov dword [ebp - 0x20], ecx
add eax, edx
xor edx, edx
sar eax, 2
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x1000883d
mov edi, dword [ecx + edx*4]
xor esi, esi
mov ebx, dword [ecx + edx*4 + 4]
push 0x20
pop edx
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
and eax, 3
add ecx, ebx
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
sub esi, 0x61c88647
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
shr eax, 0xd
add ecx, edi
and eax, 3
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
xor ecx, eax
add ebx, ecx
sub edx, 1
jne 0x100087d4
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + edx*4], edi
mov dword [ecx + edx*4 + 4], ebx
add edx, 2
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x24]
jl 0x100087c8
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 0xc]
lea ecx, [ebx - 2]
add ecx, esi
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10009f75
leave
ret
Function at 0x10008859
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x768c7c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x768c80]
mov dword [ebp - 0x10], eax
mov eax, dword [0x768c84]
mov dword [ebp - 0xc], eax
mov eax, dword [0x768c88]
mov dword [ebp - 8], eax
mov eax, edx
cdq
and edx, 3
add eax, edx
xor edx, edx
sar eax, 2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
test eax, eax
jle 0x1000891b
push ebx
push edi
mov edi, dword [esi + edx*4 + 2]
mov ebx, dword [esi + edx*4 + 6]
mov esi, 0xc6ef3720
push 0x20
pop edx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
shr eax, 0xd
add ecx, edi
and eax, 3
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
add esi, 0x61c88647
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
and eax, 3
add ecx, ebx
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
xor ecx, eax
sub edi, ecx
sub edx, 1
jne 0x100088b8
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [esi + edx*4 + 2], edi
mov dword [esi + edx*4 + 6], ebx
add edx, 2
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x20]
jl 0x100088a8
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10009f75
leave
ret
Function at 0x100095b2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100095d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x10009695
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x100095fb
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10009600
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x10009661
jg 0x10009615
test esi, esi
je 0x10009661
test ecx, ecx
jl 0x1000965c
jg 0x1000961f
test eax, eax
je 0x1000965c
cmp edi, ecx
jg 0x10009631
jl 0x10009629
cmp esi, eax
jae 0x10009631
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x10009664
mov ecx, dword [ebp + 8]
jmp 0x1000966e
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x10009689
jg 0x1000966e
test esi, esi
je 0x10009689
cmp dword [ebx + 0x4c], 0
je 0x10009689
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1000969a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
jg 0x100096bc
jl 0x100096b3
test edi, edi
jne 0x100096bc
xor eax, eax
xor edx, edx
jmp 0x1000978b
cmp dword [ecx + 0x38], 0
je 0x100096d2
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x1000978b
mov eax, dword [ecx + 0x1c]
push esi
mov esi, edi
mov edx, dword [eax]
test edx, edx
je 0x1000971d
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x1000971d
cmp eax, edi
jb 0x100096f3
mov eax, edi
mov dword [ebp + 0x10], edi
mov esi, dword [ebp + 8]
push eax
push edx
push esi
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp + 0x10]
add esi, edx
mov dword [ebp + 8], esi
mov esi, edi
sub esi, edx
mov eax, dword [ecx + 0x2c]
sub dword [eax], edx
mov eax, dword [ecx + 0x1c]
add dword [eax], edx
jmp 0x10009723
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ecx + 0x4c], 0
je 0x10009781
call fcn.10009cd0
mov edx, dword [ebp + 8]
mov eax, esi
cmp esi, 0xfff
jbe 0x1000976b
push dword [ecx + 0x4c]
push 0xfff
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, dword [ebp + 8]
mov ecx, 0xfff
add edx, eax
add esp, 0x10
sub esi, eax
mov dword [ebp + 8], edx
cmp eax, ecx
jne 0x10009781
cmp esi, ecx
mov ecx, dword [ebp - 4]
ja 0x1000973b
mov eax, esi
test eax, eax
je 0x10009781
push dword [ecx + 0x4c]
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
sub edi, esi
mov eax, edi
sbb ebx, 0
mov edx, ebx
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x10009a01
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10009a24
xor eax, eax
jmp 0x10009ae2
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x10009a46
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x10009a46
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x10009ae2
cmp dword [esi + 0x4c], 0
push edi
je 0x10009ade
call fcn.10009cd0
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10009a62
movsx eax, bl
jmp 0x10009a9b
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10009ab0
sub eax, 1
je 0x10009ab0
dec eax
sub eax, 1
jne 0x10009ade
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x10009ada
or ebx, eax
jmp 0x10009ada
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10009ace
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10009ade
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x10009ade
mov eax, ebx
jmp 0x10009ae1
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10009f75
leave
ret 4
Function at 0x10009cf3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x10009d4b
cmp byte [esi + 0x3d], bl
je 0x10009d4b
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10009d85
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x10009d5c
sub eax, 1
je 0x10009d5f
dec eax
sub eax, 1
jne 0x10009d85
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10009f75
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10009d7d
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10009d85
cmp byte [esi + 0x3d], bl
sete al
jmp 0x10009d4d
xor al, al
jmp 0x10009d4d
Function at 0x21003bc8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0x18], 0
je 0x21003be3
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x21003bfd
xor eax, eax
jmp 0x21003c4d
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x21003c40
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x18], 0
je 0x21003c40
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x21006c1f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0x31
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x110]
push eax
call fcn.2103b570
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.21049450
add esp, 4
push eax
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esp, ebp
pop ebp
ret 8

Function at 0x2100744e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x18], 0
jge 0x21007460
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
jmp 0x21007482
push 2
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x210074db
cmp dword [ebp + 0x14], 0
jle 0x2100749c
push 5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x210074ae
cmp dword [ebp + 0x14], 0
jne 0x210074ae
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x18], 0
jl 0x210074c2
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jne 0x210074d9
jmp 0x210074db
jmp 0x21007473
mov esp, ebp
pop ebp
ret 0x14

Function at 0x21008fab
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.21049450
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop ebp
ret 0xc
Function at 0x21009ee4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x21009f13
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [ebp + 0x18], 0
je 0x21009f22
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
cmp dword [0x2107bdbc], 0
je 0x21009f32
mov dword [ebp + 0xc], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x108], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 0xc], 0
je 0x21009f6e
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x21009f6e
mov dword [ebp - 0x114], 0
jmp 0x21009f78
mov dword [ebp - 0x114], 1
cmp dword [ebp - 0x114], 0
jne 0x21009f93
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
call fcn.21041b59
cmp dword [ebp + 8], 0
je 0x21009faf
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x21009faf
mov dword [ebp - 0x118], 0
jmp 0x21009fb9
mov dword [ebp - 0x118], 1
cmp dword [ebp - 0x118], 0
jne 0x21009fd1
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], 0
movsx eax, byte [ebp - 0x108]
test eax, eax
je 0x2100a023
cmp dword [ebp + 0x18], 0
jne 0x2100a000
lea ecx, [ebp - 0x108]
push ecx
call fcn.21044ec5
mov dword [ebp - 0x110], eax
jmp 0x2100a023
push 0xfa
lea edx, [ebp - 0x108]
push edx
call fcn.21044f60
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0
setne al
mov dword [ebp - 0x110], eax
cmp dword [ebp + 0x14], 0
je 0x2100a034
cmp dword [ebp - 4], 0
je 0x2100a034
jmp 0x2100a0b9
cmp dword [ebp + 0x18], 0
je 0x2100a042
cmp dword [ebp - 8], 0
je 0x2100a042
jmp 0x2100a0b9
cmp dword [ebp - 4], 0
je 0x2100a050
cmp dword [ebp + 0x18], 0
jne 0x2100a050
jmp 0x2100a0b9
cmp dword [ebp - 0x110], 0
je 0x2100a061
cmp dword [ebp + 0x14], 0
jne 0x2100a061
jmp 0x2100a0b9
cmp dword [ebp + 0x10], 0
je 0x2100a075
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x10c]
jbe 0x2100a079
xor eax, eax
jmp 0x2100a0da
movsx ecx, byte [ebp - 0x108]
test ecx, ecx
je 0x2100a096
push 0xfa
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
call fcn.2104754b
test eax, eax
jne 0x2100a0b4
xor eax, eax
jmp 0x2100a0da
jmp 0x21009f93
cmp dword [ebp + 0x14], 0
je 0x2100a0c7
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp + 0x18], 0
je 0x2100a0d5
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x2100a3dc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x2100a3ec
xor eax, eax
jmp 0x2100a453
mov dword [ebp - 0x10], 0
push 4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.210490b0
add esp, 0xc
push 4
lea edx, [ebp + 0x10]
push edx
lea eax, [ebp - 8]
push eax
call fcn.210490b0
add esp, 0xc
push 4
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.210490b0
add esp, 0xc
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2100a445
jmp 0x2100a451
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
jmp 0x2100a453
jmp 0x2100a44c
mov esp, ebp
pop ebp
ret 0x10

Function at 0x2100a459
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x2100a46c
xor eax, eax
jmp 0x2100a50a
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
call fcn.21058728
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x2100a49c
xor eax, eax
jmp 0x2100a50a
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
cmp dword [ebp + 0x14], 0
je 0x2100a4c1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.210490b0
add esp, 0xc
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 4
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x2100a4ea
jmp 0x2100a508
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.21058751
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x2100a50a
jmp 0x2100a4f1
mov esp, ebp
pop ebp
ret 0x18
Function at 0x2100ba47
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [0x2107b248]
call fcn.2102544e
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret 4

Function at 0x2100be62
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x110], ecx
lea eax, [ebp - 0x10c]
mov dword [ebp - 4], eax
push 0x2107bf48
mov ecx, dword [ebp - 4]
push ecx
call fcn.21048fc0
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.21049450
add esp, 4
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 1]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax], 0x319
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x2107ba78]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10c]
sub eax, ecx
push eax
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret

Function at 0x2100bef2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x21062c7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x5c], 1
push 1
lea ecx, [ebp - 0x44]
call fcn.2103dd90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.21058071
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [str.ServerCache]
push ecx
lea ecx, [ebp - 0x44]
call fcn.2103aaec
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x64], eax
push 0
mov ecx, dword [ebp - 0x64]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.21029078
test eax, eax
jne 0x2100bf92
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x54
push ecx
mov edx, dword [ebp - 0x68]
push edx
lea ecx, [ebp - 0x58]
call fcn.21058279
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [str.ServerCache]
push ecx
lea ecx, [ebp - 0x44]
call fcn.2103abe5
mov dword [ebp - 0x5c], eax
push 0
lea edx, [ebp - 0x60]
push edx
push 4
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.210580a4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0x21066964
lea ecx, [ebp - 0x44]
call fcn.210391f5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret