joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a250
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00474cb7
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00449bf0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00474be5
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004714a3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004714a3
push 1
push 0
push 0
mov ecx, esi
call fcn.0047144b
push 1
push 0
push 1
mov ecx, esi
call fcn.0047144b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00474d29
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44a3d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00474cb7
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00449bf0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00474be5
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44a494
cmp dword [esp + 0x40], 1
jne 0x44a492
cmp ecx, eax
jge 0x44a494
mov eax, ecx
cmp eax, 0xc8
jge 0x44a4a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044a250
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00474d29
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44ac10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c7f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046f8c3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00474f5f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004764be
test eax, eax
je 0x44ad2c
mov ecx, dword [esp + 0x3c]
call fcn.00474f8c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44acf0
push edi
mov ecx, esi
call fcn.004725ee
mov ecx, esi
call fcn.0044ae90
cmp dword [esp + 0x38], 1
jne 0x44ad25
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00472729
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44d750
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44d783
push esi
call fcn.00450860
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44d77c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44d809
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44d7f2
mov eax, dword [esi + 8]
test eax, eax
je 0x44d7a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44d7ee
cmp eax, 2
je 0x44d7f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44d79a
cmp eax, 3
je 0x44d7cd
cmp eax, 1
jne 0x44d79a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44d79a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44d79a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044d830
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44d818
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044d830
add esp, 4
pop esi
ret

Function at 0x458c60
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x458cc6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x458cc6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x458ca7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x459800
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00459950
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x459820
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x459801
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00459950
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x459820
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x459850
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4598a7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4598bd
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.004598e0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x4598e0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x459970
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4599b9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x459e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47cd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004599e0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00459a60
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00459a60
lea ecx, [esi + 0xc]
call fcn.0046e273
lea ecx, [esi + 0x10]
call fcn.0046e273
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045c290
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045c290
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045c290
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046e2e8
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046e2e8
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x45aad8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47cf48
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x45aae8
call fcn.0045b000
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x45abcb
cmp byte [edi], 0
je 0x45abcb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x45ab0d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00459800
test eax, eax
jne 0x45ab2d
push 0x5d1478
lea ecx, [esi + 0x38]
call fcn.0046e425
jmp 0x45abcb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00459850
test eax, eax
jne 0x45ab5c
mov ecx, esi
call fcn.00459950
push edi
add esi, 0x38
push 0x5d1454
push esi
call fcn.0046c284
add esp, 0xc
jmp 0x45abcb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0045b880
test eax, eax
je 0x45abc4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0045aca0
test eax, eax
jne 0x45abe0
push edi
lea eax, [esi + 0x38]
push 0x5d1430
push eax
call fcn.0046c284
add esp, 0xc
mov ecx, esi
call fcn.0045b000
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x45ac88
mov ecx, dword [0x5d1758]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0046c284
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00459900
test eax, eax
jne 0x45ac4a
push 0x5d1414
lea ecx, [esi + 0x38]
call fcn.0046e425
jmp 0x45ac5a
push 0xfa
mov ecx, esi
call fcn.0045b880
test eax, eax
jne 0x45ac77
mov ecx, esi
call fcn.0045b000
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046e2e8
jmp 0x45abcb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046e2e8
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4706b9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4706f1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046e743
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046e71b
jmp 0x4706fd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x471dab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x471ded
call fcn.0047795e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x471ded
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x471de4
xor eax, eax
jmp 0x471df5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00471dfb
pop edi
pop esi
pop ebx
ret 4

