joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8729f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x362000]
push edi
or ebp, 0xffffffff
jmp 0x872a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x872a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x872a08
mov eax, 1
add ebx, ebx
jne 0x872a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x872a3c
jne 0x872a4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x872a4c
dec eax
add ebx, ebx
jne 0x872a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x872a20
xor ecx, ecx
sub eax, 3
jb 0x872a64
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x872ad6
sar eax, 1
mov ebp, eax
jmp 0x872a6f
add ebx, ebx
jne 0x872a6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x872a7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x872aa0
inc ecx
add ebx, ebx
jne 0x872a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x872a81
jne 0x872a9d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x872a81
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x872ac0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x872ab1
jmp 0x872a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x872ac0
add edi, ecx
jmp 0x872a0e
pop esi
mov edi, esi
mov ecx, 0xcccd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x872ade
cmp byte [edi], 0x27
jne 0x872ade
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 eax, ebx
loop 0x872ae3
lea edi, [esi + 0x46e000]
mov eax, dword [edi]
or eax, eax
je 0x872b5b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x486e34]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x486f74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x872b10
mov ecx, edi
jns 0x872b3f
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 + 0x486f78]
or eax, eax
je 0x872b55
mov dword [ebx], eax
add ebx, 4
jmp 0x872b2d
call dword [esi + 0x486f7c]
popal
jmp 0x5b87b1
Function at 0x1028bcc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x102c8c1c]
add eax, 0xe9a
mov dword [0x102c8c1c], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1028bd27
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x15], dl
mov eax, 1
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1028bdd2
jmp 0x1028bdcb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1028bd5b
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], ecx
jl 0x1028bd27
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1028bdcb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1028bdcb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1028bdcb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1028bdcb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1028bdcb
mov eax, dword [0x102c8c20]
add eax, 0x26b1
mov dword [0x102c8c20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1028bcfb
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x1028bdd2
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret
Function at 0x1028be70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x102c8c28], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x102c8c2c], 0
mov dword [0x102c8c1c], 0xcd2
mov dword [0x102c8c24], 0
mov dword [ebp - 0x1c], eax
jmp 0x1028bec8
mov dword [0x102c8c24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1028befa
mov eax, dword [ebp - 0x1c]
mov dword [0x102c8c1c], 0x11d2
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102c8c24]
add eax, 1
mov dword [0x102c8c24], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1028bec8
jmp 0x1028beb7
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102c8c30], 0
mov edx, dword [0x102c8c1c]
mov esi, edx
add esi, 0xfffff4ea
mov dword [0x102c8c1c], esi
mov esi, dword [0x102c8c28]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x102c8c30], ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffff1c3
mov dword [0x102c8c1c], edx
mov eax, ebx
cdq
idiv ecx
mov dword [0x102c8c28], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x102c8c2c], cl
mov dword [0x102c8c20], 0x17dd
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x102c8c1c], 0x742
mov cl, byte [0x102c8c2c]
mov ebx, dword [0x102c8c28]
mov byte [edi + ebx], cl
mov ebx, dword [0x102c8c24]
add ebx, 1
mov dword [0x102c8c24], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x1028befa
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028ca00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x102c8c1c], 0x26fd
mov dword [0x102c8c24], 0
mov dword [0x102c8c28], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x102c8c34], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x1028cb9d
xor eax, eax
mov ecx, 0x26fd
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jmp 0x1028ca70
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add ecx, 0x78a
mov dword [0x102c8c1c], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102c8c24], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102c8c28], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102c8c2c], cl
mov dword [0x102c8c1c], 0xb52
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102c8c2c]
mov edx, dword [0x102c8c28]
mov byte [edi + edx], cl
mov edx, dword [0x102c8c24]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102c8c28]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102c8c1c], 0x1ac5
and ebx, 0xff
mov dword [0x102c8c34], ebx
mov dword [0x102c8c20], 0xe6b
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x102c8c39]
mov byte [0x102c8c38], dl
mov byte [0x102c8c39], ch
mov byte [0x102c8c3a], cl
mov dword [0x102c8c1c], 0x120f
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1028cb9b
mov eax, dword [0x102c8c1c]
mov ecx, dword [0x102c8c24]
mov edx, dword [0x102c8c28]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], esi
jmp 0x1028ca70
jmp 0x1028cb9d
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028d460
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001080
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x1028d5d8
lea eax, [esp + 0x40]
mov ecx, dword [0x102c8c1c]
add ecx, 0xfffffa3e
mov dword [0x102c8c20], ecx
mov dword [esp + 0x28], eax
call fcn.1028bcc0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x1028d5d0
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.1028c600
mov dword [esp + 0x20], eax
lea eax, [0x1028c510]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x88], 0x148e00
mov ecx, dword [0x102c8c08]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x102c8c0c]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x102c8c10]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x102c8c14]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x102c8c18]
mov dword [esp + 0x84], ecx
mov dword [0x102c8c1c], 0x260
mov dword [0x102c8c20], 0xfffff7c0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x1028d56a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + ecx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
cmp eax, 0x4550
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
je 0x1028d588
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x102c8c1c], 0x7ac
mov dword [esp + 0x1c], eax
jmp 0x1028d52e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x40]
mov dword [esp + 0x68], eax
mov dword [0x102c8c1c], 0x1606
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.1028cee0
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x1028d6d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1028d1a0
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + edx + 0x78]
mov edx, eax
add edx, 0x20
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add ecx, dword [ecx + edx]
mov dword [0x102c8c1c], 0x239b
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi + edi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
je 0x1028d821
mov eax, dword [ebp - 0x18]
add eax, 0x24
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
add ecx, dword [ecx + edx]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
mov byte [ebp - 0x4b], bl
je 0x1028d7c4
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x4a]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x4b], dl
jne 0x1028d768
mov al, byte [ebp - 0x4b]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ecx
jne 0x1028d7f5
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jb 0x1028d74e
jmp 0x1028d81a
mov eax, dword [ebp - 0x50]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x14]
add esi, dword [ecx + eax*4]
mov dword [0x102c8c1c], 0xbb6
mov dword [ebp - 0x28], esi
jmp 0x1028d821
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x1028d821
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403120
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x487080]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0
push 0
push 2
push 1
push 0
mov esi, ecx
call fcn.0046dfa0
mov dword [esi + 0x244], eax
add esp, 0x14
mov dword [eax + 0x28a4], 1
mov eax, dword [esi + 0x244]
test eax, eax
je 0x40320e
mov dword [eax + 0x858], 0x471750
push dword [esi + 0x244]
call fcn.0046e270
cmp dword [ebp + 0x20], 0xf
lea eax, [ebp + 0xc]
cmova eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046cfa0
mov ax, word [ebp + 8]
push 0
push 2
push 0
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x10]
push 0
push eax
push dword [esi + 0x244]
call fcn.0046da00
add esp, 0x24
mov dword [esi + 0x240], eax
test eax, eax
je 0x40320e
push dword [esi + 0x244]
call fcn.0046f170
mov ecx, dword [ebp + 0x20]
add esp, 4
cmp ecx, 0xf
jbe 0x4031fd
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4031f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4031f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00473531
add esp, 8
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00472ead
mov esp, ebp
pop ebp
ret 0x1c
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x407350
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x487080]
xor eax, esp
mov dword [esp + 0x1a8], eax
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push eax
push 0x202
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, eax
test ecx, ecx
jne 0x4073d2
mov ecx, dword [esp + 0x18]
cmp cl, 2
jne 0x4073af
shr ecx, 8
cmp cl, 2
jne 0x4073af
mov ecx, dword [esp + 0x1ac]
mov eax, esi
mov byte [esi], 1
pop esi
xor ecx, esp
call fcn.00472ead
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Invalid_WinSock_version
lea ecx, [esp + 8]
call fcn.004013d0
push 0x4848a4
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.WSAStartup_failed
call fcn.00401ac0
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.00401790
push 0x484894
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x407460
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x487080]
xor eax, esp
mov dword [esp + 0x18], eax
mov al, byte [ebp + 8]
push esi
mov esi, ecx
test al, al
jne 0x407485
mov eax, 2
jmp 0x40748e
cmp al, 1
jne 0x4074d1
mov eax, 0x17
push 6
push 1
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4074ea
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x407513
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00472ead
mov esp, ebp
pop ebp
ret 4
push ecx
lea ecx, [esp + 8]
call fcn.00407230
push 0x4849e4
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Failed_to_create_socket
call fcn.00401ac0
push eax
call sub.WS2_32.dll_WSAGetLastError
push eax
lea ecx, [esp + 0x10]
call fcn.00401790
push 0x484894
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, esi
call fcn.004078f0
push str.Failed_to_get_socket_flags
call fcn.00401ac0
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [esp + 0x10]
call fcn.00401790
push 0x484894
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x407560
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x487080]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push ebx
push dword [edi]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4075ad
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2714
jne 0x4075c1
push dword [ebp + 0xc]
push ebx
push dword [edi]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x407593
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00472ead
mov esp, ebp
pop ebp
ret 0x10
call esi
cmp eax, 0x2733
jne 0x40760c
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push 1
call fcn.004077a0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 4
push eax
lea eax, [esp + 0x2c]
push eax
push 0x1007
push 0xffff
push dword [edi]
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x407632
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x407658
jmp 0x4075ad
push str.Failed_to_connect
call fcn.00401ac0
push eax
call esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401790
push 0x484894
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Failed_to_get_socket_option
call fcn.00401ac0
push eax
call esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401790
push 0x484894
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Failed_to_connect
call fcn.00401ac0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401790
push 0x484894
lea eax, [esp + 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x407680
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0x14]
mov ebx, ecx
push dword [ebp + 0x10]
push 1
call fcn.004077a0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4076d8
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2714
jne 0x4076e3
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
je 0x4076b8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp esi, 0xffffffff
jne 0x4076d8
push str.Failed_to_send_data
call fcn.00401ac0
push eax
call edi
push eax
lea ecx, [esp + 0x18]
call fcn.00401790
push 0x484894
lea eax, [esp + 0x10]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x407710
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0x14]
mov ebx, ecx
push dword [ebp + 0x10]
push 0
call fcn.004077a0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407768
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2714
jne 0x407773
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
je 0x407748
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp esi, 0xffffffff
jne 0x407768
push str.Failed_to_read_data
call fcn.00401ac0
push eax
call edi
push eax
lea ecx, [esp + 0x18]
call fcn.00401790
push 0x484894
lea eax, [esp + 0x10]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x412090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475650
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x487080]
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 dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
movaps xmm0, xmmword [0x480e50]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x255a5e49
mov dword [ebp - 0x4c], 0x565f505e
mov word [ebp - 0x48], 0x48
mov byte [ebp - 0x46], 1
call fcn.00419fe0
push ecx
lea eax, [ebp - 0x47]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f260
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x90]
call fcn.0041c2c0
mov esi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x78]
call fcn.0041c2c0
push esi
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00421200
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x41216c
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412162
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4121ab
push ecx
push edx
call fcn.00473531
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x4121bb
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4121b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4121b1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00473531
add esp, 8
push dword [edi + 0x240]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x80], 0
sub esp, 0x18
mov dword [ebp - 0x7c], 0xf
mov ecx, esp
mov byte [ebp - 0x90], 0
push eax
call fcn.0041c2c0
push 3
call fcn.00402fc0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x41221b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412211
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412271
push ecx
push edx
call fcn.00473531
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x41224b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412241
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412271
push ecx
push edx
call fcn.00473531
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x412281
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412277
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412277
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00473531
add esp, 8
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.00472ead
mov esp, ebp
pop ebp
ret 0x18