joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bc72
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x9c0], 0x270
jl 0x1000bd24
push ebx
push esi
push edi
xor esi, esi
mov edi, 0x7fffffff
mov eax, dword [ecx + esi*4 + 4]
lea edx, [ecx + esi*4]
xor eax, dword [edx]
and eax, edi
xor eax, dword [edx]
mov ebx, eax
shr eax, 1
and ebx, 1
xor eax, dword [ebx*4 + 0x1001d2d0]
xor eax, dword [ecx + esi*4 + 0x634]
inc esi
mov dword [edx], eax
cmp esi, 0xe3
jl 0x1000bc92
jmp 0x1000bce6
mov eax, dword [ecx + esi*4 + 4]
lea edx, [ecx + esi*4]
xor eax, dword [edx]
and eax, edi
xor eax, dword [edx]
mov ebx, eax
shr eax, 1
and ebx, 1
xor eax, dword [ebx*4 + 0x1001d2d0]
xor eax, dword [ecx + esi*4 - 0x38c]
inc esi
mov dword [edx], eax
cmp esi, 0x26f
jl 0x1000bcc1
mov eax, dword [ecx + 0x9bc]
xor eax, dword [ecx]
and eax, edi
xor eax, dword [ecx + 0x9bc]
pop edi
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x1001d2d0]
xor edx, dword [ecx + 0x630]
shr eax, 1
xor edx, eax
and dword [ecx + 0x9c0], 0
pop esi
mov dword [ecx + 0x9bc], edx
pop ebx
mov eax, dword [ecx + 0x9c0]
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ecx + 0x9c0], eax
mov eax, edx
shr eax, 0xb
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
pop ebp
ret

Function at 0x1000bdcf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor ecx, ecx
not eax
cmp dword [ebp + 0xc], ecx
jne 0x1000bde2
xor eax, eax
pop ebp
ret
jbe 0x1000be11
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x10016a18]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0x10016a18]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x1000bde4
not eax
pop ebp
ret

Function at 0x1000bf12
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.1000be57
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1000bf6c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x1000bf65
lea eax, [esi + 1]
push eax
call fcn.1000a8a0
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1000bf65
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push edi
call fcn.1000bebf
add esp, 0x10
test eax, eax
je 0x1000bf65
cmp dword [ebp - 8], esi
je 0x1000bf81
push edi
call dword [0x10022670]
cmp dword [ebp - 4], ebx
je 0x1000bf7d
lea eax, [ebp - 4]
push ebx
push eax
call fcn.1000a8d0
pop ecx
pop ecx
xor eax, eax
jmp 0x1000bf9a
mov eax, dword [ebp - 4]
mov byte [esi + eax], bl
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x1000bf90
mov dword [eax], esi
push edi
call dword [0x10022670]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000cd4a
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ebp
ret

Function at 0x1000cd66
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret

Function at 0x1000ce97
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
push 8
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x14], 0x500
call fcn.1000cd7e
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x1000cec5
xor eax, eax
jmp 0x1000cf50
lea eax, [ebp - 0x10]
push eax
push 2
push edi
call fcn.1000cdca
add esp, 0xc
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1000cf35
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call dword [0x10022714]
test eax, eax
je 0x1000cf35
mov eax, dword [ebp - 4]
push esi
xor esi, esi
mov dword [ebp - 8], ebx
cmp dword [eax], ebx
jbe 0x1000cf2b
push dword [ebp - 0xc]
push dword [eax + esi*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1000cf24
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax]
jb 0x1000cf09
jmp 0x1000cf2b
mov dword [ebp - 8], 1
push dword [ebp - 0xc]
call dword [0x100226b4]
pop esi
push edi
call dword [0x10022670]
cmp dword [ebp - 4], ebx
je 0x1000cf4d
lea eax, [ebp - 4]
push ebx
push eax
call fcn.1000a8d0
pop ecx
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret

Function at 0x1000cf54
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x12
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 8], 0x500
call dword [0x10022714]
test eax, eax
jne 0x1000cf84
leave
ret
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 4]
mov esi, eax
call dword [0x100226b4]
mov eax, esi
pop esi
leave
ret

Function at 0x1000d64e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x10021180], 0
je 0x1000d662
push 9
pop eax
leave
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x24]
leave
ret
Function at 0x1000e1ce
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
jle 0x1000e272
push ebx
push esi
push edi
movzx ecx, cl
movzx edi, dl
inc ecx
and ecx, 0x800000ff
jns 0x1000e20a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx ecx, cl
mov dl, byte [ecx + eax]
movzx ebx, dl
add ebx, edi
and ebx, 0x800000ff
jns 0x1000e228
dec ebx
or ebx, 0xffffff00
inc ebx
mov esi, dword [ebp + 8]
add esi, dword [ebp - 8]
movzx edi, bl
mov byte [ebp + 0x13], bl
mov bl, byte [edi + eax]
mov byte [ecx + eax], bl
mov byte [edi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
and ebx, 0x800000ff
jns 0x1000e256
dec ebx
or ebx, 0xffffff00
inc ebx
movzx edx, bl
mov dl, byte [edx + eax]
xor byte [esi], dl
inc dword [ebp - 8]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jl 0x1000e1f9
mov dl, byte [ebp + 0x13]
mov cl, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
leave
ret

Function at 0x1000e280
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
pop ebp
ret
Function at 0x1000e2bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14c
push ebx
push esi
xor edx, edx
lea ecx, [eax + 0x1d]
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x14c], esi
inc edx
add ecx, 4
cmp edx, 0x10
jl 0x1000e2cf
push 0x40
lea ecx, [ebp - 0x144]
pop edx
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx - 8]
xor esi, dword [ecx]
add ecx, 4
dec edx
rol esi, 1
mov dword [ecx + 0x34], esi
jne 0x1000e306
mov esi, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
and dword [ebp + 8], 0
mov dword [ebp - 4], esi
mov esi, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
mov edi, ecx
not edi
and edi, dword [ebp - 4]
mov ebx, edx
and ebx, ecx
or edi, ebx
rol esi, 5
add esi, edi
mov edi, dword [ebp + 8]
add esi, dword [ebp + edi*4 - 0x14c]
mov edi, dword [ebp - 0xc]
inc dword [ebp + 8]
lea esi, [esi + edi + 0x5a827999]
mov edi, dword [ebp - 4]
ror ecx, 2
cmp dword [ebp + 8], 0x14
mov dword [ebp - 4], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
jl 0x1000e337
mov dword [ebp + 8], 0x14
mov ebx, dword [ebp - 4]
xor ebx, edx
xor ebx, ecx
rol esi, 5
add esi, ebx
mov ebx, dword [ebp + 8]
add esi, dword [ebp + ebx*4 - 0x14c]
inc dword [ebp + 8]
lea esi, [esi + edi + 0x6ed9eba1]
mov edi, dword [ebp - 4]
ror ecx, 2
cmp dword [ebp + 8], 0x28
mov dword [ebp - 4], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
jl 0x1000e384
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], 0x28
mov edi, edx
or edi, ecx
and edi, dword [ebp - 4]
mov ebx, edx
and ebx, ecx
or edi, ebx
mov ebx, dword [ebp + 8]
add edi, dword [ebp + ebx*4 - 0x14c]
rol esi, 5
add esi, dword [ebp - 0xc]
inc dword [ebp + 8]
lea esi, [edi + esi - 0x70e44324]
mov edi, dword [ebp - 4]
ror ecx, 2
push 0x3c
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
pop edi
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], esi
cmp dword [ebp + 8], edi
jl 0x1000e3c5
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
xor edi, edx
xor edi, ecx
add edi, dword [ebp + ebx*4 - 0x14c]
mov ebx, dword [ebp - 4]
rol esi, 5
add esi, dword [ebp - 0xc]
inc dword [ebp + 8]
ror ecx, 2
cmp dword [ebp + 8], 0x50
mov dword [ebp - 4], edx
lea esi, [edi + esi - 0x359d3e2a]
mov edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
jl 0x1000e40b
mov edi, dword [eax]
add edi, esi
mov esi, dword [eax + 4]
add esi, ecx
mov ecx, dword [eax + 8]
add ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 4]
mov dword [eax], edi
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
pop edi
add ecx, ebx
and dword [eax + 0x5c], 0
mov dword [eax + 4], esi
pop esi
mov dword [eax + 0x10], ecx
pop ebx
leave
ret
Function at 0x4300dc
Capabilities:
Parse pe header