Function at 0x477e8e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x477ebc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x477eda
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00477df4
jmp 0x477eda
mov eax, dword [esi + 0x14]
test eax, eax
je 0x477eda
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00477df4
test edi, edi
mov eax, edi
jne 0x477ec4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4619a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
push edi
push 0x12c
lea eax, [ebp - 0x130]
push 0x47854c
push eax
call fcn.00461a2c
mov eax, dword [0x45f444]
mov edi, dword [fcn.0045f43c]
add esp, 0xc
mov esi, 0xe73d110a
xor eax, esi
xor edi, esi
push 0x4b
lea ecx, [ebp - 0x130]
pop edx
xor dword [ecx], esi
add ecx, 4
dec edx
jne 0x4619e4
lea ecx, [ebp - 0x130]
xor eax, esi
push ecx
call eax
test eax, eax
mov dword [ebp - 4], eax
je 0x461a28
xor edi, esi
push ebx
mov ebx, edi
mov esi, 0x478514
lea edi, [ebp - 0x11c]
push edi
push dword [ebp - 4]
call ebx
mov dword [esi], eax
add esi, 4
add edi, 0x14
cmp esi, 0x47854c
jl 0x461a0e
push 1
pop eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x462262
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x46233d
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x477ef0]
xor edx, dword [esi*4 + 0x4776f0]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x477af0]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x4772f0]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x477ef0]
xor edx, dword [esi*4 + 0x477af0]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x4776f0]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x4772f0]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x477ef0]
xor edx, dword [esi*4 + 0x477af0]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x4776f0]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x4772f0]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x477ef0]
xor edx, dword [esi*4 + 0x477af0]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x4776f0]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x4772f0]
dec ecx
mov dword [eax - 6], edx
jne 0x462277
pop esi
ret
Function at 0x462a6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 4
lea eax, [ebp - 4]
push 0x478520
push eax
call fcn.00461a2c
mov esi, dword [ebp - 4]
push 4
lea eax, [ebp - 4]
push 0x47851c
push eax
call fcn.00461a2c
mov edi, dword [ebp - 4]
add esp, 0x18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x475f4352
push eax
push 0
push 0
mov dword [ebp - 0x10], 0x646e6172
mov dword [ebp - 0xc], 0x6e65704f
mov dword [ebp - 8], 0x676f44
call esi
mov esi, eax
test esi, esi
je 0x462ad0
push 0xffffffffffffffff
push esi
call edi
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x462ad4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4784cc]
push esi
mov esi, dword [ebp + 8]
and eax, 3
sub eax, 0
je 0x462b5e
dec eax
je 0x462b3b
dec eax
je 0x462b18
dec eax
jne 0x462b7f
mov eax, dword [0x4784dc]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00462bbf
add dword [0x4784dc], 0x3f2
pop ecx
pop ecx
jmp 0x462b7f
mov eax, dword [0x4784d8]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00462bbf
add dword [0x4784d8], 0x3f2
pop ecx
pop ecx
jmp 0x462b7f
mov eax, dword [0x4784d4]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00462bbf
add dword [0x4784d4], 0x3f2
pop ecx
pop ecx
jmp 0x462b7f
mov eax, dword [0x4784d0]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00462bbf
add dword [0x4784d0], 0x3f2
pop ecx
pop ecx
mov ax, word [esi + 2]
add dword [0x4784cc], 0x3eb
xor word [esi], ax
xor ecx, ecx
lea eax, [esi + 0x12]
mov edx, ecx
and edx, 3
mov edx, dword [esi + edx*4 + 2]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0xa
jb 0x462b95
mov al, byte [esi + 0x10]
push esi
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
call fcn.00462c53
pop ecx
pop esi
pop ebp
ret
Function at 0x463200
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push 0x2b
mov byte [esi], 0x52
mov byte [esi + 1], 0x43
mov byte [esi + 2], 0x36
mov byte [esi + 3], bl
mov dword [esi + 4], 0xb8
mov dword [esi + 8], 0xb7e15163
lea eax, [esi + 0xc]
pop ecx
mov edx, dword [eax - 4]
sub edx, 0x61c88647
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x463230
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0x84
mov eax, dword [ebp - 4]
push 3
lea edi, [esi + eax*4 + 8]
mov eax, dword [ebp + 0xc]
add eax, ebx
add eax, dword [edi]
push eax
call fcn.004633ae
mov ecx, dword [ebp - 8]
mov dword [edi], eax
mov ebx, eax
mov eax, dword [ebp + 8]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + eax]
push ecx
mov ecx, dword [edi]
add ecx, eax
add ecx, ebx
push ecx
call fcn.004633ae
mov dword [edi], eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
add esp, 0x10
inc eax
push 0x2c
cdq
pop ecx
idiv ecx
mov eax, dword [ebp - 8]
push 4
inc eax
pop ecx
mov dword [ebp - 4], edx
cdq
idiv ecx
dec dword [ebp - 0xc]
mov dword [ebp - 8], edx
jne 0x463251
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4632b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
test byte [ebp + 0x10], 0xf
je 0x4632c4
push 1
pop eax
leave
ret
cmp dword [ebp + 0x10], 0
je 0x4633aa
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx]
push 4
mov dword [ebp - 4], eax
pop eax
add ebx, eax
sub dword [ebp + 0x10], 0x10
mov dword [ebp - 0x10], 0x14
mov esi, dword [ebx]
mov ecx, dword [eax + ebx]
add ebx, eax
mov dword [ebp - 8], ecx
add ebx, eax
mov edi, dword [ebx]
add ebx, eax
mov eax, dword [ebp + 8]
add esi, dword [eax + 8]
add edi, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp + 0xc], eax
lea eax, [esi + esi + 1]
push 5
imul eax, esi
push eax
call fcn.004633ae
mov dword [ebp - 0xc], eax
lea eax, [edi + edi + 1]
imul eax, edi
push 5
push eax
call fcn.004633ae
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 4]
push eax
call fcn.004633ae
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
add eax, dword [ecx - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 8]
push eax
call fcn.004633ae
mov ecx, dword [ebp + 0xc]
add dword [ebp + 0xc], 8
add esp, 0x20
mov dword [ebp - 8], edi
add eax, dword [ecx]
dec dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, eax
jne 0x463308
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push 4
mov edx, dword [ecx + 0xb0]
mov ecx, dword [ecx + 0xb4]
add edx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [eax], edx
pop edx
add eax, edx
mov dword [eax], esi
add eax, edx
mov dword [eax], ecx
add eax, edx
mov ecx, edi
mov dword [eax], ecx
add eax, edx
cmp dword [ebp + 0x10], 0
mov dword [ebp + 0x14], eax
jne 0x4632d4
pop edi
pop esi
pop ebx
xor eax, eax
leave
ret
Function at 0x46342c
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x463f0d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00463f47
mov ax, word [esi + 2]
pop ecx
xor word [esi], ax
xor ecx, ecx
lea eax, [esi + 0x12]
mov edx, ecx
and edx, 3
mov edx, dword [esi + edx*4 + 2]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0xa
jb 0x463f25
mov al, byte [esi + 0x10]
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
pop esi
ret

