joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417e80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c6ad
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
jne 0x417ec8
add eax, 0x18
push eax
push esi
call fcn.00418660
add esp, 8
jmp 0x417fc1
sub esp, 0x20
mov eax, esp
sub esp, 8
push eax
call fcn.00414410
lea ecx, [ebp - 0x2c]
call fcn.00414370
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
push esi
mov eax, dword [eax + 0xc]
test eax, eax
je 0x417f03
lea ecx, [ebp - 0x2c]
push fcn.00418660
push ecx
call eax
add esp, 0xc
jmp 0x417fac
lea ecx, [ebp - 0x6c]
call fcn.004185f0
mov byte [ebp - 4], 1
push dword [0x6325ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x417f24
mov ecx, dword [eax + 4]
jmp 0x417f26
xor ecx, ecx
push ecx
push dword [ebp - 0x34]
mov edx, 0x48
call fcn.004182a0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x6c]
push eax
lea ecx, [esi + 8]
call fcn.004185f0
mov dword [esi], 0x418810
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x417f80
or edi, 0xffffffff
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x417f80
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x417f80
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call eax
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x417fac
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call eax
add esp, 4
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.0045ad9e
mov esp, ebp
pop ebp
ret 8

Function at 0x418000
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x41802d
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x418026
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x418026
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x41806f
push dword [0x6325ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41805f
mov edx, dword [eax + 4]
test edx, edx
je 0x41805f
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x418072
inc eax
cmp eax, 6
jl 0x418050
push esi
call fcn.0045b42d
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x20]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x418090
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c370
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x4180dc
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4180d5
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x41811f
push dword [0x6325ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41810f
mov edx, dword [eax + 4]
test edx, edx
je 0x41810f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x418130
inc eax
cmp eax, 2
jl 0x418100
push esi
call fcn.0045b42d
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x418118

Function at 0x4186e0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4186fa
add ecx, 0x28
call fcn.00412ea0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x41873f
push dword [0x6325ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41872f
mov edx, dword [eax + 4]
test edx, edx
je 0x41872f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x418742
inc eax
cmp eax, 6
jl 0x418720
push esi
call fcn.0045b42d
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x50]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x418760
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x4187a6
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x41879f
push ebx
or ebx, 0xffffffff
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x41879e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x41879e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop ebx
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4187ef
push dword [0x6325ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4187df
mov edx, dword [eax + 4]
test edx, edx
je 0x4187df
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x4187f2
inc eax
cmp eax, 6
jl 0x4187d0
push esi
call fcn.0045b42d
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x48]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x41f490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cdb0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [eax + 0xc]
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov eax, dword [ecx + 0x138]
mov dword [ecx + 0x13c], eax
mov eax, dword [esi]
push 0x5fe725
push 0x5fe724
mov dword [eax + 0x18], 0
mov ecx, dword [esi + 4]
call fcn.00421620
mov ecx, dword [esi + 4]
push 0x5fe739
push 0x5fe738
mov dword [esi + 0x30], eax
call fcn.00421620
mov ecx, dword [esi + 4]
push 0x5feab5
push str.lower
mov dword [esi + 0x34], eax
call fcn.00421620
mov ecx, dword [esi + 4]
push 0x5fead1
push 0x5feacc
mov dword [esi + 0x38], eax
call fcn.00421620
mov ecx, dword [esi + 4]
push 0x5fe4a9
push str.alpha
mov dword [esi + 0x3c], eax
call fcn.00421620
mov ecx, dword [esi]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x140], eax
cmp dword [esi + 0x30], 0
jne 0x41f5d7
push 0x116
push 0x5cb540
push 0x5cb5dc
call edi
add esp, 0xc
cmp dword [esi + 0x34], 0
jne 0x41f5f1
push 0x117
push 0x5cb480
push 0x5cb51c
call edi
add esp, 0xc
cmp dword [esi + 0x38], 0
jne 0x41f60b
push pe_nt_image_headers32
push 0x5cb8b0
push 0x5cb94c
call edi
add esp, 0xc
cmp dword [esi + 0x3c], 0
jne 0x41f625
push 0x119
push 0x5cb7f0
push 0x5cb88c
call edi
add esp, 0xc
cmp dword [esi + 0x40], 0
jne 0x41f63f
push 0x11a
push 0x5cb730
push 0x5cb7cc
call edi
add esp, 0xc
mov dword [esi + 0x48], 0
mov eax, esi
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov byte [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x429660
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp ecx, edx
je 0x429686
push edi
mov edi, esi
mov eax, esi
shr eax, 2
shl edi, 6
add edi, eax
movsx eax, byte [ecx]
add eax, 0x9e3779b9
inc ecx
add eax, edi
xor esi, eax
cmp ecx, edx
jne 0x429668
pop edi
mov eax, 3
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub esi, eax
or esi, 0x40000000
mov eax, esi
pop esi
ret
Function at 0x4333d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
nop dword [eax]
push dword [edi + 8]
mov al, byte [esi + ebx]
push 1
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x43340e
inc esi
cmp esi, 4
jl 0x4333e0
pop edi
pop esi
mov al, al
pop ebx
pop ebp
ret 0xc
mov dword [edi + 4], 0xa
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x433500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x18], 0
je 0x433675
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp + 0x10], ebx
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x24]
mov ecx, edx
neg ecx
and ecx, ebx
xor esi, esi
cmp dword [eax - 4], 0
je 0x433544
cmp dword [eax], ecx
je 0x43361f
inc esi
add eax, 0x10
cmp esi, 3
jb 0x433536
dec edx
lea eax, [edi + 0x20]
not edx
and edx, ebx
xor esi, esi
mov dword [ebp - 8], edx
nop word [eax + eax]
cmp dword [eax], 0
je 0x433570
inc esi
add eax, 0x10
cmp esi, 3
jl 0x433560
jmp 0x433575
cmp esi, 0xffffffff
jne 0x4335a2
mov ebx, dword [edi + 0x1c]
lea ecx, [edi + 0x24]
xor esi, esi
add ebx, ebx
nop
mov eax, dword [ecx]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x43359b
mov edx, dword [ebp - 8]
inc esi
add ecx, 0x10
cmp esi, 3
jl 0x433580
jmp 0x4335a0
cmp esi, 0xffffffff
jne 0x4335a2
xor esi, esi
mov ebx, esi
shl ebx, 4
add ebx, edi
cmp dword [ebx + 0x28], 0
jne 0x4335bd
push dword [edi + 0x1c]
call fcn.0045b381
add esp, 4
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 8]
push 0
push eax
mov dword [ebx + 0x24], eax
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x4335e2
mov dword [edi + 4], 5
or esi, 0xffffffff
jmp 0x43361c
push dword [edi + 8]
push dword [edi + 0x1c]
push 1
push dword [ebx + 0x28]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ebp + 0x10]
add esp, 0x10
sub ecx, dword [ebx + 0x24]
mov dword [ebx + 0x2c], eax
cmp eax, ecx
jae 0x43360f
mov dword [edi + 4], 5
or esi, 0xffffffff
jmp 0x43361c
lea eax, [esi + 2]
shl eax, 4
mov dword [eax + edi], 1
mov ebx, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x4336c7
mov dword [edi + 0x50], esi
mov ecx, ebx
add esi, esi
sub ecx, dword [edi + esi*8 + 0x24]
lea edx, [edi + esi*8]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x54], ecx
mov eax, dword [edx + 0x2c]
sub eax, ecx
cmp eax, esi
cmovb esi, eax
mov eax, dword [edx + 0x28]
sub dword [ebp + 0xc], esi
add eax, ecx
push esi
push eax
mov eax, dword [ebp - 4]
add eax, dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0x54], esi
add ebx, esi
add dword [ebp - 4], esi
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x10], ebx
jbe 0x4336b5
jmp 0x433528
push 0
push dword [ebp + 0x10]
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x43369c
mov dword [edi + 4], 5
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 8]
mov esi, dword [ebp + 0xc]
push esi
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, esi
jne 0x4336c0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 4], 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4337b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx + 0x1c]
lea edi, [ebx + 0x24]
mov edx, esi
mov eax, edi
neg edx
and edx, dword [ebp + 8]
xor ecx, ecx
nop word [eax + eax]
cmp dword [eax - 4], 0
je 0x4337da
cmp dword [eax], edx
je 0x433803
inc ecx
add eax, 0x10
cmp ecx, 3
jb 0x4337d0
lea ecx, [esi - 1]
not ecx
lea eax, [ebx + 0x20]
and ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], ecx
cmp dword [eax], 0
je 0x43380e
inc esi
add eax, 0x10
cmp esi, 3
jl 0x4337f3
jmp 0x433813
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0xffffffff
jne 0x43383d
xor esi, esi
mov eax, dword [edi]
sub eax, ecx
mov ecx, dword [ebx + 0x1c]
cdq
xor eax, edx
sub eax, edx
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 4]
cmp eax, edx
jg 0x433836
inc esi
add edi, 0x10
cmp esi, 3
jl 0x433815
jmp 0x43383b
cmp esi, 0xffffffff
jne 0x43383d
xor esi, esi
mov edi, esi
shl edi, 4
add edi, ebx
cmp dword [edi + 0x28], 0
jne 0x43385c
mov eax, dword [ebx + 0x1c]
push eax
call fcn.0045b381
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [edi + 0x28], eax
push 0
push ecx
mov dword [edi + 0x24], ecx
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x433887
or esi, 0xffffffff
mov dword [ebx + 4], 5
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebx + 8]
push dword [ebx + 0x1c]
push 1
push dword [edi + 0x28]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ebp + 8]
add esp, 0x10
sub ecx, dword [edi + 0x24]
mov dword [edi + 0x2c], eax
cmp eax, ecx
jb 0x433872
lea eax, [esi + 2]
add eax, eax
pop edi
mov dword [ebx + eax*8], 1
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x448600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f04d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 4], 0x4ec4ec4
jne 0x44863e
push str.list_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
push 0x34
mov dword [ebp - 0x10], 0
call fcn.0045afb5
mov esi, dword [ebp + 0xc]
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov ecx, dword [esi]
lea eax, [esi + 0xc]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [edi + 0x10], ecx
lea ecx, [edi + 0x14]
push eax
call fcn.00405c30
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x2c], eax
mov ax, word [esi + 0x28]
mov word [edi + 0x30], ax
inc dword [ebx + 4]
mov eax, dword [ecx + 4]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ecx + 4], edi
mov dword [eax], edi
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 8
Function at 0x44dea0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f666
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov byte [ebp - 4], 1
push 0x24
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.0045afb5
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 2
push 0x24
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0045afb5
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x3c], eax
mov eax, 1
mov word [esi], ax
mov eax, esi
mov byte [esi + 2], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x455b80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [esi + 8]
lea edi, [esi + 4]
mov dword [ebp + 0x18], edi
cmp ecx, 1
je 0x455ba4
mov eax, dword [esi]
jmp 0x455bba
mov eax, dword [edi]
xor edx, edx
mov ebx, 0x1ffff7
mov dword [ebp + 0x18], edi
div ebx
imul eax, edx, 0x3e8
add eax, dword [esi]
cmp eax, 0x40
jne 0x455c15
mov ecx, dword [0x627040]
mov eax, dword [0x627044]
cmp ecx, 0x257edfd1
jne 0x455bd9
cmp eax, 0xb2ab117a
je 0x455be8
cmp ecx, 0x257edfd0
jne 0x455bec
cmp eax, 0xb2ab117a
jne 0x455bec
mov al, 1
jmp 0x455c00
mov eax, dword [0x627038]
mov ecx, 0x627038
push 0x2745
mov eax, dword [eax + 0x18]
call eax
movzx ecx, al
mov dword [esi], 0x2745
add ecx, 2
mov dword [edi], 0x627038
mov dword [esi + 8], ecx
test cl, 1
je 0x455c2c
cmp ecx, 1
jne 0x455d2e
cmp dword [esi], 0
jne 0x455d2e
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x455ca0
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x455c9d
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp + 8]
push eax
push eax
push 0
push dword [ebp - 0x14]
call dword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
mov eax, dword [ebp - 4]
cmp eax, dword [edi]
jbe 0x455c8b
push 0x2726
mov ecx, esi
call fcn.004144e0
jmp 0x455c9d
push eax
push dword [ebp - 8]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x455d0b
mov ecx, dword [0x627040]
mov eax, dword [0x627044]
cmp ecx, 0x257edfd1
jne 0x455cc8
cmp eax, 0xb2ab117a
je 0x455cd7
cmp ecx, 0x257edfd0
jne 0x455cdb
cmp eax, 0xb2ab117a
jne 0x455cdb
mov al, 1
jmp 0x455cef
mov eax, dword [0x627038]
mov ecx, 0x627038
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x2719
movzx eax, al
mov dword [edi], 0x627038
add eax, 2
pop edi
mov dword [esi + 8], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea ecx, [ebp - 0x14]
push ecx
push 0x700b
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
mov ecx, esi
setne dl
call fcn.00411300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455de0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a02ad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
cmp dword [esi], 0xffffffff
je 0x455e75
mov ecx, dword [0x627070]
mov eax, dword [0x627074]
cmp ecx, 0x257edfd1
jne 0x455e2d
cmp eax, 0xb2ab117a
je 0x455e3c
cmp ecx, 0x257edfd0
jne 0x455e40
cmp eax, 0xb2ab117a
jne 0x455e40
mov al, 1
jmp 0x455e51
mov eax, dword [0x627068]
mov ecx, 0x627068
push 1
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp + 0x1c]
movzx eax, al
add eax, 2
mov dword [ecx], 1
mov dword [ecx + 4], 0x627068
mov dword [ecx + 8], eax
movq xmm0, qword [ecx]
mov ecx, eax
jmp 0x455f89
push 1
push 0
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, dword [ebp + 0x1c]
mov edi, eax
cmp edi, 0xffffffff
mov ecx, ebx
sete dl
call fcn.00411300
cmp edi, 0xffffffff
jne 0x455ea5
or edi, edi
jmp 0x455ec3
cmp dword [ebp + 0x10], 0x17
jne 0x455ec3
push 4
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 0
push eax
push 0x1b
push 0x29
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
jne 0x455edb
movq xmm0, qword [ebx]
mov ecx, dword [ebx + 8]
jmp 0x455f89
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push ebx
push edi
push eax
mov ecx, dword [ecx + 4]
call fcn.00455a60
mov ecx, dword [eax + 8]
test cl, 1
je 0x455f4b
cmp ecx, 1
jne 0x455efe
cmp dword [eax], 0
je 0x455f4b
mov esi, dword [ebp + 8]
lea edx, [ebp + 0xb]
movq xmm0, qword [ebx]
mov ecx, edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], 0
movq qword [esi], xmm0
xorps xmm0, xmm0
mov dword [esi + 8], eax
lea eax, [ebp - 0x1c]
push eax
push 1
movq qword [ebp - 0x1c], xmm0
mov byte [ebp + 0xb], 0
call fcn.004113a0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0xffffffff
mov dword [esi], edi
sub eax, 1
je 0x455f6d
sub eax, 1
je 0x455f67
mov byte [esi + 4], 0
jmp 0x455f71
mov byte [esi + 4], 0x20
jmp 0x455f71
mov byte [esi + 4], 0x10
push dword [ebp + 8]
push ecx
lea ecx, [esi + 8]
call fcn.00456440
xorps xmm0, xmm0
xor ecx, ecx
movq qword [ebx], xmm0
mov dword [ebx + 8], ecx
mov eax, dword [ebp + 8]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18