joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10a772d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10bcd3eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [0x10c41080]
xor eax, dword [esp + 0xa0]
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, ecx
imul esi, esi, 0x6c
mov ebx, edx
mov dword [esp + 0x9c], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
push edi
mov edi, dword [ebx + 4]
add esi, ecx
lea ecx, [esp + 0x1c]
push ecx
push str.ALIAS
push edi
mov ecx, ebp
call fcn.10b3cd80
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.109ee0c0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0xb0], 0
call fcn.10904800
lea ecx, [esp + 0x10]
mov dword [esp + 0xac], reloc.ole32.dll_CoCreateGuid
call fcn.109048b0
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x10a773e4
lea ecx, [esi + 0x40]
push ecx
push str.QUERY_RANK
push edi
mov ecx, ebp
call fcn.10b3cd70
lea edx, [esi + 0x48]
push edx
push str.SPY_LEVEL
push edi
mov ecx, ebp
call fcn.10b3cd70
lea eax, [esi + 0x3c]
push eax
push str.SPY_SCORE
push edi
mov ecx, ebp
call fcn.10b3cd70
lea ecx, [esi + 0x2c]
push ecx
push str.SPY_GAMES
push edi
mov ecx, ebp
call fcn.10b3cd70
lea edx, [esi + 0x30]
push edx
push str.SPY_WON
push edi
mov ecx, ebp
call fcn.10b3cd70
lea eax, [esi + 0x44]
push eax
push str.SPY_WINRATIO
push edi
mov ecx, ebp
call fcn.10b3cd70
add esi, 0x34
push esi
push str.SPY_TIME
jmp 0x10a774dd
cmp ebx, 1
jne 0x10a7744c
lea ecx, [esi + 0x60]
push ecx
push str.QUERY_RANK
push edi
mov ecx, ebp
call fcn.10b3cd70
lea edx, [esi + 0x68]
push edx
push str.SEN_LEVEL
push edi
mov ecx, ebp
call fcn.10b3cd70
lea eax, [esi + 0x5c]
push eax
push str.SEN_SCORE
push edi
mov ecx, ebp
call fcn.10b3cd70
lea ecx, [esi + 0x4c]
push ecx
push str.SEN_GAMES
push edi
mov ecx, ebp
call fcn.10b3cd70
lea edx, [esi + 0x50]
push edx
push str.SEN_WON
push edi
mov ecx, ebp
call fcn.10b3cd70
lea eax, [esi + 0x64]
push eax
push str.SEN_WINRATIO
jmp 0x10a774cc
lea ecx, [esi + 0x20]
push ecx
push str.GLOBAL_RANK
push edi
mov ecx, ebp
call fcn.10b3cd70
lea edx, [esi + 0x28]
push edx
push str.GEN_LEVEL
push edi
mov ecx, ebp
call fcn.10b3cd70
lea eax, [esi + 0x1c]
push eax
push str.GEN_SCORE
push edi
mov ecx, ebp
call fcn.10b3cd70
lea ecx, [esi + 0xc]
push ecx
push str.GEN_GAMES
push edi
mov ecx, ebp
call fcn.10b3cd70
lea edx, [esi + 0x10]
push edx
push str.GEN_WON
push edi
mov ecx, ebp
call fcn.10b3cd70
lea eax, [esi + 0x24]
push eax
push str.GEN_WINRATIO
push edi
mov ecx, ebp
call fcn.10b3cd70
lea ecx, [esi + 0x14]
push ecx
push str.GEN_TIME
push edi
mov ecx, ebp
call fcn.10b3cd70
lea edx, [esi + 0x34]
push edx
push str.SPY_TIME
mov ecx, ebp
push edi
call fcn.10b3cd70
add esi, 0x54
push esi
push str.SEN_TIME
mov ecx, ebp
push edi
call fcn.10b3cd70
mov ecx, dword [esp + 0xa4]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x9c]
xor ecx, dword [esp + 0xac]
pop esi
pop ebp
pop ebx
call fcn.10bc3501
add esp, 0xa0
ret 4
Function at 0x10a793e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x10c41080]
xor eax, dword [ebp + 4]
mov edx, dword [ecx]
mov dword [esp + reloc.ole32.dll_CoCreateGuid], eax
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x1c
push ebx
add eax, edx
push esi
push edi
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x20]
mov ebx, 0x2c
lea esi, [esp + 0x20]
rep stosd dword es:[edi], eax
call fcn.10a79070
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
movzx ecx, word [esp + 0x26]
mov dword [eax + 4], ecx
xor edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0xd4]
push 0x10
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x18]
mov cx, word [eax + 0xd8]
lea edx, [esp + 0x10]
push edx
push 0
push ebx
lea eax, [esp + 0x30]
mov word [esp + 0x1e], cx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov word [esp + 0x24], 2
call sub.WS2_32.dll_sendto
mov ecx, dword [esp + reloc.ole32.dll_CoCreateGuid]
xor ecx, dword [ebp + 4]
call fcn.10bc3501
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10a79550
Capabilities:
Create raw socket
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x198
mov eax, dword [0x10c41080]
xor eax, dword [esp + reloc.ole32.dll_CoCreateGuid]
lea ecx, [esp + 4]
mov dword [esp + reloc.ole32.dll_CoCreateGuid], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
or eax, reloc.ole32.dll_CoCreateGuid
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [esp + reloc.ole32.dll_CoCreateGuid]
push ecx
push 0x102
mov dword [esi + 0x1c], eax
call sub.WS2_32.dll_WSAStartup
push 1
push 3
push 2
call sub.WS2_32.dll_socket
lea edx, [esp]
push edx
push 0x8004667e
push eax
mov dword [esi + 0x14], eax
mov dword [esp + 0xc], 1
call sub.WS2_32.dll_ioctlsocket
mov ecx, dword [esp + reloc.ole32.dll_CoCreateGuid]
xor ecx, dword [esp + reloc.ole32.dll_CoCreateGuid]
mov eax, esi
call fcn.10bc3501
add esp, 0x198
ret 4

Function at 0x10a79790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10a797a7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10a797bb
pop esi
pop edi
xor eax, eax
pop ebp
ret
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x10a797de
lea ebx, [ebx]
cmp esi, eax
jae 0x10a797b5
dec edi
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x10a797d0
cmp esi, eax
jae 0x10a797b5
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x10a7a7f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10bcc147
push eax
mov dword fs:[0], esp
xor eax, eax
push esi
mov esi, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov ecx, dword [0x10c73bf0]
mov eax, dword [ecx]
push 0x10c460a0
push 4
mov byte [esp + 0x14], 2
call dword [eax]
mov ecx, dword [esp + 4]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
add eax, 4
mov dword [esi + 0x44], eax
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4

Function at 0x10a7fd60
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + reloc.ole32.dll_CoCreateGuid]
sub esp, 0x10
cmp eax, reloc.ole32.dll_CoCreateGuid
je 0x10a7fdc7
xor eax, eax
mov ax, word [esi + 0x300]
mov word [esp], 2
push eax
call sub.WS2_32.dll_htons
mov ecx, dword [esp + 0x1c]
push ecx
mov word [esp + 6], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esp + 0x14]
push 0x10
lea edx, [esp + 4]
push edx
mov edx, dword [esi + reloc.ole32.dll_CoCreateGuid]
push 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
call sub.WS2_32.dll_sendto
cmp eax, reloc.ole32.dll_CoCreateGuid
jne 0x10a7fdc7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
call fcn.10a85bb0
add esp, 0x10
ret 0x10

Function at 0x10a80480
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x10bcc09b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x10c921fc]
test eax, eax
jne 0x10a804f0
mov ecx, dword [0x10c73bf0]
mov eax, dword [ecx]
push edi
push 0x10c109d8
push 4
call dword [eax]
mov edi, eax
mov dword [esp + 4], edi
test edi, edi
mov dword [esp + 0x10], 0
je 0x10a804df
mov ecx, dword [0x10c73bf0]
mov edx, dword [ecx]
push 0x10c109d8
push 0x18
call dword [edx]
push eax
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x10a804e1
xor edi, edi
mov dword [0x10c921fc], edi
mov dword [esp + 0x10], reloc.ole32.dll_CoCreateGuid
pop edi
push ebx
call dword [sym.imp.MSVCR70.dll_wcslen]
add esp, 4
inc eax
push eax
push 0
push ebx
call fcn.10914120
add esp, 8
push eax
lea eax, [esi + 8]
push eax
call fcn.109040a0
add esp, 0xc
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x10a859b0
push 0
push 0
mov word [esi + 0x108], 0
mov dword [eax], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10a80640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10bd5ae3
mov eax, dword fs:[0]
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov ebx, ecx
push ebx
push eax
push edi
mov esi, edx
call fcn.10a0c960
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea ecx, reloc.ole32.dll_CoCreateGuid
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x24]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [edi], 0x10bff3c8
mov dword [edi + 0x28], 0x10bff3bc
mov dword [edi + 0x2c], 0x10bff3b8
mov dword [edi + reloc.ole32.dll_CoCreateGuid], ecx
mov dword [edi + reloc.ole32.dll_CoCreateGuid], esi
mov dword [edi + 0x6c], edx
mov dword [edi + 0xc0], 0x2000
mov dword [edi + 0xc4], 0x20
call fcn.10904030
fstp qword [edi + 0x49fc]
mov ecx, edi
call fcn.10a0d580
cmp esi, ebp
je 0x10a807a9
mov eax, dword [ebx + 0x10]
cmp eax, ebp
je 0x10a806f9
mov eax, dword [ebx + 0xc]
jmp 0x10a806fe
mov eax, 0x10c10928
mov esi, dword [sym.imp.MSVCR70.dll_wcschr]
test eax, eax
je 0x10a8072c
mov cx, word [eax]
cmp cx, 0x30
jb 0x10a8072c
cmp cx, 0x39
ja 0x10a8072c
push 0x2e
push eax
call esi
add esp, 8
test eax, eax
je 0x10a80726
add eax, 2
inc ebp
cmp ebp, 4
jl 0x10a80704
cmp ebp, 4
jne 0x10a8075f
test eax, eax
jne 0x10a8075f
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10a80741
mov eax, dword [ebx + 0xc]
jmp 0x10a80746
mov eax, 0x10c10928
push 0
push eax
call fcn.10914120
add esp, 8
push eax
call sub.WS2_32.dll_inet_addr
mov dword [edi + reloc.ole32.dll_CoCreateGuid], eax
jmp 0x10a807a9
mov ecx, dword [0x10c73bf0]
mov eax, dword [ecx]
push 0x10c109d8
push 0x308
call dword [eax]
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x18], 1
je 0x10a807a1
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x10a80793
mov ebx, dword [ebx + 0xc]
mov esi, eax
call fcn.10a80480
jmp 0x10a807a3
mov ebx, 0x10c10928
mov esi, eax
call fcn.10a80480
jmp 0x10a807a3
xor eax, eax
mov dword [edi + reloc.ole32.dll_CoCreateGuid], eax
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x20

Function at 0x10a81240
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
cmp eax, reloc.ole32.dll_CoCreateGuid
push esi
mov si, word [esp + 0x20]
mov word [esp + 6], si
mov esi, dword [esp + 0x1c]
mov word [esp + 4], 2
mov dword [esp + 8], esi
push 0x10
jne 0x10a81284
lea eax, [esp + 8]
push eax
push 0
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [ecx + reloc.ole32.dll_CoCreateGuid]
push edx
call sub.WS2_32.dll_sendto
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [eax*4 + reloc.ole32.dll_CoCreateGuid]
lea esi, [esp + 8]
push esi
push 0
push ecx
push edx
push eax
call sub.WS2_32.dll_sendto
pop esi
add esp, 0x10
ret 0xc
Function at 0x10a82080
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10bcd6d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
xor edi, edi
mov dword [esp + 4], edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x1c], edi
call fcn.10904800
push edi
lea ecx, [esp + 8]
push ecx
push edi
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x30], esp
mov dword [eax], reloc.ole32.dll_CoCreateGuid
call fcn.10916830
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 4]
mov dword [esp + 0x18], reloc.ole32.dll_CoCreateGuid
call fcn.109048b0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
add esp, 0x18
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x10bcd6d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
xor edi, edi
mov dword [esp + 4], edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x1c], edi
call fcn.10904800
push edi
lea ecx, [esp + 8]
push ecx
push edi
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x30], esp
mov dword [eax], reloc.ole32.dll_CoCreateGuid
call fcn.10916830
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 4]
mov dword [esp + 0x18], reloc.ole32.dll_CoCreateGuid
call fcn.109048b0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
add esp, 0x18
ret 4
Function at 0x10a83000
Capabilities:
Send data
Send data on socket

Disassembly:
mov al, byte [edi + 0x314]
cmp al, 2
push ebx
push esi
je 0x10a83018
cmp al, 4
je 0x10a83018
cmp al, 6
je 0x10a83018
cmp al, 5
jne 0x10a8308f
mov eax, dword [edi + reloc.ole32.dll_CoCreateGuid]
cmp eax, 0x200
jle 0x10a8302c
mov eax, 0x200
jmp 0x10a83030
test eax, eax
jle 0x10a8308f
mov ebx, dword [sym.imp.WS2_32.dll_send]
jmp 0x10a83040
mov ecx, dword [edi + reloc.ole32.dll_CoCreateGuid]
cmp ecx, reloc.ole32.dll_CoCreateGuid
push 0
lea esi, reloc.ole32.dll_CoCreateGuid
push eax
je 0x10a8305a
mov eax, dword [esi]
push eax
push ecx
jmp 0x10a83064
mov ecx, dword [esi]
mov edx, dword [edi + reloc.ole32.dll_CoCreateGuid]
push ecx
push edx
call ebx
cmp eax, reloc.ole32.dll_CoCreateGuid
je 0x10a83094
push 1
push eax
push 0
mov ecx, esi
call fcn.109119c0
mov eax, dword [edi + reloc.ole32.dll_CoCreateGuid]
cmp eax, 0x200
jle 0x10a8308b
mov eax, 0x200
jmp 0x10a83040
test eax, eax
jg 0x10a83040
pop esi
xor eax, eax
pop ebx
ret
pop esi
mov eax, 1
pop ebx
ret

Function at 0x10a83d40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x20]
push edi
xor edi, edi
test ebx, ebx
jle 0x10a83d83
nop
mov eax, dword [esp + 0x20]
push 0x10
push esi
push eax
call sub.WS2_32.dll_bind
test eax, eax
je 0x10a83d8b
xor eax, eax
mov ax, word [esi + 2]
test ax, ax
je 0x10a83d83
push eax
call sub.WS2_32.dll_ntohs
add eax, ebp
push eax
call sub.WS2_32.dll_htons
inc edi
cmp edi, ebx
mov word [esi + 2], ax
jl 0x10a83d50
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
xor ecx, ecx
mov cx, word [esi + 2]
push ecx
call sub.WS2_32.dll_ntohs
test ax, ax
je 0x10a83db1
xor edx, edx
mov dx, word [esi + 2]
push edx
call sub.WS2_32.dll_ntohs
pop edi
movzx eax, ax
pop ebp
add esp, 0x14
ret
mov edx, dword [esp + 0x20]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x14], 0x10
call sub.WS2_32.dll_getsockname
mov eax, dword [esp + 0xe]
push eax
mov word [esi + 2], ax
call sub.WS2_32.dll_ntohs
pop edi
movzx eax, ax
pop ebp
add esp, 0x14
ret
Function at 0x10a85400
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [ecx]
push ebp
push esi
push edi
mov edi, dword [edx]
lea esi, [eax + 8]
mov dword [esp + 0x14], 4
mov edi, edi
mov ebp, dword [esi - 8]
xor ecx, ecx
xor ebx, ebp
mov cl, bl
mov edx, ebx
shr edx, 8
and ecx, 0xff
mov ebp, ecx
xor ecx, ecx
mov cl, dl
shr edx, 8
and ecx, 0xff
mov dword [esp + 0x10], ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [eax + ecx*4 + 0x48]
and edx, 0xff
add ecx, dword [eax + edx*4 + reloc.ole32.dll_CoCreateGuid]
movzx edx, word [esp + 0x10]
xor ecx, dword [eax + edx*4 + reloc.ole32.dll_CoCreateGuid]
movzx edx, bp
add ecx, dword [eax + edx*4 + reloc.ole32.dll_CoCreateGuid]
mov ebp, dword [esi - 4]
xor ecx, edi
xor ecx, ebp
xor edx, edx
mov dl, cl
mov edi, ebx
mov ebx, ecx
shr ebx, 8
and edx, 0xff
mov ebp, edx
xor edx, edx
mov dl, bl
shr ebx, 8
and edx, 0xff
mov dword [esp + 0x10], edx
mov edx, ebx
shr edx, 8
and ebx, 0xff
and edx, 0xff
mov edx, dword [eax + edx*4 + 0x48]
add edx, dword [eax + ebx*4 + reloc.ole32.dll_CoCreateGuid]
movzx ebx, word [esp + 0x10]
xor edx, dword [eax + ebx*4 + reloc.ole32.dll_CoCreateGuid]
movzx ebx, bp
add edx, dword [eax + ebx*4 + reloc.ole32.dll_CoCreateGuid]
mov ebp, dword [esi]
xor edx, edi
mov edi, ecx
xor ecx, ecx
xor edx, ebp
mov cl, dl
mov ebx, edx
shr ebx, 8
and ecx, 0xff
mov ebp, ecx
xor ecx, ecx
mov cl, bl
shr ebx, 8
and ecx, 0xff
mov dword [esp + 0x10], ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [eax + ecx*4 + 0x48]
and ebx, 0xff
add ecx, dword [eax + ebx*4 + reloc.ole32.dll_CoCreateGuid]
movzx ebx, word [esp + 0x10]
xor ecx, dword [eax + ebx*4 + reloc.ole32.dll_CoCreateGuid]
movzx ebx, bp
mov ebp, dword [eax + ebx*4 + reloc.ole32.dll_CoCreateGuid]
mov ebx, dword [esi + 4]
add ecx, ebp
xor ecx, edi
mov ebp, edx
xor ecx, ebx
xor edx, edx
mov dl, cl
mov dword [esp + 0x10], ecx
xor ebx, ebx
add esi, 0x10
and edx, 0xff
mov edi, edx
mov edx, ecx
shr edx, 8
mov bl, dl
shr edx, 8
mov ecx, edx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [eax + ecx*4 + 0x48]
and edx, 0xff
add ecx, dword [eax + edx*4 + reloc.ole32.dll_CoCreateGuid]
and ebx, 0xff
movzx edx, bx
xor ecx, dword [eax + edx*4 + reloc.ole32.dll_CoCreateGuid]
movzx edx, di
mov ebx, dword [eax + edx*4 + reloc.ole32.dll_CoCreateGuid]
mov edi, dword [esp + 0x10]
add ecx, ebx
xor ecx, ebp
mov ebx, ecx
dec dword [esp + 0x14]
jne 0x10a85420
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x1c]
xor ecx, ebx
xor eax, edi
pop edi
pop esi
mov dword [edx], eax
mov eax, dword [esp + 0x18]
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 8
ret
Function at 0x10a855d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [edx]
push edi
mov edi, 0x11
xor ecx, dword [esi + edi*4]
xor eax, eax
mov al, cl
mov dword [esp + 0xc], ecx
xor ebx, ebx
and eax, 0xff
mov edx, eax
mov eax, ecx
shr eax, 8
mov bl, al
shr eax, 8
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [esi + ecx*4 + 0x48]
and eax, 0xff
add ecx, dword [esi + eax*4 + reloc.ole32.dll_CoCreateGuid]
and ebx, 0xff
movzx eax, bx
mov ebx, dword [esi + eax*4 + reloc.ole32.dll_CoCreateGuid]
movzx edx, dx
mov eax, dword [esi + edx*4 + reloc.ole32.dll_CoCreateGuid]
xor ecx, ebx
add ecx, eax
xor ecx, ebp
mov ebp, dword [esp + 0xc]
dec edi
cmp edi, 1
jg 0x10a855e5
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x14]
xor eax, ecx
mov ecx, dword [esi]
xor ecx, ebp
pop edi
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret

Function at 0x10a85670
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x400
mov esi, 0x10bfe138
lea edi, [ebx + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10bfe0f0
xor eax, eax
sub ecx, ebx
mov esi, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x12
mov edi, dword [esp + 0x18]
movzx ecx, byte [eax + edi]
inc eax
cmp eax, ebp
jl 0x10a856af
xor eax, eax
movzx edx, byte [eax + edi]
shl ecx, 8
or edx, ecx
inc eax
cmp eax, ebp
jl 0x10a856bf
xor eax, eax
movzx ecx, byte [eax + edi]
shl edx, 8
or ecx, edx
inc eax
cmp eax, ebp
jl 0x10a856cf
xor eax, eax
movzx edx, byte [eax + edi]
shl ecx, 8
or edx, ecx
inc eax
cmp eax, ebp
jl 0x10a856df
xor eax, eax
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + esi]
xor ecx, edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x10]
add esi, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x10a856a0
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
mov eax, ebx
call fcn.10a85400
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + esi*4], ecx
mov dword [ebx + esi*4 + 4], edx
add esi, 2
add esp, 8
cmp esi, 0x12
jl 0x10a85702
lea esi, [ebx + 0x4c]
mov ebp, 4
mov edi, 0x80
lea ebx, [ebx]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov eax, ebx
call fcn.10a85400
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi - 4], edx
mov dword [esi], eax
add esp, 8
add esi, 8
dec edi
jne 0x10a85740
dec ebp
jne 0x10a85735
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x10a85860
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, eax
xor ebx, ebx
and esi, 0xfffffff8
push edi
jle 0x10a858db
test esi, esi
jle 0x10a858f9
mov eax, dword [esp + 0x24]
mov ecx, ebp
sub ecx, eax
lea edi, [eax + 4]
mov dword [esp + 0x18], ecx
jmp 0x10a85890
mov ecx, dword [edi - 4]
mov edx, dword [edi]
lea eax, [edi - 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], ecx
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], edx
call fcn.10a85400
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea edx, [ebx + ebp]
add ecx, edi
mov dword [edx], eax
mov edx, dword [esp + 0x1c]
add ebx, 8
add esp, 8
add edi, 8
cmp ebx, esi
mov dword [ecx], edx
jl 0x10a85890
mov eax, dword [esp + 0x28]
jmp 0x10a858f9
mov esi, dword [esp + 0x24]
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
cmp ebx, eax
jge 0x10a8591d
mov edx, dword [esp + 0x24]
sub edx, ebp
sub eax, ebx
lea ecx, [ebx + ebp]
mov esi, eax
lea ebx, [ebx]
mov al, byte [edx + ecx]
xor al, byte [ebp]
mov byte [ecx], al
inc ecx
inc ebp
dec esi
jne 0x10a85910
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x10a85930
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, eax
mov ecx, esi
and ecx, 0xfffffff8
mov ebp, edi
jne 0x10a85948
mov ebp, dword [esp + 0x1c]
cmp ecx, esi
mov eax, ecx
jge 0x10a8595b
sub ebp, ecx
mov dl, byte [eax + ebp]
xor byte [eax + edi], dl
inc eax
cmp eax, esi
jl 0x10a85950
test ecx, ecx
jle 0x10a859a6
lea ebx, [ecx - 1]
shr ebx, 3
add edi, 4
inc ebx
lea esp, [esp]
mov eax, dword [edi - 4]
mov ecx, dword [edi]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x14]
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], ecx
call fcn.10a855d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edi - 4], ecx
mov dword [edi], edx
add esp, 8
add edi, 8
dec ebx
jne 0x10a85970
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret