joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4598d0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eb0f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7cf070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x459911
cmp eax, 0x80010106
jne 0x459991
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ebx, [edi + 0xc]
push ebx
push 0x733b10
push 1
push 0
push 0x733be0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, str.L_kkkkklu_05__GRTVYYdmv_2__CDKZbkrv__19BOXcit_36BITUYajw_3BBER_ckp
call fcn.0045f920
test eax, eax
jne 0x4599a3
xor esi, esi
mov dword [ebp - 0x10], esi
add edi, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebx]
push edi
push 0
push 0
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push esi
push ecx
call dword [eax + 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x459954
push 0x8007000e
call fcn.00402890
int3
Function at 0x45c7f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x45c7fb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x45c8b7
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
sub edi, 1
jne 0x45c810
pop edi
test esi, esi
je 0x45c8da
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
sub esi, 1
jne 0x45c8c0
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x45cf50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x45cf93
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45cf85
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x45cfa4
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.005ed9e0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cfd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x45d00b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45d006
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x45d038
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x45d01c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.005ed9e0
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x45d04c
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x45d043
cmp byte [esi + 8], 0
je 0x45d043
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x45d145
cmp byte [edi + 1], 0
je 0x45d13d
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x45d14b
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
cmp byte [edi], 0
push ebx
je 0x45d16e
cmp byte [edi + 1], 0
je 0x45d167
push 1
push 0
push 0
push dword [edi + 4]
call ecx
sub eax, dword [edi + 0xc]
jmp 0x45d171
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x45d180
mov eax, dword [edi + 0x1c]
mov ebx, 0xffff
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
cmp eax, ebx
jae 0x45d185
mov ebx, eax
mov dword [ebp - 0x10], eax
push esi
push 0x404
call fcn.005f6c29
mov esi, eax
add esp, 4
test esi, esi
jne 0x45d1a3
pop esi
pop ebx
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 4], 0xffffffff
cmp ebx, eax
jbe 0x45d2a5
nop word [eax + eax]
mov edx, dword [ebp - 8]
add eax, 0x400
cmp eax, ebx
mov ecx, eax
mov eax, 0x404
cmova ecx, ebx
sub edx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x404
mov dword [ebp - 0x18], edx
mov ebx, ecx
cmova ebx, eax
cmp byte [edi], 0
je 0x45d20b
cmp byte [edi + 1], 0
je 0x45d2a5
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x45d20e
mov dword [edi + 0x1c], edx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0xc], ebx
je 0x45d236
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45d231
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x45d25f
mov edx, dword [edi + 0x1c]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
jbe 0x45d249
mov ecx, dword [edi + 0x18]
sub ecx, edx
mov dword [ebp - 0xc], ecx
push ecx
mov ecx, dword [edi + 0x14]
add ecx, edx
push ecx
push esi
call fcn.005ed9e0
mov eax, dword [ebp - 0xc]
add esp, 0xc
add dword [edi + 0x1c], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x45d2a5
lea eax, [ebx - 3]
test eax, eax
js 0x45d290
nop
dec eax
cmp byte [eax + esi], 0x50
jne 0x45d28c
cmp byte [eax + esi + 1], 0x4b
jne 0x45d28c
cmp byte [eax + esi + 2], 5
jne 0x45d28c
cmp byte [eax + esi + 3], 6
je 0x45d2b8
test eax, eax
jns 0x45d270
mov eax, dword [ebp - 4]
test eax, eax
jne 0x45d2a5
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
jb 0x45d1c0
push esi
call fcn.005f6c3f
mov eax, dword [ebp - 4]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
add eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
jmp 0x45d293
Function at 0x45dc40
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
jne 0x45dc5b
pop edi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 0
je 0x45dc50
cmp dword [edi + 0x7c], 0
je 0x45dc6c
call fcn.0045e0b0
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
call fcn.0045d9c0
add esp, 8
test eax, eax
je 0x45dc90
pop edi
mov eax, 0xffffff99
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x84
call fcn.005f6c29
mov esi, eax
add esp, 4
test esi, esi
je 0x45dcd3
push 0x4000
call fcn.005f6c29
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x45dcdf
push esi
call fcn.005f6c3f
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], 0
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x45dd3a
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0045caf0
test eax, eax
jne 0x45dd3a
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x45dd5d
mov al, byte [edi + 0x39]
jmp 0x45dd60
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov ecx, 0xc
xor eax, eax
cmp byte [esi + 0x6c], al
cmovne eax, ecx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x70], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebx, ebx
je 0x45ddde
nop
mov al, byte [ebx]
test al, al
je 0x45ddde
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, dword [esi + 0x70]
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x796460]
xor eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x70], eax
movzx eax, al
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x796460]
mov dword [esi + 0x78], ecx
add ebx, 1
jne 0x45dd90
mov eax, dword [ebp - 0xc]
add eax, 0x1e
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e1b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45e262
cmp dword [esi + 4], 0xffffffff
jne 0x45e262
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e1e1
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x45e218
cmp eax, 0x2f
je 0x45e218
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x45e205
mov eax, dword [0x7a6310]
mov dword [edi], eax
push 0x20
call fcn.004a541b
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.0045d2c0
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
pop edi
cmove ecx, edx
mov eax, ecx
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc

Function at 0x45e900
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x7cf070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
je 0x45e932
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45e932
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x45ea1c
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x45e94f
cmp ax, 0x5c
jne 0x45e951
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x45e943
cmp edi, ebx
je 0x45e99a
sub edi, ebx
lea eax, [ebp - 0x414]
and edi, 0xfffffffe
push edi
push ebx
push eax
call fcn.005ed9e0
add esp, 0xc
cmp edi, 0x208
jae 0x45ea2c
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, esi
mov word [ebp + edi - 0x414], ax
call fcn.0045e900
xor eax, eax
mov word [ebp - 0x20c], ax
test esi, esi
je 0x45e9c0
lea ecx, [ebp - 0x20c]
sub ecx, esi
nop
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x45e9b0
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x45e9c2
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x45e9e0
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
jne 0x45ea1c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005e9199
mov esp, ebp
pop ebp
ret
call fcn.005e92f0
int3
Function at 0x45f0c0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
push ebx
push esi
push edi
test ecx, ecx
jne 0x45f0e4
mov dword [0x7e7f8c], 0x10000
mov eax, 0x10000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ecx], 1
je 0x45f0ff
mov dword [0x7e7f8c], 0x80000
mov eax, 0x80000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ebx, dword [ecx + 4]
cmp eax, 2
jne 0x45f186
mov esi, dword [ebp + 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test esi, esi
je 0x45f127
push esi
call edi
test eax, eax
jne 0x45f127
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call edi
lea edi, [ebx + 0x244]
test eax, eax
jne 0x45f151
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x45f143
jmp 0x45f17c
mov ecx, edi
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x45f155
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x45f170
mov eax, dword [0x7a6310]
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.0045ea40
pop edi
pop esi
mov dword [0x7e7f8c], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f3a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov bl, byte [edx]
push esi
mov esi, ecx
push edi
lea edi, [esi + 1]
mov dword [ebp - 4], esi
movzx eax, byte [esi + 0x1d]
lea ecx, [esi + 4]
movzx eax, byte [eax + str.cw]
xor al, bl
xor byte [esi], al
movzx eax, byte [esi + 0x1e]
movzx eax, byte [eax + str.cw]
xor byte [edi], al
sub edi, esi
movzx eax, byte [esi + 0x1f]
movzx eax, byte [eax + str.cw]
xor byte [esi + 2], al
movzx eax, byte [esi + 0x1c]
movzx eax, byte [eax + str.cw]
xor byte [esi + 3], al
mov al, bl
shr al, 7
add bl, bl
movzx eax, al
imul eax, eax, 0x1b
xor al, bl
lea ebx, [esi + 2]
mov byte [edx], al
sub ebx, esi
mov eax, 0xfffffffc
lea edx, [esi + 3]
sub edx, esi
mov dword [ebp - 8], edx
lea esi, [eax + 7]
movzx eax, byte [eax + ecx]
lea ecx, [ecx + 4]
xor byte [ecx - 4], al
mov eax, 0xfffffffd
movzx eax, byte [eax + ecx - 4]
xor byte [edi + ecx - 4], al
mov eax, 0xfffffffe
movzx eax, byte [eax + ecx - 4]
xor byte [ebx + ecx - 4], al
or eax, 0xffffffff
movzx eax, byte [eax + ecx - 4]
xor byte [edx + ecx - 4], al
mov eax, 0xfffffffc
sub esi, 1
jne 0x45f416
mov esi, dword [ebp - 4]
mov edx, 3
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax + str.cw]
xor byte [esi + 0x10], al
movzx eax, byte [esi + 0xd]
movzx eax, byte [eax + str.cw]
xor byte [esi + 0x11], al
movzx eax, byte [esi + 0xe]
movzx eax, byte [eax + str.cw]
xor byte [esi + 0x12], al
movzx eax, byte [esi + 0xf]
movzx eax, byte [eax + str.cw]
xor byte [esi + 0x13], al
lea eax, [esi + 0x14]
mov esi, dword [ebp - 8]
nop dword [eax + eax]
mov ecx, 0xfffffffc
lea eax, [eax + 4]
movzx ecx, byte [ecx + eax - 4]
xor byte [eax - 4], cl
mov ecx, 0xfffffffd
movzx ecx, byte [ecx + eax - 4]
xor byte [edi + eax - 4], cl
mov ecx, 0xfffffffe
movzx ecx, byte [ecx + eax - 4]
xor byte [ebx + eax - 4], cl
or ecx, 0xffffffff
movzx ecx, byte [ecx + eax - 4]
xor byte [esi + eax - 4], cl
sub edx, 1
jne 0x45f4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f4f0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea esi, [ecx + 1]
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], esi
lea ebx, [ecx - 4]
sub dword [ebp - 8], ecx
lea esi, [ecx - 2]
sub esi, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], esi
lea eax, [ecx + 3]
lea esi, [ecx + 2]
mov dword [ebp - 0xc], 3
sub esi, ecx
lea edx, [ecx + 0x1c]
push edi
lea edi, [ecx - 3]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
lea esi, [ecx - 1]
sub dword [ebp - 4], ecx
sub esi, ecx
mov edi, dword [ebp - 8]
sub ebx, ecx
sub eax, ecx
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
nop dword [eax]
movzx eax, byte [ebx + edx]
lea edx, [edx - 4]
xor byte [edx + 4], al
movzx eax, byte [esi + edx + 4]
xor byte [edi + edx + 4], al
mov esi, dword [ebp - 0x14]
movzx eax, byte [ecx + edx + 4]
xor byte [esi + edx + 4], al
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
movzx eax, byte [eax + edx + 4]
xor byte [esi + edx + 4], al
sub dword [ebp - 0xc], 1
mov esi, dword [ebp - 4]
jne 0x45f550
mov ecx, dword [ebp - 0x20]
mov bl, 0xc
movzx eax, byte [ecx + 0xc]
movzx eax, byte [eax + str.cw]
xor byte [ecx + 0x10], al
movzx eax, byte [ecx + 0xd]
movzx eax, byte [eax + str.cw]
xor byte [ecx + 0x11], al
movzx eax, byte [ecx + 0xe]
movzx eax, byte [eax + str.cw]
xor byte [ecx + 0x12], al
movzx eax, byte [ecx + 0xf]
movzx eax, byte [eax + str.cw]
xor byte [ecx + 0x13], al
movzx edx, bl
movzx eax, byte [ecx + edx - 4]
xor byte [edx + ecx], al
movzx eax, byte [ecx + edx - 3]
xor byte [ecx + edx + 1], al
movzx eax, byte [ecx + edx - 2]
xor byte [ecx + edx + 2], al
movzx eax, byte [ecx + edx - 1]
xor byte [ecx + edx + 3], al
add bl, 0xfc
jne 0x45f5c4
mov ebx, dword [ebp - 0x24]
pop edi
pop esi
mov al, byte [ebx]
mov dl, al
and dl, 1
neg dl
sbb dl, dl
shr al, 1
and dl, 0x8d
xor dl, al
movzx eax, byte [ecx + 0x1d]
mov byte [ebx], dl
pop ebx
movzx eax, byte [eax + str.cw]
xor al, dl
xor byte [ecx], al
movzx eax, byte [ecx + 0x1e]
movzx eax, byte [eax + str.cw]
xor byte [ecx + 1], al
movzx eax, byte [ecx + 0x1f]
movzx eax, byte [eax + str.cw]
xor byte [ecx + 2], al
movzx eax, byte [ecx + 0x1c]
movzx eax, byte [eax + str.cw]
xor byte [ecx + 3], al
mov esp, ebp
pop ebp
ret
Function at 0x45f650
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, edx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea eax, [ecx + 0x40]
mov dword [ebp - 0xc], ebx
mov edi, eax
lea esi, [ebx + 0x10]
sub eax, ebx
sub edi, ecx
add eax, 0x10
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov edi, ecx
mov eax, ecx
sub edi, ebx
sub eax, ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp - 0x10]
add eax, 0x10
mov dl, 0x10
mov dword [ebp - 8], eax
nop dword [eax]
lea esi, [esi - 1]
lea eax, [edi + esi]
mov cl, byte [eax + ebx]
mov byte [eax], cl
xor byte [esi], cl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov al, byte [eax + esi]
mov byte [ecx + esi], al
add dl, 0xff
jne 0x45f690
mov ebx, dword [ebp - 0xc]
mov dl, 0x10
mov cl, byte [ebx + 1]
lea edi, [ebx + 0x10]
movzx eax, byte [ebx + 0xd]
mov byte [ebx + 1], al
movzx eax, byte [ebx + 9]
mov byte [ebx + 0xd], al
movzx eax, byte [ebx + 5]
mov byte [ebx + 9], al
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 5], cl
mov cl, byte [ebx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 7]
mov byte [ebx + 0xa], cl
mov cl, byte [ebx + 3]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 0xb]
mov byte [ebx + 7], al
movzx eax, byte [ebx + 0xf]
mov byte [ebx + 0xf], cl
mov cl, byte [ebx + 6]
mov byte [ebx + 0xb], al
movzx eax, byte [ebx + 0xe]
mov byte [ebx + 0xe], cl
mov ecx, edi
mov byte [ebx + 6], al
nop dword [eax + eax]
movzx eax, byte [ecx - 1]
lea ecx, [ecx - 1]
mov al, byte [eax + 0x797960]
mov byte [ecx], al
add dl, 0xff
jne 0x45f710
mov esi, dword [ebp - 0x18]
mov al, 0xd
mov byte [ebp - 2], 0x80
mov byte [ebp - 1], al
test al, 1
je 0x45f759
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 2]
call fcn.0045f4f0
mov ebx, dword [ebp - 8]
mov dl, 0x10
mov ecx, edi
mov al, byte [ecx + ebx - 1]
lea ecx, [ecx - 1]
xor byte [ecx], al
add dl, 0xff
jne 0x45f746
mov ebx, dword [ebp - 0xc]
jmp 0x45f76e
mov dl, 0x10
mov eax, edi
nop dword [eax]
mov cl, byte [eax + esi - 1]
lea eax, [eax - 1]
xor byte [eax], cl
add dl, 0xff
jne 0x45f760
mov ecx, ebx
call fcn.0045f260
mov cl, byte [ebx + 1]
mov dl, 0x10
movzx eax, byte [ebx + 0xd]
mov byte [ebx + 1], al
movzx eax, byte [ebx + 9]
mov byte [ebx + 0xd], al
movzx eax, byte [ebx + 5]
mov byte [ebx + 9], al
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 5], cl
mov cl, byte [ebx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 7]
mov byte [ebx + 0xa], cl
mov cl, byte [ebx + 3]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 0xb]
mov byte [ebx + 7], al
movzx eax, byte [ebx + 0xf]
mov byte [ebx + 0xf], cl
mov cl, byte [ebx + 6]
mov byte [ebx + 0xb], al
movzx eax, byte [ebx + 0xe]
mov byte [ebx + 0xe], cl
mov ecx, edi
mov byte [ebx + 6], al
nop dword [eax]
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [eax + 0x797960]
mov byte [ecx], al
add dl, 0xff
jne 0x45f7d0
mov al, byte [ebp - 1]
add al, 0xff
mov byte [ebp - 1], al
jne 0x45f730
mov cl, 0x10
mov al, byte [esi + edi - 1]
lea edi, [edi - 1]
xor byte [edi], al
add cl, 0xff
jne 0x45f7f2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464110
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x7cf070]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x464160
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x46415a
shr eax, 8
cmp al, 2
jne 0x46415a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e9199
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.005e9199
mov esp, ebp
pop ebp
ret
Function at 0x46aef0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x46af39
mov al, byte [esi]
push eax
call fcn.00478410
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x46af17
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x46c290
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x46c2ae
cmp dword [esi + 0x6c], 0
je 0x46c2ae
push 2
push 3
push esi
call fcn.004789d0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00478e30
add esp, 4
test esi, esi
je 0x46c2ce
cmp dword [esi + 0x6c], 0
je 0x46c2ce
push 3
push esi
call fcn.00478a10
add esp, 8
pop esi
pop ebp
ret

Function at 0x46ce80
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2d0], 2
jne 0x46ce95
pop ebp
jmp fcn.0046ce30
mov al, 1
pop ebp
ret