joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10a85ad0
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10bcd27b
push eax
mov eax, dword [0x10ccace8]
mov dword fs:[0], esp
sub esp, 0x39c
test eax, eax
jne 0x10a85b8f
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
push 0x101
mov dword [0x10ccace8], 1
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x10a85b37
mov eax, 1
mov dword [0x10c9222c], eax
mov ecx, dword [esp + reloc.ole32.dll_CoCreateGuid]
mov dword fs:[0], ecx
add esp, 0x3a8
ret
call fcn.10a85bb0
push eax
lea ecx, [esp + 0x10]
push str.WSAStartup_failed___s_
push ecx
call fcn.1090f4f0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push 0x10c44a78
push eax
call fcn.10911b20
add esp, 0x18
mov ecx, dword [esp + reloc.ole32.dll_CoCreateGuid]
push eax
mov dword [esp + reloc.ole32.dll_CoCreateGuid], 0
call fcn.10904800
lea ecx, [esp]
mov dword [esp + reloc.ole32.dll_CoCreateGuid], reloc.ole32.dll_CoCreateGuid
call fcn.109048b0
mov ecx, dword [esp + reloc.ole32.dll_CoCreateGuid]
mov eax, dword [0x10c9222c]
mov dword fs:[0], ecx
add esp, 0x3a8
ret

Function at 0x10a85f70
Capabilities:
Set socket configuration

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0xc], 1
call sub.WS2_32.dll_ioctlsocket
neg eax
sbb eax, eax
inc eax
pop ecx
ret
Function at 0x10a86590
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov eax, 0x10c91d40
lea esi, reloc.ole32.dll_CoCreateGuid
call fcn.109141a0
mov ebx, dword [sym.imp.MSVCR70.dll_wcscat]
push str.Ubisoft
push 0x10c91d40
call ebx
mov esi, dword [0x10c74bd0]
add esp, 8
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
test eax, eax
jne 0x10a865f9
xor edi, edi
jmp 0x10a86621
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
add eax, 7
and eax, 0xfffffff8
add eax, 3
and eax, 0xfffffffc
call fcn.10b83a60
mov edi, esp
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
push edi
call dword [sym.imp.MSVCR70.dll__mkdir]
push str.Tom_Clancys_Splinter_Cell_Chaos_Theory
push 0x10c91d40
call ebx
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
test eax, eax
jne 0x10a8667c
xor edi, edi
jmp 0x10a866a4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
add eax, 7
and eax, 0xfffffff8
add eax, 3
and eax, 0xfffffffc
call fcn.10b83a60
mov edi, esp
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
push edi
call dword [sym.imp.MSVCR70.dll__mkdir]
push 0x10c91d40
push 0x10c91f98
call dword [sym.imp.MSVCR70.dll_wcscpy]
push str.Saved_Games
push 0x10c91d40
call ebx
add esp, 0x14
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
test eax, eax
jne 0x10a8670f
xor edi, edi
jmp 0x10a86737
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
add eax, 7
and eax, 0xfffffff8
add eax, 3
and eax, 0xfffffffc
call fcn.10b83a60
mov edi, esp
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
push edi
call dword [sym.imp.MSVCR70.dll__mkdir]
push str.Versus
push 0x10c91d40
call ebx
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
test eax, eax
jne 0x10a86792
xor edi, edi
jmp 0x10a867ba
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
add eax, 7
and eax, 0xfffffff8
add eax, 3
and eax, 0xfffffffc
call fcn.10b83a60
mov edi, esp
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push 0x10c91d40
push 0
push 0
call esi
push edi
call dword [sym.imp.MSVCR70.dll__mkdir]
add esp, 4
lea esp, reloc.ole32.dll_CoCreateGuid
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10aa3030
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10bcd1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push edi
xor edi, edi
mov dword [esp + 4], edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x24], edi
call fcn.10904800
mov ecx, dword [esp + 0x2c]
mov dl, byte [esp + 0x30]
push edi
lea eax, [esp + 8]
push eax
push edi
push ecx
mov dword [esp + 0x20], ecx
mov eax, esp
mov byte [esp + 0x24], dl
mov ecx, esi
mov dword [esp + 0x40], esp
mov dword [eax], 0x105287
call fcn.10916830
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 4]
mov dword [esp + 0x20], reloc.ole32.dll_CoCreateGuid
call fcn.109048b0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
add esp, 0x20
ret 0xc
Function at 0x10ab5330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
push ebx
push ebp
mov ebp, dword [esp + 0x98]
push esi
lea eax, [ebp + 0xe0]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x10ccac00
call fcn.109411a0
fld dword [ebp + 0x36c]
fld dword [esp + 0x74]
lea ebx, [ebp + 0x80]
fmul st(1)
mov eax, dword [0x10ccacc0]
fld dword [esp + 0x78]
mov edx, dword [eax]
fmul st(2)
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 8]
fstp dword [esp + 0x10]
fld dword [esp + 0x7c]
lea eax, [esp + 0xc]
fmul st(2)
push eax
push 0x80096
mov dword [esp + 0x44], ecx
fstp dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
fadd dword [ebx]
push ecx
mov ecx, dword [ebp + reloc.ole32.dll_CoCreateGuid]
mov dword [esp + 0x4c], edx
fstp dword [esp + 0x24]
lea edx, [esp + 0x24]
push edx
fstp st(0)
xor esi, esi
fld dword [esp + 0x20]
push ebp
fadd dword [ebx + 4]
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], esi
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
mov dword [esp + 0x4c], esi
fadd dword [ebx + 8]
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
fstp dword [esp + 0x38]
fld dword [esp + 0x90]
mov dword [esp + 0x2c], esi
fld dword [esp + 0x94]
fld dword [esp + 0x8c]
fadd dword [ebx]
fstp dword [esp + 0x3c]
fxch st(1)
fadd dword [ebx + 4]
fstp dword [esp + 0x40]
fadd dword [ebx + 8]
fstp dword [esp + 0x44]
call fcn.10a1d200
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x10ab546d
push edi
lea ebx, [ebx]
mov eax, dword [eax + 0x24]
cmp eax, 0x10cbed90
je 0x10ab5451
mov eax, dword [eax + reloc.ole32.dll_CoCreateGuid]
xor edx, edx
div dword [0x10cbee9c]
neg edx
sbb edx, edx
inc edx
test edx, edx
je 0x10ab546c
mov esi, dword [esp + 0x34]
test esi, esi
je 0x10ab546c
mov ecx, 0xe
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x10ab5430
pop edi
fld dword [esp + 0x54]
fcomp dword [0x10c109fc]
fnstsw ax
test ah, 0x44
lea eax, reloc.ole32.dll_CoCreateGuid
jnp 0x10ab549c
mov edx, dword [esp + 0x38]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
jmp 0x10ab54b0
mov ecx, ebx
mov esi, dword [ecx]
mov edx, eax
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], esi
mov dword [edx + 8], ecx
mov ecx, dword [ebp + reloc.ole32.dll_CoCreateGuid]
test ecx, ecx
je 0x10ab54ee
fld dword [ebx]
fsub dword [eax]
fld dword [ebx + 4]
fsub dword [eax + 4]
fld dword [ebx + 8]
fsub dword [eax + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fadd qword [0x10c10ae8]
fstp dword [ecx + reloc.ole32.dll_CoCreateGuid]
mov edx, dword [ebp + reloc.ole32.dll_CoCreateGuid]
mov eax, dword [edx + reloc.ole32.dll_CoCreateGuid]
pop esi
mov dword [ebp + reloc.ole32.dll_CoCreateGuid], eax
pop ebp
pop ebx
add esp, 0x8c
ret 4
Function at 0x10aee640
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10bcd1e4
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esi + 0x3c]
mov dword [esp + 0xc], 4
call fcn.109048b0
lea ecx, [esi + 0x30]
mov byte [esp + 0xc], 3
call fcn.109048b0
lea ecx, [esi + 0x24]
mov byte [esp + 0xc], 2
call fcn.109048b0
lea ecx, [esi + 0x18]
mov byte [esp + 0xc], 1
call fcn.109048b0
lea ecx, [esi + 0xc]
mov byte [esp + 0xc], 0
call fcn.109048b0
mov ecx, esi
mov dword [esp + 0xc], reloc.ole32.dll_CoCreateGuid
call fcn.109048b0
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x10b0e578
Capabilities:
Read file on windows

