joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434d30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457a75
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x888074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434f11
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434c50
cmp dword [ebp - 0x1c], 0
jne 0x434f02
cmp dword [ebx + 8], 0x15555555
je 0x434f25
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.00447df5
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x45a3f0]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45a3f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434ea5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.0044bfe0
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00448660
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434e7e
cmp eax, 0x200
jae 0x434e7c
shl eax, 3
cmp eax, ecx
jae 0x434e7e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0043d5e0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434c50
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434ea8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434ee4
mov dword [ecx + eax*8], esi
jmp 0x434ef7
cmp dword [ecx + eax*8], edx
jne 0x434eee
mov dword [ecx + eax*8], esi
jmp 0x434efb
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434efb
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434d70
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
push str.unordered_map_set_too_long
call fcn.00448da9
int3
Function at 0x43d5e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x43d733
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0043d4e0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x43d706
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x43d67e
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x43d6f9
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x43d6ba
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x43d6b2
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x43d6f9
mov edi, eax
cmp ebx, eax
je 0x43d6d6
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x43d70f
cmp ebx, eax
jne 0x43d6c0
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x43d642
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x43d6f9
push str.invalid_hash_bucket_count
call fcn.00448da9
int3
Function at 0x44e9d3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c64c
push 0x45c644
push str.FlsAlloc
push 0x1e
call fcn.0044e8b1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44ea07
push dword [ebp + 8]
mov ecx, esi
call dword [0x458308]
call esi
jmp 0x44ea0d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44ea51
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45c65c
push 0x45c654
push str.FlsGetValue
push 0x20
call fcn.0044e8b1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44ea88
push dword [ebp + 8]
mov ecx, esi
call dword [0x458308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x45031d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4503ba
push ebx
push esi
call fcn.004502e6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044e684
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x450367
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4503b9
push edi
push eax
call fcn.0044e371
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x450387
call fcn.0044e337
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4503b8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044e684
add esp, 0x20
test eax, eax
jne 0x4503a6
push edi
call fcn.0044e337
jmp 0x4503ae
push ebx
call fcn.0044e337
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x4fe13637
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x41e35551
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4098d3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004087be
and dword [ebp - 4], 0
cmp dword [0x410510], 0
mov ebx, eax
jne 0x409984
push 0x4018a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409a35
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40189c
push edi
call esi
test eax, eax
je 0x409a35
push eax
call fcn.0040874c
mov dword [esp], 0x40188c
push edi
mov dword [0x410510], eax
call esi
push eax
call fcn.0040874c
mov dword [esp], 0x401878
push edi
mov dword [0x410514], eax
call esi
push eax
call fcn.0040874c
mov dword [esp], 0x40185c
push edi
mov dword [0x410518], eax
call esi
push eax
call fcn.0040874c
pop ecx
mov dword [0x410520], eax
test eax, eax
je 0x409984
push 0x401844
push edi
call esi
push eax
call fcn.0040874c
pop ecx
mov dword [0x41051c], eax
mov eax, dword [0x41051c]
cmp eax, ebx
je 0x4099dc
cmp dword [0x410520], ebx
je 0x4099dc
push eax
call fcn.004087c7
push dword [0x410520]
mov esi, eax
call fcn.004087c7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4099dc
test edi, edi
je 0x4099dc
call esi
test eax, eax
je 0x4099d3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4099d3
test byte [ebp - 0xc], 1
jne 0x4099dc
or dword [ebp + 0x10], 0x200000
jmp 0x409a15
mov eax, dword [0x410514]
cmp eax, ebx
je 0x409a15
push eax
call fcn.004087c7
pop ecx
test eax, eax
je 0x409a15
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409a15
mov eax, dword [0x410518]
cmp eax, ebx
je 0x409a15
push eax
call fcn.004087c7
pop ecx
test eax, eax
je 0x409a15
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x410510]
call fcn.004087c7
pop ecx
test eax, eax
je 0x409a35
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409a37
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b768
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40fa28]
jne 0x40b772
repz ret
jmp fcn.0040ce95
Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9

Function at 0x430a820a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x430a8219
pop dword [ebp - 0x3c]
mov eax, 0x430a8219
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x39b23
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x5060
xor edi, edi
add edi, eax
mov edx, 0x6dc00455
add edx, 0xd54ad9ab
add edx, dword [ebp - 0x3c]
mov esi, 0xd217ffb0
sub esi, 0x9aca9627
xor dword [ebp - 4], edi
mov ebx, dword [edx]
sub ebx, esi
add dword [ebp - 0x24], 0xd30e7a2c
mov dword [edi], ebx
sub dword [ebp - 8], 0x26b1a2c2
add edi, 0x7c2d9c17
add edi, 0x83d263ed
add edx, 0xe6e7747c
sub edx, 0xe6e77478
loop 0x430a826a
add eax, 0x13453
mov ebx, eax
add eax, 0x83970bde
add eax, 0x7c68f427
mov ecx, 0x430a0000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404320
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x47d040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x485374]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push edi
mov edi, dword [0x4853ac]
test esi, esi
je 0x4044aa
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x4044aa
cmp dword [edi + 4], 0xffffffff
je 0x404364
mov ecx, edi
call fcn.00403680
mov al, byte [esi]
sub al, 0x30
push esi
cmp al, 9
ja 0x404389
xorps xmm0, xmm0
mov eax, 2
movlpd qword [ebp - 0x10], xmm0
mov word [ebp - 0x18], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14], eax
jmp 0x4043c2
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4044aa
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
movsx ecx, word [eax + 0xa]
push ecx
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x14]
push dword [ecx]
push eax
call fcn.00443620
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ax, word [eax + 8]
mov word [ebp - 0x18], ax
push ebx
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4043f9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044096c
mov esp, ebp
pop ebp
ret 0xc
push 4
lea eax, [ebp - 0x1c]
mov dword [edi + 4], ebx
push eax
push 0x1002
push 0xffff
push ebx
mov dword [ebp - 0x1c], 0x40000
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x404456
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebx
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044096c
mov esp, ebp
pop ebp
ret 0xc
push 0x31
push 0x401
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov eax, dword [ebp - 0x20]
mov ecx, esi
mov dword [edi + 8], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404472
sub ecx, edx
push ecx
push esi
lea ecx, [edi + 0xc]
call fcn.00405110
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x24], eax
xor eax, eax
mov dword [edi + 0x40028], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044096c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044096c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4044c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x47d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x4853ac]
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4046c1
cmp dword [esi + 0x40028], 0
je 0x4046c1
lea ecx, [ebp - 8]
xor ebx, ebx
push ecx
push 0x4004667f
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 8], ebx
jbe 0x4046b6
mov ecx, dword [sym.imp.WS2_32.dll_recv]
lea eax, [esi + 0x28]
mov dword [ebp - 0x18], ecx
nop dword [eax]
push 0
push 0x40000
push eax
push dword [esi + 4]
call ecx
mov edi, eax
cmp edi, 0xffffffff
je 0x40469a
test edi, edi
je 0x404689
add ebx, edi
mov dword [ebp - 0x14], ebx
test edi, edi
jle 0x404689
lea eax, [esi + 0x40030]
mov ebx, eax
mov dword [ebp - 0x10], ebx
nop dword [eax + eax]
mov edx, dword [esi + 0x4003c]
mov ecx, edx
sub ecx, dword [esi + 0x40038]
jns 0x404577
add ecx, dword [eax]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebx]
mov eax, ebx
sub eax, ecx
cmp edi, eax
jl 0x4045f3
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + ebx]
push eax
mov dword [ecx], eax
call fcn.00440c0e
add esp, 4
mov dword [ebp - 0xc], eax
push ebx
push dword [esi + 0x40034]
push eax
call fcn.00443620
mov eax, dword [esi + 0x4003c]
add esp, 0xc
cmp eax, dword [esi + 0x40038]
jge 0x4045ce
push eax
push dword [esi + 0x40034]
mov eax, dword [ebp - 0xc]
add eax, ebx
push eax
call fcn.00443620
add esp, 0xc
add dword [esi + 0x4003c], ebx
push dword [esi + 0x40034]
call fcn.0044097a
mov eax, dword [ebp - 0xc]
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x40034], eax
lea eax, [esi + 0x40030]
jmp 0x404560
mov ebx, dword [esi + 0x40030]
lea eax, [edx + edi]
cmp eax, ebx
jl 0x40466a
sub ebx, edx
sub edi, ebx
test ebx, ebx
jne 0x404621
push 0x36
push str.C:NEWSRCFASTBOT_LoginCSocketAPISocket.h
push 0x47105c
push str.ERROR____s_n_s:__d_n_n
call fcn.004026e0
add esp, 0x10
push ebx
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x4003c]
add eax, dword [esi + 0x40034]
push eax
call fcn.00443620
add esp, 0xc
lea eax, [esi + 0x4003c]
mov dword [ebp - 0xc], eax
test edi, edi
je 0x404664
lea eax, [esi + 0x28]
push edi
add eax, ebx
push eax
push dword [esi + 0x40034]
call fcn.00443620
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [eax], edi
jmp 0x404686
xor edi, edi
mov dword [eax], edi
jmp 0x404686
push edi
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x40034]
add eax, edx
push eax
call fcn.00443620
add esp, 0xc
add dword [esi + 0x4003c], edi
mov ebx, dword [ebp - 0x14]
lea eax, [esi + 0x28]
mov ecx, dword [ebp - 0x18]
cmp ebx, dword [ebp - 8]
jb 0x404520
jmp 0x4046b6
push pe_nt_image_headers32
push str.C:NEWSRCFASTBOT_LoginCSocketAPISocket.cpp
push str.socket_receive_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.004026e0
add esp, 0x10
mov ecx, esi
call fcn.004046e0
test eax, eax
jne 0x4046b6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044096c
mov esp, ebp
pop ebp
ret
Function at 0x404b50
Capabilities:
Encode data using xor
Hash data with crc32
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46681d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2c], eax
cmp dword [eax + 0x40058], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
je 0x404d54
cmp dword [eax + 4], 0xffffffff
je 0x404d54
cmp dword [eax + 0x40028], 0
je 0x404d54
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor edi, edi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], vtable.DataPack.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp dword [0x48535c], edi
je 0x404cab
mov eax, dword [0x485358]
push ebx
inc eax
push esi
push 0x48bc7c
mov dword [0x485358], eax
mov dword [0x48bc78], eax
call fcn.00443620
lea esi, [ebx + 4]
add esp, 0xc
or ecx, 0xffffffff
xor edx, edx
test esi, esi
je 0x404c2b
nop
movzx eax, byte [edx + 0x48bc78]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x471140]
cmp edx, esi
jb 0x404c10
mov dword [ebx + 0x48bc7c], ecx
xor edx, edx
lea ecx, [ebx + 8]
mov esi, 0x86d
movzx eax, cl
mov ebx, ecx
imul eax, eax, 0x9d
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x404c85
mov edi, ecx
mov ebx, eax
mov eax, edx
mov ecx, esi
and eax, 7
sar ecx, 8
imul esi, esi, 0x87b
mov al, byte [eax + 0x485490]
xor al, byte [edx + 0x48bc78]
xor al, cl
xor al, bl
mov byte [edx + 0x48bc78], al
inc edx
cmp edx, edi
jl 0x404c57
mov ebx, dword [ebp - 0x20]
push ebx
mov dword [ebp - 0x18], ebx
call fcn.00440c0e
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, eax
mov dword [ebp - 0x28], esi
push ebx
push 0x48bc78
push esi
call fcn.00443620
mov eax, dword [ebp - 0x2c]
add esp, 0xc
add ebx, 6
cmp ebx, 0xc8
jg 0x404d49
mov esi, dword [sym.imp.WS2_32.dll_htons]
lea edi, [eax + 0x28]
push 0xaa55
call esi
mov word [edi], ax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x24]
mov word [edi + 2], ax
add edi, 4
push edi
call fcn.00443620
add esp, 0xc
push 0x55aa
call esi
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov word [ecx + edi], ax
xor eax, eax
test ebx, ebx
jle 0x404d43
nop dword [eax + eax]
push 0
mov edi, eax
lea eax, [esi + 0x28]
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x404d27
test ecx, ecx
lea eax, [edi + ecx]
cmove eax, edi
cmp eax, ebx
jl 0x404d00
jmp 0x404d43
push 0x1a6
push str.C:NEWSRCFASTBOT_LoginCSocketAPISocket.cpp
push str.socket_send_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.004026e0
add esp, 0x10
add dword [esi + 0x40040], ebx
push dword [ebp - 0x28]
call fcn.0044097a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044096c
mov esp, ebp
pop ebp
ret 8
Function at 0x404e30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x47db3c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x47db3c], edx
inc eax
cmp eax, 0x270
jb 0x404e41
mov dword [0x47db38], 0x270
pop ebp
ret 4

Function at 0x405030
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x405050
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
pop ebp
ret 0xc

Function at 0x4059b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x405a0d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x4059d0
mov eax, dword [esi]
jmp 0x405aeb
cmp eax, 0x4e0
jb 0x405aeb
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x405a26
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x405a71
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret