joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009f780
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1009f5c0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1009f84b
mov dword [ebp - 4], 0
jmp 0x1009f7dc
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1009f84b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100a2401
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009f849
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100a2401
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1009f3e0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100a2401
jmp 0x1009f7d3
pop esi
add esp, 8
cmp ebp, esp
call fcn.100a2401
mov esp, ebp
pop ebp
ret

Function at 0x1009f860
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1009f90b
mov dword [ebp - 4], 0
jmp 0x1009f893
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1009f8ee
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100a2401
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009f8ec
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100a2401
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100a2401
jmp 0x1009f88a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x100d1cd4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100a2401
pop esi
add esp, 8
cmp ebp, esp
call fcn.100a2401
mov esp, ebp
pop ebp
ret
Function at 0x1009f920
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x100ec960]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1009f983
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100a2401
test eax, eax
jne 0x1009f9ae
mov eax, 0xa
jmp 0x1009fab0
cmp dword [ebp + 0xc], 0
je 0x1009f9fa
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1009f9f8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x1009fa36
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1009fa21
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1009fa36
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100a2401
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100a2401
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100a2401
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1009fad4]
call fcn.100a23ad
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100a2401
mov esp, ebp
pop ebp
ret
Function at 0x100a01a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x100ec954]
mov dword [ebp - 4], eax
jmp 0x100a01c7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100a01e0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100a01de
mov eax, dword [ebp - 4]
jmp 0x100a0264
jmp 0x100a01bf
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100a2401
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a0261
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100a0223
mov edx, dword [ebp - 4]
mov eax, dword [0x100ec954]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100ec954], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100a2401
mov esp, ebp
pop ebp
ret

Function at 0x100a0750
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100a07a0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100a07a0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100a07a0
xor eax, eax
jmp 0x100a07e1
mov dword [ebp - 4], 1
jmp 0x100a07b2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100a07dc
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100a07da
xor eax, eax
jmp 0x100a07e1
jmp 0x100a07a9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43d130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31000]
push edi
jmp 0x43d14a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43d151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43d140
mov eax, 1
add ebx, ebx
jne 0x43d163
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43d158
jne 0x43d174
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d158
xor ecx, ecx
sub eax, 3
jb 0x43d188
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43d1fa
mov ebp, eax
add ebx, ebx
jne 0x43d193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43d1a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43d1c4
inc ecx
add ebx, ebx
jne 0x43d1b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43d1a5
jne 0x43d1c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d1a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43d1e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43d1d5
jmp 0x43d146
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43d1e4
add edi, ecx
jmp 0x43d146
pop esi
mov edi, esi
mov ecx, 0x109d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43d202
cmp byte [edi], 6
jne 0x43d202
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43d207
lea edi, [esi + 0x3b000]
mov eax, dword [edi]
or eax, eax
je 0x43d27f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3e164]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3e220]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43d234
mov ecx, edi
jns 0x43d263
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3e228]
or eax, eax
je 0x43d279
mov dword [ebx], eax
add ebx, 4
jmp 0x43d251
call dword [esi + 0x3e224]
mov ebp, dword [esi + 0x3e22c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43d2b3
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x10001060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call fcn.1000106f
Function at 0x401d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ddbd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56fcd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.004deddf
add esp, 4
test eax, eax
je 0x401da4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
jmp 0x401da6
xor eax, eax
mov dword [ebp + 8], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x407640
push 0
push 0
call fcn.004f40df
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x401de3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.004dd640
int3
Function at 0x4028d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50df75
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x56fcd4]
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
mov dword [ebp - 0x4c], edi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], edi
movq qword [edi + 4], xmm0
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0
push 2
push eax
call fcn.004dd258
lea eax, [edi + 0x3c]
push eax
call fcn.004dd36e
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test edx, edx
jl 0x402a22
mov eax, dword [ebp + 0xc]
jg 0x402948
test eax, eax
je 0x402a22
lea ecx, [ebp - 0x40]
mov byte [edi], 1
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x1c], 0
mov ecx, dword [esi + 0x24]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x402977
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 0x38
mov byte [ebp - 4], 4
call fcn.004deddf
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x4029c7
mov eax, dword [ebp - 0x48]
lea ebx, [esi + 8]
mov dword [esi], eax
mov dword [ebp - 0x58], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4029b9
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
jmp 0x4029c9
xor esi, esi
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 7
push eax
push 0
push esi
push 0x4075c0
push 0
push 0
call fcn.004f40df
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x402a4a
cmp dword [edi + 8], 0
jne 0x402a45
mov eax, dword [ebp - 0x50]
xorps xmm0, xmm0
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x1c]
movlpd qword [ebp - 0x54], xmm0
mov dword [edi + 8], eax
test ecx, ecx
je 0x402a25
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x402a25
mov byte [edi], 0
mov eax, edi
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.004df28f
mov esp, ebp
pop ebp
ret 0xc
call fcn.004f3616
push 6
mov dword [ebp - 0x50], 0
call fcn.004dd640
int3
Function at 0x40d870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eef5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x56fcd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 1
jne 0x40d8d3
push dword [0x57640c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x40d8d3
cmp dword [eax], esi
je 0x40d8f1
mov eax, dword [eax + 8]
test eax, eax
jne 0x40d8c8
push dword [0x57640c]
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x40d97c
mov eax, dword [eax + 4]
jmp 0x40d97e
cmp dword [eax + 4], 0
je 0x40d8d3
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [eax], 0
mov dword [ebp - 4], 0
nop
mov byte [ebp - 4], 2
test esi, esi
je 0x40d923
mov ecx, esi
xor esi, esi
push 1
push ecx
mov dword [ebp + 8], esi
mov eax, dword [ecx]
call eax
add esp, 8
nop
mov dword [ebp - 4], 3
test esi, esi
je 0x40da09
mov eax, dword [esi]
push 0
push esi
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 4
push 0x28
push eax
push dword [ebp + 8]
call fcn.00409490
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 0x10
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x43ae40
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov dword [ecx], 0
mov ecx, dword [edi + 4]
mov eax, ecx
and ecx, 3
and eax, 0xfffffffc
shr ecx, 1
push ecx
push edx
mov ecx, dword [eax + 8]
call fcn.004482a0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 7
call fcn.004492c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4158c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f844
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x56fcd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x34
call fcn.004deddf
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4159be
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0xfffffffffffffff5
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_spdlog::sinks::wincolor_stdout_sink_struct_spdlog::details::console_mutex__.0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [0x578e68]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], eax
mov eax, dword fs:[0x2c]
mov dword [esi + 0xc], vtable.spdlog::sinks::wincolor_sink_struct_spdlog::details::console_mutex_.0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5762d4]
cmp eax, dword [ecx + 0x30]
jg 0x4159e2
lea eax, [ebp - 0x10]
mov dword [esi + 0x18], 0x5762a4
push eax
call fcn.00415fe0
add esp, 4
mov ecx, dword [eax]
mov dword [eax], 0
mov dword [esi + 0x20], ecx
lea ecx, [ebp - 0x10]
call fcn.00427450
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
mov dword [esi + 0xc], vtable.spdlog::sinks::wincolor_stdout_sink_struct_spdlog::details::console_mutex_.0
setne al
mov byte [esi + 0x1c], al
xor eax, eax
mov dword [esi + 0x24], 0x30007
mov dword [esi + 0x28], 0xe0002
mov dword [esi + 0x2c], 0x4f000c
mov word [esi + 0x30], ax
jmp 0x4159c0
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
mov dword [eax + 4], 0
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x5762d4
call fcn.004df13e
add esp, 4
cmp dword [0x5762d4], 0xffffffff
jne 0x41595f
push 2
push 0x5762a4
call fcn.004dd258
push 0x517210
call fcn.004df0ad
push 0x5762d4
call fcn.004df0ed
add esp, 0x10
jmp 0x41595f
Function at 0x419720
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x12c
mov eax, dword [0x56fcd4]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x134]
mov edx, dword [esp + 0x130]
push ebp
push esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ebp, dword [edx]
mov esi, dword [esp + 0x148]
push edi
mov edi, dword [esp + 0x144]
mov dword [esp + 0x24], ecx
mov ecx, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, 0x1c
cmp word [edi], 2
mov dword [esp + 0x1c], edi
cmovne ecx, eax
mov al, byte [edx + 4]
mov dword [esp + 0x18], ecx
mov byte [esp + 0xf], al
cmp ebp, 0xffffffff
jne 0x4197a0
call fcn.004436b0
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi], 0x2719
jmp 0x4198a7
push ebx
lea ebx, [esi + 4]
push 0
push 0
push ecx
push edi
push dword [esp + 0x15c]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 1
lea eax, [esp + 0x40]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov dword [esp + 0x18], eax
call fcn.004436b0
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], edi
cmp eax, 0x40
jne 0x4197f4
call fcn.004436b0
mov dword [esi], 0x2746
jmp 0x419806
cmp eax, 0x4d2
jne 0x41980c
call fcn.004436b0
mov dword [esi], 0x274d
lea ebx, [esi + 4]
mov dword [esi + 4], eax
cmp dword [esp + 0x18], 0
jne 0x419825
mov eax, dword [esp + 0x14]
mov dword [esi], 0
test eax, eax
jns 0x4198a6
test byte [esp + 0x13], 1
jne 0x4198a4
call fcn.004436b0
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x419843
cmp dword [esi], 0x2733
je 0x41985a
call fcn.004436b0
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x4198a4
cmp dword [esi], 0x4d5
jne 0x4198a4
push 0
push 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], ebp
push eax
push 0
lea eax, [ebp + 1]
mov dword [esp + 0x44], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x419892
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esi], 0
jmp 0x4197a4
call fcn.004436b0
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004df28f
add esp, 0x12c
ret 0x14
Function at 0x4219e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510795
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x56fcd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
push 0x40
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.00437a30
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov ecx, eax
mov dword [ebp - 0x18], 0x37
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x51b0ac]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x51b0bc]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x51b0cc]
mov dword [ecx + 0x30], eax
mov ax, word [0x51b0d0]
mov word [ecx + 0x34], ax
mov al, byte [0x51b0d2]
mov byte [ecx + 0x36], al
mov byte [ecx + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 0
call fcn.0041f8f0
mov ecx, dword [ebp - 0x14]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0x10
jb 0x421ad5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x421acb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421af7
push ecx
push edx
call fcn.004dee43
add esp, 8
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df28f
mov esp, ebp
pop ebp
ret
call fcn.004eaaef
int3
Function at 0x421b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510795
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x56fcd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
push 0x40
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.00437a30
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov ecx, eax
mov dword [ebp - 0x18], 0x37
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x51b0ac]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x51b0bc]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x51b0cc]
mov dword [ecx + 0x30], eax
mov ax, word [0x51b0d0]
mov word [ecx + 0x34], ax
mov al, byte [0x51b0d2]
mov byte [ecx + 0x36], al
mov byte [ecx + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 0
call fcn.0041f8f0
mov ecx, dword [ebp - 0x14]
mov dword [esi], vtable.CryptoPP::NotImplemented.0
cmp ecx, 0x10
jb 0x421c85
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x421c7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421ca7
push ecx
push edx
call fcn.004dee43
add esp, 8
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::Filter_::InputRejected.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df28f
mov esp, ebp
pop ebp
ret
call fcn.004eaaef
int3