joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465930
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x465952
xor eax, eax
jmp 0x465940
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 7
jb 0x465940
mov byte [esi + 8], 0
pop esi
ret

Function at 0x465960
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x465982
xor eax, eax
jmp 0x465970
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x465970
mov byte [esi + 5], 0
pop esi
ret

Function at 0x465a10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x465a32
xor eax, eax
jmp 0x465a20
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0x465a20
mov byte [esi + 0x12], 0
pop esi
ret

Function at 0x465a40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x465a62
xor eax, eax
jmp 0x465a50
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x15
jb 0x465a50
mov byte [esi + 0x16], 0
pop esi
ret

Function at 0x465a70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x465a92
xor eax, eax
jmp 0x465a80
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x465a80
mov byte [esi + 0xe], 0
pop esi
ret

Function at 0x465aa0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0x465ac2
xor eax, eax
jmp 0x465ab0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x18
jb 0x465ab0
mov byte [esi + 0x19], 0
pop esi
ret

Function at 0x465ad0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x465af2
xor eax, eax
jmp 0x465ae0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 9
jb 0x465ae0
mov byte [esi + 0xa], 0
pop esi
ret

Function at 0x465b00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2f], 0
je 0x465b22
xor eax, eax
jmp 0x465b10
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x2e
jb 0x465b10
mov byte [esi + 0x2f], 0
pop esi
ret

Function at 0x465b30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x465b52
xor eax, eax
jmp 0x465b40
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x1f
jb 0x465b40
mov byte [esi + 0x20], 0
pop esi
ret

Function at 0x465b60
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x465b82
xor eax, eax
jmp 0x465b70
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0x465b70
mov byte [esi + 6], 0
pop esi
ret

Function at 0x465b90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x465bb2
xor eax, eax
jmp 0x465ba0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x465ba0
mov byte [esi + 4], 0
pop esi
ret
Function at 0x468be0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512b80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x46aa30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5048c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
cmp dword [ebp + 0xc], 1
mov edx, ecx
push ebx
sete al
mov dword [ebp - 0x10], edx
push esi
mov byte [edx + 0x48], al
lea ebx, [edx + 4]
mov eax, dword [ebp - 0x10]
lea esi, [edx + 8]
mov dword [edx + 0xc], ebx
lea ecx, [edx + 0x18]
mov dword [edx + 0x10], esi
mov byte [edx + 0x3d], 0
mov dword [edx + 0x20], ecx
push edi
lea edi, [edx + 0x14]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [edx + 0x1c], edi
add edx, 0x24
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp + 0xc]
mov dword [esi], 0
mov esi, dword [ebp + 8]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
test esi, esi
je 0x46ab06
lea eax, [ebp - 0x14]
mov dword [ebp + 0xc], 0
push eax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], 0
push eax
push esi
call fcn.004ed30a
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
jmp 0x46ab09
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], esi
mov ecx, dword [0x54485c]
mov eax, dword [0x544858]
pop edi
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword [edx + 0x40], eax
mov dword [edx + 0x38], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x46ab40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512dbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 0x10], eax
call fcn.0046c180
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x544858]
mov ecx, dword [0x54485c]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46ad00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512dee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx]
push 0
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
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
call fcn.004046a0
push 8
call fcn.004df872
push 1
mov esi, eax
call fcn.004de929
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x30]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 2
push eax
call fcn.0046c5f0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov edx, 2
mov byte [ebp + 0xb], al
mov dword [ebp - 0x10], edx
and edx, 0xfffffffd
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test eax, eax
je 0x46ae2d
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x46ae49
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.004046a0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46ae70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512e0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.std::ios_base.0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0
mov dword [ecx], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov byte [ecx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46e120
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0xf
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jbe 0x46e13e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x46e164
lea esp, [esp]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x46e150
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.00474700
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x46f9c0
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 0x46f9f1
lea esp, [esp]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x46f9e0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x47b440
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514edb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
push esi
mov ecx, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.00468b20
mov dword [ebp - 4], 2
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
mov dword [ebp + 8], ecx
call fcn.00468b20
mov dword [ebp - 4], 5
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.00468b20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x47e0f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0047e190
mov dword [ebp - 4], 0
lea edx, [edi + 0x30]
mov dword [ebp + 8], edx
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0x30]
mov dword [edx], eax
mov eax, dword [esi + 0x34]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x38]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x40]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x44]
mov dword [edx + 0x14], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x47e350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515339
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
lea edx, [edi + 4]
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
xor eax, eax
mov dword [ebp + 8], edx
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov eax, dword [esi + 4]
mov dword [edx], eax
mov eax, dword [esi + 8]
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [edx + 0x14], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [ebp - 4], 2
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x14], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov dword [ebp - 4], 5
lea ecx, [edi + 0x34]
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x34]
mov dword [ecx], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x40]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x44]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x14], eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0xf
mov byte [esi + 0x34], 0
mov dword [ebp - 4], 8
lea ecx, [edi + 0x4c]
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x14], eax
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xf
mov byte [esi + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x47e4f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515383
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
lea edx, [edi + 4]
mov esi, dword [ebp + 8]
mov al, byte [esi]
mov byte [edi], al
xor eax, eax
mov dword [ebp + 8], edx
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov eax, dword [esi + 4]
mov dword [edx], eax
mov eax, dword [esi + 8]
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [edx + 0x14], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [ebp - 4], 2
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x14], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x486350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5441b8]
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov esi, ecx
call eax
mov ebx, eax
test ebx, ebx
jne 0x486380
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp + 0x10]
push eax
push 6
push ebx
call dword [0x5441bc]
mov eax, dword [0x5441a8]
push 0
push 0
push 3
push 0
push 0
push 0x50
push esi
push ebx
call eax
cmp byte [ebp + 8], 0
mov edx, eax
mov dword [ebp - 0x10], edx
mov esi, connect
mov dword [ebp - 4], connect
je 0x4863c7
mov dword [ebp - 4], 0x80803000
mov esi, 0x80803000
mov edi, dword [0x5441b0]
xor ecx, ecx
mov dword [ebp - 0x16], 0xaea8adaf
mov word [ebp - 0x12], 0x100
lea esp, [esp]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 4
jb 0x4863e0
push 0
push esi
push 0
push 0
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 0x16]
mov byte [ebp - 0x11], 0
push eax
push edx
call edi
mov ecx, dword [0x5441ac]
mov edi, eax
push 0
push 0
push 0
push 0
push edi
call ecx
test eax, eax
jne 0x486475
push eax
push 0x3d52
call fcn.00407ed0
add esp, 8
mov dword [ebp - 0xc], edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, esi
jne 0x486475
cmp ecx, dword [ebp - 0xc]
jne 0x486475
cmp byte [ebp + 8], cl
je 0x486475
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0x1f
push edi
call dword [0x54419c]
or dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push 4
push eax
push 0x1f
push edi
call dword [0x5441bc]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push dword [ebp + 0x14]
push 0x20000005
push edi
call dword [0x5441b4]
neg eax
sbb esi, esi
and esi, 0xfffffffe
test edi, edi
je 0x4864a3
push edi
call dword [0x5441a0]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4864b1
push eax
call dword [0x5441a0]
push ebx
call dword [0x5441a0]
pop edi
lea eax, [esi + 2]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4864d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515e2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x82c
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 0
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x28], edi
mov eax, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push dword [ebp + 0x18]
mov ecx, eax
mov dword [ebp - 0x14], ebx
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
call fcn.00486350
mov eax, dword [0x5441b8]
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
push esi
call eax
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
jne 0x48654f
lea ebx, [edi + 1]
jmp 0x486685
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5441c0]
movzx eax, al
neg eax
push 0
sbb eax, eax
and eax, 0x803000
add eax, 0x80000000
push eax
push 0
push 0
push dword [ebp - 0x20]
push edx
call ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x486587
lea ebx, [eax + 2]
jmp 0x48667c
mov eax, dword [0x5441a4]
lea edx, [ebp - 0x18]
push edx
push 0x800
lea edx, [ebp - 0x834]
push edx
push ecx
call eax
test eax, eax
je 0x486616
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x48660f
xor esi, esi
test eax, eax
je 0x4865ec
jmp 0x4865c0
lea eax, [ebp - 0x834]
add eax, esi
cmp edi, ebx
je 0x4865d6
mov al, byte [eax]
mov byte [edi], al
inc edi
mov dword [ebp - 0x28], edi
jmp 0x4865e6
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0047bbd0
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x4865c0
mov eax, dword [0x5441a4]
lea ecx, [ebp - 0x18]
push ecx
push 0x800
lea ecx, [ebp - 0x834]
push ecx
push dword [ebp - 0x20]
call eax
test eax, eax
jne 0x4865a3
mov ecx, dword [ebp - 0x14]
jmp 0x486618
mov eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x48661b
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x48662a
cmp ecx, eax
je 0x48662a
mov ebx, 5
jmp 0x48662c
xor ebx, ebx
mov dword [ebp - 0x14], 0x1008a90
xor ecx, ecx
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 2
jb 0x486635
lea eax, [ebp - 0x14]
mov byte [ebp - 0x11], 0
push eax
push dword [ebp + 0x10]
call fcn.004e5920
mov esi, eax
add esp, 8
test esi, esi
je 0x486673
mov eax, dword [ebp - 0x2c]
sub edi, eax
push esi
push edi
push 1
push eax
call fcn.004ed728
push esi
call fcn.004e91a8
add esp, 0x14
push dword [ebp - 0x20]
call dword [0x5441a0]
push dword [ebp - 0x30]
call dword [0x5441a0]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c00
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret