joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ad40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1ac6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x52e098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0049de73
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0049c3ef
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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 0x44c8a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f22d2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x52e098]
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 - 0x10], 0
mov dword [edi], 0x524510
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
sub esp, 8
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], 1
push esi
call fcn.00449bc0
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0044ad40
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x48], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x3d], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x53fb2c]
mov dword [esi + 0x40], eax
mov eax, dword [0x53fb30]
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], 0
push ecx
push 1
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0044aaa0
test eax, eax
jne 0x44c9dc
mov eax, dword [edi]
push 0
mov ecx, dword [eax + 4]
add ecx, edi
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00446360
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 0x10
Function at 0x44eab0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
jb 0x44eace
mov esi, dword [ebx]
jmp 0x44ead0
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x44eaf4
mov ebx, eax
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x44eae0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x18]
and ecx, edx
mov edx, dword [edi + 0xc]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov esi, dword [edx + ecx*4]
inc ecx
mov dword [ebp - 0xc], esi
mov esi, dword [edi + 4]
mov dword [ebp - 8], esi
lea ecx, [edx + ecx*4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xc], esi
jne 0x44eb1d
mov ecx, esi
jmp 0x44eb21
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x44ec5d
cmp dword [ebx + 0x14], 0x10
lea edx, [eax + 8]
jb 0x44eb36
mov edi, dword [ebx]
jmp 0x44eb38
mov edi, ebx
cmp dword [edx + 0x14], 0x10
lea ecx, [edx + 0x10]
jb 0x44eb43
mov edx, dword [edx]
mov ecx, dword [ecx]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 4]
mov esi, ecx
cmp dword [ebp + 0xc], ecx
cmovb esi, dword [ebp + 0xc]
test esi, esi
je 0x44ebb3
sub esi, 4
jb 0x44eb71
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x44eb76
add edx, 4
add edi, 4
sub esi, 4
jae 0x44eb60
cmp esi, 0xfffffffc
je 0x44ebaa
mov cl, byte [edx]
cmp cl, byte [edi]
jne 0x44eba3
cmp esi, 0xfffffffd
je 0x44ebaa
mov cl, byte [edx + 1]
cmp cl, byte [edi + 1]
jne 0x44eba3
cmp esi, 0xfffffffe
je 0x44ebaa
mov cl, byte [edx + 2]
cmp cl, byte [edi + 2]
jne 0x44eba3
cmp esi, 0xffffffff
je 0x44ebaa
mov cl, byte [edx + 3]
cmp cl, byte [edi + 3]
je 0x44ebaa
sbb ecx, ecx
or ecx, 1
jmp 0x44ebac
xor ecx, ecx
test ecx, ecx
jne 0x44ebbc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jb 0x44ebbc
jbe 0x44ebc9
mov eax, dword [eax]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
jmp 0x44eb14
cmp dword [eax + 0x1c], 0x10
lea edx, [eax + 8]
lea edi, [edx + 0x10]
jb 0x44ebd7
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x44ebdf
mov ebx, dword [ebx]
mov edi, dword [edi]
cmp ecx, edi
mov esi, edi
cmovb esi, ecx
test esi, esi
je 0x44ec44
sub esi, 4
jb 0x44ec02
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x44ec07
add ebx, 4
add edx, 4
sub esi, 4
jae 0x44ebf1
cmp esi, 0xfffffffc
je 0x44ec3b
mov cl, byte [ebx]
cmp cl, byte [edx]
jne 0x44ec34
cmp esi, 0xfffffffd
je 0x44ec3b
mov cl, byte [ebx + 1]
cmp cl, byte [edx + 1]
jne 0x44ec34
cmp esi, 0xfffffffe
je 0x44ec3b
mov cl, byte [ebx + 2]
cmp cl, byte [edx + 2]
jne 0x44ec34
cmp esi, 0xffffffff
je 0x44ec3b
mov cl, byte [ebx + 3]
cmp cl, byte [edx + 3]
je 0x44ec3b
sbb ecx, ecx
or ecx, 1
jmp 0x44ec3d
xor ecx, ecx
test ecx, ecx
jne 0x44ec4a
mov ecx, dword [ebp - 4]
cmp ecx, edi
jb 0x44ec4a
jbe 0x44ec4d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44f000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x44f01b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x44f037
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x44f026
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x44f06d
cmp dword [ecx], edi
jne 0x44f065
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 4], eax
jmp 0x44f075
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x44f075
cmp dword [ecx], edi
jne 0x44f078
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.0044ec70
push edi
call fcn.0049e10e
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44f1f0
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 [0x5388f4], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5388f4], edx
inc eax
cmp eax, 0x270
jl 0x44f201
mov dword [0x5388f0], 0x270
pop ebp
ret 8

Function at 0x44f2a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xorps xmm0, xmm0
xor ebx, ebx
push edi
mov edi, ecx
movlpd qword [ebp - 8], xmm0
mov eax, dword [edi + 4]
movq xmm1, qword [ebp - 8]
dec eax
movd xmm0, eax
psllq xmm1, xmm0
psllq xmm1, 1
movq qword [ebp - 8], xmm1
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x44f2e4
mov ecx, esi
call fcn.0044f610
jmp 0x44f2f2
cmp eax, 0x4e0
jb 0x44f2f2
mov ecx, esi
call fcn.0044f660
mov eax, dword [esi]
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
xor esi, esi
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
xor eax, edx
cmp esi, dword [edi + 0xc]
ja 0x44f2d0
jb 0x44f337
cmp eax, dword [edi + 8]
ja 0x44f2d0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
or ecx, eax
add ebx, dword [edi + 4]
or edx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
cmp ebx, 0x40
jb 0x44f2b5
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f360
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
add ebx, 0xffffffff
push esi
adc eax, 0xffffffff
mov dword [ebp - 4], ebx
push edi
mov edi, ecx
mov dword [ebp - 8], eax
jmp 0x44f382
mov ebx, dword [ebp - 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
test eax, eax
jb 0x44f46a
ja 0x44f3a1
test ebx, ebx
je 0x44f46a
mov eax, dword [edi + 4]
movq xmm1, qword [ebp - 0x20]
dec eax
movd xmm0, eax
psllq xmm1, xmm0
psllq xmm1, 1
movq qword [ebp - 0x20], xmm1
nop dword [eax]
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x44f3d4
mov ecx, esi
call fcn.0044f610
jmp 0x44f3e2
cmp eax, 0x4e0
jb 0x44f3e2
mov ecx, esi
call fcn.0044f660
mov eax, dword [esi]
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 ecx, 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
xor eax, edx
cmp ecx, dword [edi + 0xc]
ja 0x44f3c0
jb 0x44f427
cmp eax, dword [edi + 8]
ja 0x44f3c0
or dword [ebp - 0x20], eax
mov eax, dword [edi + 4]
movq xmm1, qword [ebp - 0x18]
dec eax
or dword [ebp - 0x1c], ecx
movd xmm0, eax
psllq xmm1, xmm0
movq xmm0, qword [edi + 8]
psllq xmm1, 1
por xmm1, xmm0
movq qword [ebp - 0x18], xmm1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jb 0x44f3a1
ja 0x44f46d
cmp dword [ebp - 0x18], ebx
jb 0x44f3a1
jmp 0x44f46d
mov eax, dword [ebp - 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push dword [ebp - 0x18]
call fcn.0049ed20
mov dword [ebp - 0x14], ebx
pop ebx
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0x20]
mov esi, edx
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
push ebx
call fcn.0049efe0
cmp edx, esi
jb 0x44f4be
ja 0x44f4a6
cmp eax, dword [ebp - 0xc]
jb 0x44f4be
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
jne 0x44f37f
cmp dword [ebp - 0x14], eax
jne 0x44f37f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x1c]
push ebx
call fcn.004dd030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44f530
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
dec eax
mov ecx, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
test eax, eax
je 0x44f5dc
nop dword [eax]
mov ecx, dword [edi + 4]
dec ecx
shl esi, cl
add esi, esi
mov dword [ebp - 4], esi
nop dword [eax + eax]
mov esi, dword [edi]
mov eax, dword [esi]
cmp eax, 0x270
jne 0x44f574
mov ecx, esi
call fcn.0044f610
jmp 0x44f582
cmp eax, 0x4e0
jb 0x44f582
mov ecx, esi
call fcn.0044f660
mov eax, dword [esi]
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
xor eax, edx
cmp eax, dword [edi + 8]
ja 0x44f560
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 4]
dec ecx
shl ebx, cl
or esi, eax
mov ecx, dword [ebp + 8]
add ebx, ebx
or ebx, dword [edi + 8]
lea eax, [ecx - 1]
cmp ebx, eax
jb 0x44f550
xor edx, edx
mov eax, ebx
div ecx
mov ecx, eax
mov ebx, edx
xor edx, edx
mov eax, esi
div dword [ebp + 8]
cmp eax, ecx
mov ecx, dword [ebp + 8]
jb 0x44f5ff
lea eax, [ecx - 1]
cmp ebx, eax
jne 0x44f540
mov eax, esi
xor edx, edx
div ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x44f620
pop esi
ret

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

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x44f670
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x44f6b2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x45b910
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x52e098]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x45b9db
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.00477870
add esp, 0xc
test eax, eax
jne 0x45b9db
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.00477870
add esp, 0xc
test eax, eax
jne 0x45b9db
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x45b964
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00477840
add esp, 0xc
test eax, eax
je 0x45b998
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00477840
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45b99a
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x45b9c6
mov al, byte [esi]
push eax
call fcn.0046ac30
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x45b9a8
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0049de5d
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0049de5d
add esp, 0x18
ret
Function at 0x466720
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x608], 0
je 0x466764
push esi
push 1
push edi
call fcn.00457570
push dword [edi + 0x59c]
mov eax, dword [edi + 0x608]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00457570
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x46679d
push dword [edi + 0x598]
lea eax, [eax + eax*2]
push 1
add eax, 0x4f92f8
push 2
push eax
call fcn.004be361
push dword [edi + 0x598]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004be361
add esp, 0x20
xor eax, eax
pop edi
ret

Function at 0x466ea0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov eax, dword [0x52e098]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x128]
mov ecx, dword [ebx + 0x424]
cmp edx, ecx
push esi
sete al
mov esi, 0x440
push edi
lea eax, [eax*4 + 0x420]
mov eax, dword [eax + ebx]
mov dword [esp + 0x10], eax
mov eax, 0x450
cmove esi, eax
mov eax, dword [ebx + 0x540]
add esi, ebx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x466fae
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x430]
cmp dword [eax + ebx], 0x466a60
jne 0x466fae
cmp dword [esi], 0
je 0x466f38
test edi, edi
je 0x466fae
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.00476060
add esp, 0x14
cmp eax, 0xffffffff
je 0x466fae
test al, 1
je 0x466fae
mov ecx, dword [esi]
test ecx, ecx
jne 0x466f8b
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [section..data]
mov edi, dword [esi + 4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x466fa7
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x466fae
add dword [esi + 8], eax
jmp 0x466fae
mov dword [esi + 4], 0
push 0
push dword [esp + 0x130]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x467017
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x466fe8
mov dword [ebp], 0
lea eax, [edi + 0x52]
jmp 0x46701c
push 0x100
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00452f30
push eax
push str.Send_failure:__s
push dword [ebx]
call fcn.004667b0
mov eax, dword [ebx]
add esp, 0x18
mov dword [eax + 0xd44], esi
mov eax, 0x37
jmp 0x467019
xor eax, eax
mov dword [ebp], edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049de5d
add esp, 0x10c
ret
Function at 0x467440
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 0x46c], 0
je 0x46745d
push eax
call fcn.0045ff70
add esp, 4
test eax, eax
jne 0x46747c
xor al, al
ret
mov eax, dword [eax + 0x420]
cmp eax, 0xffffffff
je 0x46745a
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x46745a
mov al, 1
ret
Function at 0x469220
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x4f975c
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x46923a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x4f9778
push esi
call fcn.004c67b0
add esp, 8
test eax, eax
je 0x469282
test ebp, ebp
je 0x469273
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x4692a8
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4692a8
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x46935f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4692c5
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x469355
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x469355
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4692f7
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469310
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x469320
test ebp, ebp
je 0x46934c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x52e004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x52e004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x46e7b0
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46e7c4
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov al, byte [eax + 0xe7]
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x46e7d8
xor al, al
ret
push eax
push 0
call fcn.00467370
add esp, 8
mov al, 1
ret