Disassembly:
push ebp
jmp 0x430665
call 0x4300e2
pop ebx
xchg dword [esp], edx
lea edx, [edx + 0x4f3]
xchg dword [esp], edx
jmp 0x4305d4
mov eax, dword [esp + 4]
jmp 0x430b61
call 0x4301d2
xchg edi, eax
xchg dword [esp], edi
lea edi, [edi - 0xba]
xchg dword [esp], edi
jmp 0x4300c4
mov edx, 0x4550
jmp 0x430c05
mov ecx, 0x5a4d
jmp 0x4302f2
cmp word [eax], cx
jmp 0x430495
mov ecx, dword [eax + 0x3c]
jmp 0x4301fb
cmp dword [0x431f77], 0
jmp 0x430909
jne 0x430c10
jmp 0x43032b
pushal
jmp 0x430bd7
mov ebp, esp
jmp 0x430add
call 0x4307c4
jmp 0x245f8f4d
ret
push ebx
jmp 0x430c5c
jo 0x43083d
jno 0x43083d
arpl word [edx - 0x17], ax
fdivr st(1)
invalid
and eax, 0xffff0000
jmp 0x4302db
invalid
jne 0x430b8a
jo 0x430936
jno 0x430936
rdpmc
shr cl, 0xe2
add byte [eax], al
add byte [eax + ebp*8 + 1], dl
jge 0x4308aa
xor al, 0x24
lea esi, [esi - 0x497]
xchg dword [esp], esi
jmp 0x43016d
mov dword [0x431f77], 1
jmp 0x43085c
call dword [0x431f7b]
jmp 0x43083d
jne 0x430c10
jmp 0x430806
push edi
jmp 0x4307bd
sub esp, 0x20
jmp 0x4303a1
inc eax
jmp 0x430c10
push dword [ebp + 8]
jmp 0x430951
push esp
jmp 0x4301cc
cmp word [eax + ecx], dx
jmp 0x4309ce
dec eax
jmp 0x430898
push esi
jmp 0x4309ec

Function at 0x4300e2
Capabilities:
Parse pe header

Disassembly:
push ebp
jmp 0x430665
call 0x4300e2
pop ebx
xchg dword [esp], edx
lea edx, [edx + 0x4f3]
xchg dword [esp], edx
jmp 0x4305d4
mov eax, dword [esp + 4]
jmp 0x430b61
call 0x4301d2
xchg edi, eax
xchg dword [esp], edi
lea edi, [edi - 0xba]
xchg dword [esp], edi
jmp 0x4300c4
mov edx, 0x4550
jmp 0x430c05
mov ecx, 0x5a4d
jmp 0x4302f2
cmp word [eax], cx
jmp 0x430495
mov ecx, dword [eax + 0x3c]
jmp 0x4301fb
cmp dword [0x431f77], 0
jmp 0x430909
jne 0x430c10
jmp 0x43032b
pushal
jmp 0x430bd7
mov ebp, esp
jmp 0x430add
call 0x4307c4
jmp 0x245f8f4d
ret
push ebx
jmp 0x430c5c
jo 0x43083d
jno 0x43083d
arpl word [edx - 0x17], ax
fdivr st(1)
invalid
and eax, 0xffff0000
jmp 0x4302db
invalid
jne 0x430b8a
jo 0x430936
jno 0x430936
rdpmc
shr cl, 0xe2
add byte [eax], al
add byte [eax + ebp*8 + 1], dl
jge 0x4308aa
xor al, 0x24
lea esi, [esi - 0x497]
xchg dword [esp], esi
jmp 0x43016d
mov dword [0x431f77], 1
jmp 0x43085c
call dword [0x431f7b]
jmp 0x43083d
jne 0x430c10
jmp 0x430806
push edi
jmp 0x4307bd
sub esp, 0x20
jmp 0x4303a1
inc eax
jmp 0x430c10
push dword [ebp + 8]
jmp 0x430951
push esp
jmp 0x4301cc
cmp word [eax + ecx], dx
jmp 0x4309ce
dec eax
jmp 0x430898
push esi
jmp 0x4309ec
Function at 0x4301d2
Capabilities:
Parse pe header

Disassembly:
push ebp
jmp 0x430665
call 0x4300e2
pop ebx
xchg dword [esp], edx
lea edx, [edx + 0x4f3]
xchg dword [esp], edx
jmp 0x4305d4
mov eax, dword [esp + 4]
jmp 0x430b61
call 0x4301d2
xchg edi, eax
xchg dword [esp], edi
lea edi, [edi - 0xba]
xchg dword [esp], edi
jmp 0x4300c4
mov edx, 0x4550
jmp 0x430c05
mov ecx, 0x5a4d
jmp 0x4302f2
cmp word [eax], cx
jmp 0x430495
mov ecx, dword [eax + 0x3c]
jmp 0x4301fb
cmp dword [0x431f77], 0
jmp 0x430909
jne 0x430c10
jmp 0x43032b
pushal
jmp 0x430bd7
mov ebp, esp
jmp 0x430add
call 0x4307c4
jmp 0x245f8f4d
ret
push ebx
jmp 0x430c5c
jo 0x43083d
jno 0x43083d
arpl word [edx - 0x17], ax
fdivr st(1)
invalid
and eax, 0xffff0000
jmp 0x4302db
invalid
jne 0x430b8a
jo 0x430936
jno 0x430936
rdpmc
shr cl, 0xe2
add byte [eax], al
add byte [eax + ebp*8 + 1], dl
jge 0x4308aa
xor al, 0x24
lea esi, [esi - 0x497]
xchg dword [esp], esi
jmp 0x43016d
mov dword [0x431f77], 1
jmp 0x43085c
call dword [0x431f7b]
jmp 0x43083d
jne 0x430c10
jmp 0x430806
push edi
jmp 0x4307bd
sub esp, 0x20
jmp 0x4303a1
inc eax
jmp 0x430c10
push dword [ebp + 8]
jmp 0x430951
push esp
jmp 0x4301cc
cmp word [eax + ecx], dx
jmp 0x4309ce
dec eax
jmp 0x430898
push esi
jmp 0x4309ec
Function at 0x411957
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 1
mov dword [ebp - 0x20c], eax
test byte [0x6dba94], cl
jne 0x56f239
or dword [0x6dba94], ecx
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x408d
xor dx, word [eax*2 + 0x5ce574]
jmp 0x56f1e0
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
push edi
push esi
call dword [0x6dba90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00528601
mov esp, ebp
pop ebp
ret 8
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x41198c
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x2a28
xor dx, word [eax*2 + 0x5ce58c]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x56f1f5
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6dba90], eax
mov edx, dword [ebp - 0x20c]
jmp 0x4b5c9a

Function at 0x4176e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [edi], eax
jmp 0x580f8a
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll_strstr]
add esp, 8
test eax, eax
je 0x595e6b
push esi
lea ecx, [ebp - 0x108]
push 0x100
push ecx
call ebx
add esp, 0xc
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5c2e
xor dx, word [eax*2 + 0x5ce644]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
push 0x595e4a
ret
pop ebp
ret
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00528601
mov esp, ebp
jmp 0x44a292
push 0x100
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x45d20d
jmp 0x541e8e
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x10d3
xor cx, word [eax*2 + 0x5ce628]
inc eax
mov word [ebp + eax*2 - 0x20a], cx
cmp eax, 0xc
jl 0x541e90
jmp 0x4329fa
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push ebx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
push esi
lea edx, [ebp - 0x308]
mov dword [edi + 0x18], eax
push edx
mov eax, 0x72
push ecx
mov dword [edi + 0xc], 0xbb8
mov word [ebp - 0x308], ax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x45d217
mov ebx, dword [sym.imp.msvcrt.dll_fgets]
push esi
lea eax, [ebp - 0x108]
jmp 0x541e76
xor eax, eax
lea esp, [esp]
lea edx, [eax + 1]
imul edx, edx, 0xb19
xor dx, word [eax*2 + 0x5ce64c]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
jmp dword [0x595e95]
Function at 0x432792
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x6dbaa4], cl
jne 0x4b09d8
or dword [0x6dbaa4], ecx
xor eax, eax
jmp 0x4327c3
lea edx, [eax + 1]
imul edx, edx, 0x1d8b
xor dx, word [eax*2 + 0x5ce240]
mov word [ebp + eax*2 - 0x108], dx
jmp 0x4bbd2a
push 0
push 0
push ebx
push edi
push 0
add byte [edx], ch
add eax, ecx
cmp eax, 0xa
jl 0x4327c3
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4c32
xor dx, word [eax*2 + 0x5ce258]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 7
jl 0x4bbd37
jmp dword [0x4bbd64]

Function at 0x43b05c
Capabilities:
Get hostname

Disassembly:
cmp eax, 5
jl 0x57822d
xor eax, eax
jmp 0x41e9c6
mov cl, byte [ebp + eax - 0x234]
mov byte [ebp + eax - 0x10c], cl
inc eax
test cl, cl
jne 0x41e9c6
mov edx, dword [ebp - 0x3e0]
push 1
lea eax, [ebp - 0x3dc]
push eax
jmp dword [0x41e9f2]
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], ebx
test eax, eax
je 0x4d64a7
test ebx, ebx
je 0x4d64a7
jmp 0x5781ea
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00528601
mov esp, ebp
pop ebp
ret
push 0xff
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x3e0], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x41e9dd
lea ecx, [eax + 1]
imul ecx, ecx, 0x7b11
xor cx, word [eax*2 + 0x5ceb20]
inc eax
mov word [ebp + eax*2 - 0x236], cx
jmp 0x41e9b6

Function at 0x44a2ac
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x6d753c]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x59b7c4
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x100000
jle 0x44a2db
mov eax, 0x100000
push 0
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
jmp 0x542cf2
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jle 0x59b7b1
mov eax, dword [0x6d7540]
add esi, edi
mov dword [ebp - 8], esi
test eax, eax
je 0x59b7a8
fild dword [ebp - 4]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp - 8]
jmp 0x59b79c
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
call eax
cmp esi, dword [ebp + 0xc]
jl 0x44a2c6
cmp edi, 0xffffffff
pop edi
jne 0x59b7c4
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46eac6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x46eaf8
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
sub esi, eax
lea ebx, [ecx + 1]
imul ebx, dword [ebp + 8]
xor bx, word [esi + edx]
inc ecx
mov word [edx], bx
add edx, 2
cmp ecx, edi
jl 0x46eadc
pop esi
pop ebx
pop ebp
ret 8
Function at 0x489fd9
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebp - 0x538]
push ebx
lea eax, [ebp - 0x534]
push eax
push ecx
call esi
mov ecx, dword [ebp - 8]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00528601
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x5ce6c0]
inc eax
mov word [ebp + eax*2 - 0x436], dx
jmp 0x5493f2
push ebx
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x30c]
push eax
call esi
add esp, 0xc
push 0
push 0x40000000
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x57c003
cmp edi, 0xffffffff
je 0x57c003
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x328], eax
push 0x56cb40
ret
cmp eax, 8
jl 0x489ff9
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push ebx
lea eax, [ebp - 0x434]
push eax
push ecx
call esi
add esp, 0xc
xor eax, eax
jmp 0x549419
lea ecx, [eax + 1]
imul ecx, ecx, 0x76b6
xor cx, word [eax*2 + 0x5ce6d4]
inc eax
mov word [ebp + eax*2 - 0x436], cx
cmp eax, 0xa
jl 0x549419
jmp 0x4d8bdc
lea edx, [eax + 1]
imul edx, edx, 0x7425
xor dx, word [eax*2 + 0x5ce6ec]
inc eax
mov word [ebp + eax*2 - 0x536], dx
cmp eax, 8
jl 0x57c003
jmp 0x45a412

Function at 0x4b09f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x6dba9c], cl
jmp 0x5932d6
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push edx
push esi
push eax
call dword [0x6dba98]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00528601
mov esp, ebp
pop ebp
ret
xor dx, word [eax*2 + 0x5ce284]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x59330f
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6dba98], eax
jmp 0x4d3358
jne 0x4d3358
or dword [0x6dba9c], ecx
xor eax, eax
jmp 0x5932e9
lea edx, [eax + 1]
imul edx, edx, 0x3417
xor dx, word [eax*2 + 0x5ce268]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x5932e9
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x1ea7
jmp 0x5874ee