Disassembly:
cmp eax, 0xd
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, ecx
jle 0x10b0e5b5
push 0
push 0
lea esi, [eax - 0xe]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0x2c
mov ecx, ebp
call fcn.109044e0
mov ecx, dword [ebp]
push 0
lea eax, [esp + 0x10]
push eax
push 0x2c
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [esi + edx*4 + 0x2c]
push edi
lea edi, [esi + edx*4 + 0x2c]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*4 + 0x10], 1
je 0x10b0e652
cmp dword [esi + 0xc], reloc.ole32.dll_CoCreateGuid
je 0x10b0e652
push ebx
lea ebx, reloc.ole32.dll_CoCreateGuid
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + edx*4 + 4]
mov edx, dword [esi + 0xc]
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*4 + 8]
mov edx, dword [ecx + eax*4 + 4]
lea eax, [ecx + eax*4]
sub edi, edx
push 1
push edi
mov ecx, ebp
call fcn.109044e0
mov eax, dword [ebp]
mov ecx, dword [esi + 0xc]
push 0
lea edx, [esp + 0x18]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
pop ebx
je 0x10b0e652
cmp edi, dword [esp + 0x10]
jne 0x10b0e652
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebp
ret 4
Function at 0x10b0e6a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
movzx ebx, byte [esp + 0x14]
push ebp
push esi
mov esi, edx
xor edx, edx
push edi
mov edi, eax
div ebx
cmp ecx, 0xd
mov ebp, eax
jle 0x10b0e6dc
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x24]
push eax
push edi
push edx
add ecx, 0xfffffff2
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
cmp dword [esi + 0xc], reloc.ole32.dll_CoCreateGuid
je 0x10b0e788
lea eax, [ecx + ecx*4]
lea ebx, [esi + eax*4]
mov eax, dword [ebx + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x20]
lea eax, [eax + edx*4]
cmp dword [eax + 0x10], 1
jne 0x10b0e740
xor esi, esi
test edi, edi
jbe 0x10b0e736
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push 1
push 2
push 0
mov edx, edi
sub edx, esi
push edx
mov edx, dword [ebx + 0x30]
lea ecx, [esi + eax]
push ecx
push edx
call sub.vorbisfile.dll_ov_read
add esp, 0x1c
test eax, eax
mov dword [esp + 0x20], eax
je 0x10b0e736
add esi, eax
cmp esi, edi
jb 0x10b0e704
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
movzx edx, byte [esp + 0x1c]
movzx ebx, byte [esp + 0x20]
mov eax, dword [eax + 0xc]
sub ebx, edx
mov edx, ebx
imul edx, ebp
lea ecx, [ecx + ecx*4 + 0xa]
lea edi, [esi + ecx*4]
mov ecx, dword [edi]
add edx, ecx
cmp edx, eax
mov dword [esp + 0x1c], edi
jbe 0x10b0e76f
sub eax, ecx
xor edx, edx
div ebx
mov ebp, eax
lea eax, reloc.ole32.dll_CoCreateGuid
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xc]
cmp eax, reloc.ole32.dll_CoCreateGuid
jne 0x10b0e792
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov ecx, dword [edi]
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
push 0
lea edx, [esp + 0x24]
push edx
push ebp
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10b0e7c3
mov eax, dword [esp + 0x20]
cmp ebp, eax
je 0x10b0e7e1
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x1c]
mov eax, ebp
mov dword [esp + 0x20], eax
mov edx, dword [edi]
add edx, eax
mov eax, dword [esp + 0x10]
push eax
mov dword [edi], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x10b207b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10bcc5c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x28]
mov dword [eax], 0x10c0e918
mov ecx, dword [esp + 0x28]
mov dword [ecx + 4], 0xaf
mov edx, dword [esp + 0x28]
mov dword [edx + 8], 0x7d0
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [eax + 0xc], esi
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x10], esi
mov edx, dword [esp + 0x28]
mov dword [edx + 0x14], esi
mov eax, dword [esp + 0x28]
mov dword [eax + 0x18], esi
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x1c], esi
mov edx, dword [esp + 0x28]
mov ebp, 1
mov dword [edx + 0x20], ebp
mov eax, dword [esp + 0x28]
mov dword [eax + 0x24], ebp
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x28], ebp
mov edx, dword [esp + 0x28]
mov dword [edx + 0x2c], esi
mov eax, dword [esp + 0x28]
mov dword [eax + 0x30], esi
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x34], 3
mov edx, dword [esp + 0x28]
mov dword [edx + 0x38], esi
mov eax, dword [esp + 0x28]
mov dword [eax + 0x3c], reloc.ole32.dll_CoCreateGuid
mov ecx, dword [esp + 0x28]
mov dword [ecx], 0x10c04700
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add eax, 7
sar eax, 3
add eax, 0xf
and eax, 0xfffffff0
lea edi, [edi + 0x40]
mov dword [esp + 0x20], esi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
jne 0x10b20887
mov dword [edi], esi
jmp 0x10b20899
mov ecx, dword [0x10c73bf0]
mov edx, dword [ecx]
push str.Farray::protectedcstor
push eax
call dword [edx]
mov dword [edi], eax
mov eax, dword [esp + 0x28]
mov word [eax + 0x4c], si
mov ecx, dword [esp + 0x28]
mov dx, word [esp + 0x2c]
mov word [ecx + 0x4e], dx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor eax, eax
mov ebx, ecx
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
mov ecx, ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
mov dword [eax + 0x14], ebp
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x1c], ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
pop edi
or ecx, 0x80000000
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x10b20b70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10bcbed3
push eax
mov dword fs:[0], esp
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, 1
push edi
mov dword [esi + 4], 0xaf
mov dword [esi + 8], 0x7d0
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], 3
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], reloc.ole32.dll_CoCreateGuid
mov edi, dword [esp + 0x28]
add edi, 7
sar edi, 3
cmp edi, ebp
mov dword [esi], 0x10c046a0
mov dword [esp + 0x18], ebp
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
jne 0x10b20bf4
mov dword [esi + 0x40], ebp
jmp 0x10b20c07
mov ecx, dword [0x10c73bf0]
mov eax, dword [ecx]
push str.Farray::protectedcstor
push edi
call dword [eax]
mov dword [esi + 0x40], eax
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x24]
mov cx, word [esp + 0x28]
or edx, 0x80000000
cmp eax, ebp
mov byte [esp + 0x18], bl
mov word [esi + 0x4c], cx
mov word [esi + 0x4e], bp
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 8], edx
je 0x10b20c40
mov edx, dword [esi + 0x40]
push edi
push eax
push edx
call fcn.109040a0
add esp, 0xc
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x10b2269b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x10b226c7
test ecx, ecx
jne 0x10b226d1
test esi, esi
jne 0x10b226d1
mov eax, edx
jmp 0x10b22742
cmp eax, reloc.ole32.dll_CoCreateGuid
jne 0x10b226d1
push 0xfffffffffffffffe
pop eax
jmp 0x10b22742
mov esi, dword [ebx + 0x24]
lea esi, reloc.ole32.dll_CoCreateGuid
cmp ecx, esi
jb 0x10b22742
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x10b22707
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x10b22726
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x10b227f2
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x10b22767
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10b22771
xor ecx, ecx
jmp 0x10b227b3
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x10b22796
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.10b23a88
mov edx, dword [ebp - 8]
add esp, 0xc
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x10b227de
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x10b227f2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x10b226a9
pop edi
pop esi
leave
ret
Function at 0x10b26b80
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10bc3753
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, 1
push edi
mov dword [esp + 0xc], esi
mov byte [esi + 8], bl
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x20]
xor edi, edi
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x1c], edi
mov dword [esi], 0x10be0cd4
call fcn.10904640
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], bl
call fcn.10904640
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x3c]
xor eax, eax
mov ecx, 0x1e
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x10b27038
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10bc3778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push str.P_EndGame
lea ecx, [esp + 0x18]
mov dword [esp + 8], esi
call fcn.109ee0c0
push 0x10c35adc
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.109ee0c0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.10b30000
lea ecx, [esp + 8]
mov byte [esp + 0x28], 4
call fcn.109048b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.109048b0
mov ecx, dword [esp + 0x20]
mov dword [esi], 0x10be0d04
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x10b2a940
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10bc38df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ebx
lea edx, [esp + 0x10]
push edx
push ebx
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x38], 1
mov dword [esp + 0x44], esp
mov dword [eax], reloc.ole32.dll_CoCreateGuid
call fcn.10916830
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.10904640
lea ecx, [esp + 0x14]
mov dword [esp + 8], 1
mov byte [esp + 0x28], bl
call fcn.109048b0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0xc