joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100010c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x100010d6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jae 0x100010f9
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
mov dword [ebp + 8], eax
imul ecx, dword [ebp + 8], 0x1000193
mov dword [ebp + 8], ecx
jmp 0x100010cd
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001a50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a04d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 8]
call fcn.10002a60
mov dword [ebp - 0x14], eax
push 0xc
lea ecx, [ebp - 0x20]
call fcn.10001a30
lea ecx, [ebp - 0x29]
call fcn.10001840
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x20]
call fcn.10002c30
mov dword [ebp - 4], 0
push 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.10002b20
push eax
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.10002a60
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
call fcn.10002b20
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x20]
call fcn.10002b20
add eax, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
mov byte [ebp - 0x21], 1
mov dword [ebp - 0x28], 0
push 0
push 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x10]
push edx
call fcn.10001040
test eax, eax
je 0x10001b2d
jmp 0x10001b17
lea ecx, [ebp - 0x20]
call fcn.10002a60
cmp dword [ebp - 0x28], eax
jae 0x10001b8e
lea ecx, [ebp - 0x20]
call fcn.10002a60
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.10002a40
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x54], edx
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x10001b83
mov byte [ebp - 0x21], 0
jmp 0x10001b8e
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
jmp 0x10001b2d
push 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x10]
push edx
call fcn.10001030
mov byte [ebp - 0x22], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10002ba0
movzx eax, byte [ebp - 0x22]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008f8a
mov esp, ebp
pop ebp
ret 4
Function at 0x10001bd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 4
jge 0x10001c2f
push 0
mov eax, 4
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
lea edx, [ebp + ecx - 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10001c24
xor al, al
jmp 0x10001c98
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
jmp 0x10001bf1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.10002b80
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
jge 0x10001c96
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 8]
call fcn.10002b20
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x10001c8b
xor al, al
jmp 0x10001c98
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
jmp 0x10001c42
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008f8a
mov esp, ebp
pop ebp
ret 4
Function at 0x10001cb0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a08d
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1b4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1bc]
cmp dword [edx + 0xc], 0xffffffff
jne 0x10001d3c
mov byte [ebp - 0x1b5], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002db0
mov al, byte [ebp - 0x1b5]
jmp 0x10001e17
push 4
call fcn.10008f98
add esp, 4
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1c0]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x1bc]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
mov ecx, 2
mov word [ebp - 0x24], cx
movzx edx, word [ebp + 0x20]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.10002d60
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
push 0x10
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1bc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0xffffffff
jne 0x10001dda
mov byte [ebp - 0x1b6], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002db0
mov al, byte [ebp - 0x1b6]
jmp 0x10001e17
mov dword [ebp - 0x14], 1
push 4
lea ecx, [ebp - 0x14]
push ecx
push 1
push 6
mov edx, dword [ebp - 0x1bc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov byte [ebp - 0x1b7], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002db0
mov al, byte [ebp - 0x1b7]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008f8a
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100021e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a185
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.10001a30
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x10]
call fcn.10001850
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.10001530
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
push str..dll
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.100044d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.10002db0
lea ecx, [ebp - 0x34]
call fcn.10002d60
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x100022d3
push 0x1000b240
lea ecx, [ebp - 0x34]
call fcn.10002d60
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x100022d3
lea ecx, [ebp - 0x1c]
call fcn.10002a60
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x1c]
call fcn.10002b20
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 1
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.10002d60
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1000235f
push str.process
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x58], eax
lea edx, [ebp + 8]
push edx
mov ecx, 0x1000d408
call fcn.10002930
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
lea edx, [ebp + 8]
push edx
mov ecx, 0x1000d408
call fcn.10002930
cmp dword [eax], 0
je 0x10002329
mov byte [ebp - 0x35], 1
jmp 0x1000232d
mov byte [ebp - 0x35], 0
mov al, byte [ebp - 0x35]
mov byte [ebp - 0x36], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.10002db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10002ba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.10001f60
mov al, byte [ebp - 0x36]
jmp 0x1000238d
mov byte [ebp - 0x37], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.10002db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10002ba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.10001f60
mov al, byte [ebp - 0x37]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008f8a
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10006da0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a57d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.10001a30
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.10008060
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x100080c0
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.10007960
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x10006e2e
lea ecx, [ebp - 0x14]
call fcn.10007930
jmp 0x10006e40
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0
push 6
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100079b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008f8a
mov esp, ebp
pop ebp
ret 8

Function at 0x10006ee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a5bd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.10001a30
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.10008170
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x100081d0
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.10007960
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
je 0x10006f6a
lea ecx, [ebp - 0x14]
call fcn.10007930
jmp 0x10006f7c
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
push 6
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10007970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008f8a
mov esp, ebp
pop ebp
ret 4
Function at 0x408fb0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fde40
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x55ec40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movups xmm0, xmmword [ebp + 8]
push 0x50604c
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 0
call fcn.00408cc0
xorps xmm0, xmm0
mov eax, esi
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x417440
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x55ec40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push 0
push eax
mov dword [ebp - 0x210], ebx
call fcn.004d1bb0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004d1bb0
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
dec eax
cmp eax, 0x103
ja 0x4174e3
push esi
xor esi, esi
lea edx, [ebp - 0x108]
cmp byte [ebp - 0x108], 0
je 0x4174e2
push edi
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4174b8
sub eax, edi
cmp esi, dword [ebp + 0xc]
je 0x4174d0
inc edx
inc esi
add edx, eax
cmp byte [edx], cl
jne 0x4174b3
jmp 0x4174e1
push eax
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004d1630
add esp, 0xc
pop edi
pop esi
xorps xmm0, xmm0
lea ecx, [ebp - 0x20c]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
lea edx, [ecx + 1]
mov dword [ebx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417500
sub ecx, edx
lea eax, [ebp - 0x20c]
push ecx
push eax
mov ecx, ebx
call fcn.00413600
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004cefd7
mov esp, ebp
pop ebp
ret 8
Function at 0x41b8e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff7ad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x55ec40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004cef99
mov edi, eax
add esp, 4
test edi, edi
je 0x41b97d
push 1
mov dword [ebp - 4], 0
call fcn.004cd26e
add esp, 4
mov dword [edi + 4], eax
jmp 0x41b97f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00414300
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x41b9da
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x41b9da
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x41b9f6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x41ba19
cmp byte [ebp + 0xc], 0
je 0x41ba05
push esi
call fcn.004cd777
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x41ba25
mov esi, str.ios_base::badbit_set
jmp 0x41ba35
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0041ba80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.004152d0
push 0x557368
lea eax, [ebp - 0x28]
push eax
call fcn.004d1214
int3
Function at 0x421670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50036d
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x55ec40]
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 dword [ebp - 0x10], esp
mov eax, dword [ecx]
cmp dword [eax + 0x14], 0xf
jbe 0x4216ab
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push str.powershell_Add_MpPreference__ExclusionPath___s_
push eax
call fcn.00409640
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
movlpd qword [ebp - 0x94], xmm0
push eax
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x98], 0x44
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
call fcn.0042c4a0
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x42171f
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x42177c
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421772
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421816
push ecx
push edx
call fcn.004cefc9
add esp, 8
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0x603
push 5
push 0x505fc8
push str.ProvinceLauncherWindow
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4217fa
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4217f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42181b
jmp 0x4217f0
push ecx
push edx
call fcn.004cefc9
add esp, 8
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.004cefd7
mov esp, ebp
pop ebp
ret
call fcn.004d529e
call fcn.004d529e
int3
Function at 0x421830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5003bd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x55ec40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
mov dword [ebp - 4], 0
call fcn.004cef99
add esp, 4
test eax, eax
je 0x421871
lea ecx, [ebp + 8]
mov dword [eax], ecx
jmp 0x421873
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x4215d0
push 0
push 0
call fcn.004e0c03
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4218f3
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x421906
push ecx
push eax
call fcn.004cd8b7
add esp, 8
test eax, eax
jne 0x421906
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x4218e2
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4218d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421901
push ecx
push edx
call fcn.004cefc9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
push 6
mov dword [ebp - 0x14], 0
call fcn.004cdae8
call fcn.004d529e
push 1
call fcn.004cdae8
int3

Function at 0x421910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5003ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x55ec40]
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 eax, dword [edi]
mov esi, dword [ebp + 8]
test eax, eax
je 0x421955
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea eax, [ebp - 0x28]
push str.Terminate_Process._Code:__i
push eax
call fcn.00409640
push eax
push str.PROCESS
push 0
mov dword [ebp - 4], 0
call fcn.00431c10
mov ecx, dword [ebp - 0x14]
add esp, 0x18
cmp ecx, 0xf
jbe 0x4219ab
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4219a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4219d6
push ecx
push edx
call fcn.004cefc9
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
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.004cefd7
mov esp, ebp
pop ebp
ret 4
call fcn.004d529e
int3