Function at 0x464e6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
push 4
pop edi
lea eax, [ebp - 4]
push edi
push 0x478540
push eax
call fcn.00461a2c
mov esi, dword [ebp - 4]
push edi
lea eax, [ebp - 4]
push 0x478528
push eax
call fcn.00461a2c
mov eax, dword [ebp - 4]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push 0x478544
push eax
call fcn.00461a2c
mov eax, dword [ebp - 4]
push 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00463ede
add esp, 0x30
push 1
pop ebx
cmp dword [ebp + 8], ebx
push 0x10
jne 0x464ef6
lea eax, [ebp - 0x24]
push 0x4784f0
push eax
call fcn.00461a2c
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x464ee5
mov byte [ebp - 0x14], 0x6c
jmp 0x464f1f
lea eax, [ebp - 0x24]
push 0x478500
push eax
call fcn.00461a2c
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x464f0c
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6c
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
mov dword [ebp - 8], eax
je 0x464f5d
lea esi, [ebp - 0x9c]
push ebx
push dword [ebp - 8]
call dword [ebp - 0xc]
test eax, eax
mov dword [esi], eax
je 0x464f57
inc ebx
add esi, edi
cmp ebx, 0x1f
jb 0x464f32
cmp dword [ebp + 8], 1
mov eax, dword [ebp - 0x30]
jne 0x464f64
mov dword [0x4784c4], eax
jmp 0x464f69
push dword [ebp - 8]
call dword [ebp - 0x10]
mov eax, 0xa8160005
jmp 0x464fb6
mov dword [0x4784c8], eax
push dword [ebp - 0x8c]
call fcn.00464fbb
test eax, eax
pop ecx
je 0x464f80
mov eax, 0xa8160006
jmp 0x464fb6
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
call fcn.00465088
pop ecx
test eax, eax
pop ecx
je 0x464f98
mov eax, 0xa8160007
jmp 0x464fb6
cmp dword [ebp + 8], 1
jne 0x464faa
mov dword [0x4784bc], 2
jmp 0x464fb4
mov dword [0x4784c0], 2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret