joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f6d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4903e0]
sub esi, 1
jne 0x40f710
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc4], ebx
jne 0x40f745
push esi
push dword [ebp - 0xc]
push 4
push ebx
call fcn.0040a060
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret 4

Function at 0x40f7c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4903e0]
sub esi, 1
jne 0x40f800
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc4], ebx
jne 0x40f835
push esi
push dword [ebp - 0xc]
push 0xc
push ebx
call fcn.0040a060
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret 4

Function at 0x40f850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x14]
mov edi, 0x10
movss xmm1, dword [edx + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 8], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4903e0]
sub edi, 1
jne 0x40f8d0
mov ecx, dword [ebp - 4]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret 4
Function at 0x40f900
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea edx, [ebp - 8]
push esi
push edi
mov edi, dword [ebp + 8]
not ebx
mov dword [ebp - 8], edi
mov esi, 4
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4903e0]
sub esi, 1
jne 0x40f926
mov eax, dword [0x4b31e4]
not ebx
cmp dword [eax + 0x3fc4], ebx
jne 0x40f95c
push esi
push edi
push 4
push ebx
call fcn.0040a060
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret

Function at 0x411940
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x4119a3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x411986
cmp edi, 2
jb 0x411986
cmp byte [esi], cl
jne 0x411986
cmp byte [esi + 1], cl
jne 0x411986
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4903e0]
jmp 0x411957
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4903e0]
test edi, edi
jne 0x411957
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4119d8
nop word [eax + eax]
cmp cl, 0x23
jne 0x4119bf
cmp byte [esi], cl
jne 0x4119bf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4903e0]
test cl, cl
jne 0x4119b0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x411dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
xor ecx, ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x411de0
cmp eax, esi
jae 0x411f37
mov bl, byte [eax]
test bl, bl
je 0x411f37
movzx ecx, bl
mov edx, esi
shr ecx, 3
movsx edi, byte [ecx + 0x490dbc]
xor ecx, ecx
test edi, edi
mov dword [ebp - 8], edi
sete cl
add ecx, edi
mov dword [ebp - 0xc], ecx
test esi, esi
jne 0x411e0f
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x411e26
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x411e2a
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x411e35
mov ch, byte [esi]
jmp 0x411e37
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x411e45
mov bl, byte [ebx]
jmp 0x411e47
xor bl, bl
mov edi, dword [edi*4 + 0x490ddc]
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
and edi, ecx
mov byte [ebp - 2], bl
shl edi, 6
mov ecx, esi
and ecx, 0x3f
movzx ebx, bl
or edi, ecx
and esi, 0xc0
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
mov ecx, ebx
and ecx, 0x3f
shr ebx, 2
or ebx, edx
shl edi, 6
or edi, ecx
shr ebx, 2
mov ecx, dword [ebp - 8]
or ebx, esi
mov esi, dword [ebp - 8]
shr ebx, 2
mov ecx, dword [ecx*4 + 0x490e04]
shr edi, cl
cmp edi, dword [esi*4 + 0x490df0]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or ebx, ecx
mov ecx, edi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or ebx, edx
cmp ecx, edi
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x490e18]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x411f29
xor edx, edx
cmp byte [ebp - 2], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 4], cl
setne cl
add edx, ecx
cmp dword [ebp - 0xc], edx
cmovl edx, dword [ebp - 0xc]
mov ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x10]
inc ecx
jmp 0x411dce
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [ebp - 0x10]
inc ecx
jmp 0x411dce
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411fa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
dec eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x14], ecx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x18], eax
cmp ebx, eax
mov eax, dword [ebp + 0x10]
jae 0x412156
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
push edi
nop dword [eax]
test esi, esi
je 0x411fdc
cmp eax, esi
jae 0x412151
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x412151
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x490dbc]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
test esi, esi
jne 0x41200b
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp + 0xf]
mov byte [ebp - 3], cl
cmp esi, edx
jae 0x412023
mov ch, byte [esi]
mov byte [ebp + 0xf], ch
jmp 0x412027
mov byte [ebp + 0xf], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x412032
mov ch, byte [esi]
jmp 0x412034
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 2], ch
cmp esi, edx
jae 0x412042
mov al, byte [esi]
jmp 0x412044
xor al, al
movzx esi, byte [ebp + 0xf]
movzx edx, ch
movzx ecx, cl
movzx edi, al
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x490ddc]
and eax, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], eax
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov eax, dword [ebp - 8]
and ecx, 0x3f
or eax, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x490e04]
shr eax, cl
mov esi, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp esi, dword [eax*4 + 0x490df0]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [eax*4 + 0x490e18]
mov eax, dword [ebp - 0x10]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x412134
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp - 1], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp + 0xf], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
mov ecx, dword [ebp - 0x14]
add eax, ebx
mov dword [ebp - 0x10], eax
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x411fd0
mov ebx, dword [ebp + 8]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x412164
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x5e2c], 0
lea ecx, [esi + 0x5e30]
je 0x414cd5
push 0
call fcn.00427ff0
push dword [ebp + 0x10]
lea ecx, [esi + 0x5e30]
push dword [ebp + 0xc]
call fcn.004278b0
mov edx, dword [esi + 0x5e30]
mov ecx, 0x4b31e0
push dword [esi + 0x5e2c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x5e38]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004278b0
pop edi
pop esi
pop ebp
ret
Function at 0x41d340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b31e4]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x5dc0], 0
test esi, esi
je 0x41d399
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.0041d3a0
push 0x4920c0
push esi
mov edi, eax
call fcn.00410cf0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x41d398
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebp
ret
Function at 0x44ea50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x44ea77
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.00414e70
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44ea9c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.00414e70
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x44eac1
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.00414e70
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x44eb02
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.00414e70
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x44eb27
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.00414e70
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x44eb4c
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.00414e70
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00447510
Function at 0x457cb0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push esi
call fcn.0040f470
test eax, eax
je 0x457cc4
call fcn.0040f9c0
mov esi, dword [eax + 0x6c]
jmp 0x457cc6
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x457ce9
mov dword [esi], eax
pop esi
ret
Function at 0x484850
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
mov eax, 1
lock xadd dword [0x4b4624], eax
inc eax
mov edi, 0x4b4628
cmp eax, 1
jne 0x484890
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [edi], eax
cmp byte [ebp + 8], 0
je 0x4848ed
xor eax, eax
lock xadd dword [edi], eax
test eax, eax
je 0x4848ed
push 0x4b2690
push eax
lea ecx, [ebp - 0x10]
call fcn.004852c0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1b0], str.C:Userspc_source_reposRebirth_Launcherpackages_boost.1.84.0lib_nativeinclude_boost_asiodetailimplwinsock_init.ipp
mov dword [ebp - 0x1ac], str.throw_on_error
mov dword [ebp - 0x1a8], 0x48
mov dword [ebp - 0x1a4], 0x1a
test al, 1
je 0x4848ed
cmp eax, 1
jne 0x484901
cmp dword [ebp - 0x10], 0
setne al
test al, al
jne 0x484901
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x1b0]
push eax
push str.winsock
lea eax, [ebp - 0x10]
push eax
call fcn.00488fc0
int3

Function at 0x484f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48eea8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b2740]
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.boost::exception_detail::clone_base.0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
mov dword [ebp - 4], 0
push eax
call sub.VCRUNTIME140.dll___std_exception_copy
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x484fef
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::system::system_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::system::system_error_.1.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::system::system_error_.2.0
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 0x485a60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48efae
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4b2740]
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 - 0x20], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_context.0
mov dword [ebp - 4], 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], 0xffffffff
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
call fcn.00485c70
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], esi
mov dword [edi + 0x60], 0
or eax, 0xffffffff
mov byte [ebp - 4], 6
test esi, esi
cmovns eax, esi
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x485b96
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4b2690
push eax
lea ecx, [ebp - 0x1c]
call fcn.004852c0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], str.C:Userspc_source_reposRebirth_Launcherpackages_boost.1.84.0lib_nativeinclude_boost_asiodetailimplwin_iocp_io_context.ipp
mov dword [ebp - 0x2c], str.win_iocp_io_context
mov dword [ebp - 0x28], 0x66
mov dword [ebp - 0x24], 0x1a
test al, 1
je 0x485b96
cmp eax, 1
jne 0x485c56
cmp dword [ebp - 0x1c], 0
setne al
test al, al
jne 0x485c56
cmp byte [ebp + 0x10], 0
je 0x485c37
lea eax, [edi + 0x18]
lock inc dword [eax]
push 0xc
call fcn.0048d4a4
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x485c12
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0048d4a4
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x485c05
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [eax], xmm0
push eax
mov dword [eax], vtable.boost::asio::detail::win_thread::func_struct_boost::asio::detail::win_iocp_io_context::thread_function_.0
mov dword [eax + 0xc], edi
call fcn.0048af50
jmp 0x485c14
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.0048af50
jmp 0x485c14
xor esi, esi
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x485c34
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push dword [ebp - 0x20]
call fcn.0048cd8c
add esp, 8
mov dword [edi + 0x60], esi
mov eax, edi
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.0048cd9a
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x30]
push eax
push str.iocp
lea eax, [ebp - 0x1c]
push eax
call fcn.00488fc0
int3
Function at 0x487740
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
push edi
mov edi, dword [ebp + 0x14]
cmp esi, 0xffffffff
je 0x487926
cmp byte [ebp + 0x10], 0
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
je 0x4877ae
mov al, byte [ecx]
test al, 8
je 0x4877ae
or al, 8
xor edx, edx
push 4
mov byte [ecx], al
lea eax, [ebp - 8]
push eax
push 0x80
push 0xffff
push esi
mov dword [ebp - 8], edx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4877ae
push 0x4b2690
call ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.004852c0
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4877d7
xorps xmm0, xmm0
movq qword [edi], xmm0
pop ebx
mov dword [edi + 8], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret
push 0x4b2690
call ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.004852c0
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov eax, dword [0x4b2698]
mov ebx, dword [0x4b269c]
cmp eax, 0x257edfd1
jne 0x48780f
cmp ebx, 0xb2ab117a
je 0x48781e
cmp eax, 0x257edfd0
jne 0x487822
cmp ebx, 0xb2ab117a
jne 0x487822
mov al, 1
jmp 0x48783c
mov eax, dword [0x4b2690]
mov ecx, 0x4b2690
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov ebx, dword [0x4b269c]
movzx eax, al
add eax, 2
mov dword [ebp - 0x14], 0x2733
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x10], 0x4b2690
call fcn.00486630
add esp, 8
test al, al
jne 0x4878db
mov eax, dword [0x4b2698]
cmp eax, 0x257edfd1
jne 0x487878
cmp ebx, 0xb2ab117a
je 0x487887
cmp eax, 0x257edfd0
jne 0x48788b
cmp ebx, 0xb2ab117a
jne 0x48788b
mov al, 1
jmp 0x48789f
mov eax, dword [0x4b2690]
mov ecx, 0x4b2690
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x14], 0x4d5
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x10], 0x4b2690
call fcn.00486630
add esp, 8
test al, al
jne 0x4878db
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 0x18]
push esi
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
test esi, esi
setne al
movzx eax, al
push eax
push edi
call fcn.004893b0
add esp, 8
mov eax, esi
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret
Function at 0x487e80
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x487eef
mov ecx, dword [0x4b2698]
mov eax, dword [0x4b269c]
cmp ecx, 0x257edfd1
jne 0x487ea8
cmp eax, 0xb2ab117a
je 0x487eb7
cmp ecx, 0x257edfd0
jne 0x487ebb
cmp eax, 0xb2ab117a
jne 0x487ebb
mov al, 1
jmp 0x487ecf
mov eax, dword [0x4b2690]
mov ecx, 0x4b2690
push 0x2719
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp + 0x14]
movzx eax, al
add eax, 2
mov dword [ecx], 0x2719
mov dword [ecx + 4], 0x4b2690
mov dword [ecx + 8], eax
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
test esi, esi
jne 0x487f15
mov ecx, dword [ebp + 0x14]
xorps xmm0, xmm0
pop esi
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret
push 0x4b2690
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0xc]
call fcn.004852c0
mov ecx, dword [ebp + 0x14]
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0
push 0
lea eax, [ebp - 5]
mov byte [ebp - 5], 0
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push dword [ecx + 4]
mov dword [ebp - 0xc], 0
call dword [sym.imp.WS2_32.dll_WSASend]
push 0x4b2690
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004852c0
mov ebx, 0x1ffff7
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
cmp edi, 1
je 0x4898b4
mov eax, ecx
jmp 0x4898c3
mov eax, dword [ebp - 0x14]
xor edx, edx
div ebx
imul eax, edx, 0x3e8
add eax, ecx
cmp eax, 0x40
jne 0x4898f8
mov ecx, dword [0x4b2698]
mov eax, dword [0x4b269c]
cmp ecx, 0x257edfd1
jne 0x4898e2
cmp eax, 0xb2ab117a
je 0x48994f
cmp ecx, 0x257edfd0
jne 0x4898f1
cmp eax, 0xb2ab117a
je 0x48994f
push 0x2746
jmp 0x489942
cmp edi, 1
jne 0x48990c
mov eax, dword [ebp - 0x14]
xor edx, edx
div ebx
imul eax, edx, 0x3e8
add ecx, eax
cmp ecx, 0x4d2
jne 0x48994f
mov ecx, dword [0x4b2698]
mov eax, dword [0x4b269c]
cmp ecx, 0x257edfd1
jne 0x48992e
cmp eax, 0xb2ab117a
je 0x48994f
cmp ecx, 0x257edfd0
jne 0x48993d
cmp eax, 0xb2ab117a
je 0x48994f
push 0x274d
mov eax, dword [0x4b2690]
mov ecx, 0x4b2690
call dword [eax + 0x18]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret