joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001be0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x2c]
cmp eax, 0x10000001
jae 0x10001db7
mov edi, ecx
dec eax
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
lea eax, [edi + 0xc]
mov ebx, dword [edi + 4]
mov edx, 2
shl edx, cl
mov ecx, eax
push ebx
push edx
call fcn.10001670
lea eax, [esi - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov eax, dword [edi + 4]
mov ebp, dword [eax]
cmp ebp, ebx
je 0x10001dad
mov eax, ebx
mov dword [esp + 8], edi
mov dword [esp], ebx
jmp 0x10001c64
mov dword [edx + esi*4], ecx
mov dword [edx + edi*4], ecx
mov ebp, dword [esp + 4]
mov edi, ebx
cmp ebp, eax
je 0x10001dad
mov ecx, ebp
mov eax, dword [ebp]
mov dword [esp + 4], eax
movzx eax, byte [ebp + 8]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx edx, byte [ebp + 9]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebp + 0xa]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebp + 0xb]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebp + 0xc]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebp + 0xd]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebp + 0xe]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebp + 0xf]
xor edx, eax
imul eax, edx, 0x1000193
and eax, dword [edi + 0x18]
mov edx, dword [edi + 0xc]
lea esi, [eax + eax]
mov ebx, edi
lea edi, [eax*2 + 1]
mov ebp, dword [edx + eax*8]
mov eax, dword [esp]
cmp ebp, eax
je 0x10001c50
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edi
mov edi, dword [edx + edi*4]
mov ebx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov esi, dword [edi + 0xc]
xor esi, eax
mov edx, dword [edi + 8]
xor edx, ebx
or edx, esi
jne 0x10001d40
mov eax, dword [edi]
cmp eax, ecx
mov ebp, dword [esp + 4]
je 0x10001d35
mov edx, dword [ecx + 4]
mov dword [edx], ebp
mov esi, dword [ebp + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], esi
mov dword [ebp + 4], edx
mov dword [ecx + 4], edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
jmp 0x10001d9b
cmp ebp, edi
je 0x10001d75
mov edi, dword [edi + 4]
mov edx, dword [edi + 0xc]
xor edx, eax
mov esi, dword [edi + 8]
xor esi, ebx
or esi, edx
jne 0x10001d40
mov eax, dword [edi]
mov edx, dword [ecx + 4]
mov ebp, dword [esp + 4]
mov dword [edx], ebp
mov esi, dword [ebp + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], esi
mov dword [ebp + 4], edx
mov dword [ecx + 4], edi
jmp 0x10001d9e
mov eax, dword [ecx + 4]
mov edi, dword [esp + 4]
mov dword [eax], edi
mov edx, dword [edi + 4]
mov dword [edx], ebp
mov esi, dword [ebp + 4]
mov dword [esi], ecx
mov dword [ebp + 4], edx
mov ebp, edi
mov dword [edi + 4], eax
mov dword [ecx + 4], esi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax + edx*4], ecx
mov edi, dword [esp + 8]
mov eax, dword [esp]
cmp ebp, eax
jne 0x10001c64
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.1001b1ca
int3
Function at 0x10017880
Capabilities:
Create thread

Disassembly:
push esi
cmp dword [esp + 0xc], 1
jne 0x100178b0
mov esi, dword [esp + 0x10]
call fcn.10019e80
push 0
push 0
push esi
push 0x100177f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100178b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret 0xc

Function at 0x100191c0
Capabilities:
Register raw input devices

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
movzx ecx, byte [esp + 0x24]
cmp byte [0x1017a778], cl
je 0x10019317
test cl, cl
je 0x1001922e
mov esi, dword [0x10197918]
mov edi, dword [0x1019791c]
cmp esi, edi
je 0x10019311
mov ebx, dword [sym.imp.USER32.dll_RegisterRawInputDevices]
nop word cs:[eax + eax]
push 0xc
push 1
push esi
call ebx
add esi, 0xc
cmp esi, edi
jne 0x10019200
mov eax, dword [0x10197918]
cmp eax, dword [0x1019791c]
movzx ecx, byte [esp + 0x24]
je 0x10019311
mov dword [0x1019791c], eax
jmp 0x10019311
mov dword [esp], 0
mov esi, esp
push 0xc
push esi
push 0
call dword [sym.imp.USER32.dll_GetRegisteredRawInputDevices]
mov eax, dword [esp]
mov edi, dword [0x1019791c]
mov edx, dword [0x10197918]
mov ecx, edi
sub ecx, edx
sar ecx, 2
imul ebx, ecx, 0xaaaaaaab
mov ecx, eax
sub ecx, ebx
jae 0x10019271
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov dword [0x1019791c], eax
jmp 0x100192b4
jbe 0x100192b4
mov ebx, dword [0x10197920]
sub ebx, edx
sar ebx, 2
imul edx, ebx, 0xaaaaaaab
cmp edx, eax
jae 0x1001929a
lea edx, [esp + 4]
mov ecx, 0x10197918
push edx
push eax
call fcn.10019320
jmp 0x100192b4
shl ecx, 2
lea ebx, [ecx + ecx*2]
push ebx
push 0
push edi
call fcn.1008e2b0
add esp, 0xc
add edi, ebx
mov dword [0x1019791c], edi
push 0xc
push esi
push dword [0x10197918]
call dword [sym.imp.USER32.dll_GetRegisteredRawInputDevices]
cmp dword [esp], 0
je 0x1001930c
xor esi, esi
lea edi, [esp + 4]
mov ebp, dword [sym.imp.USER32.dll_RegisterRawInputDevices]
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [0x10197918]
mov eax, dword [eax + esi]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
push 0xc
push 1
push edi
call ebp
inc ebx
add esi, 0xc
cmp ebx, dword [esp]
jb 0x100192e0
movzx ecx, byte [esp + 0x24]
mov byte [0x1017a778], cl
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10019570
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xc]
add edx, 0x14
jmp 0x100195a0
xor ecx, dword [esp + 0x28]
xor eax, dword [esp + 0x24]
or eax, ecx
je 0x100196ba
mov edx, dword [edx]
mov ebp, dword [edx + 0x10]
test ebp, ebp
je 0x100196b8
movzx esi, word [edx + 0x24]
mov eax, 0x84222325
mov ecx, 0xcbf29ce4
cmp esi, 2
jb 0x10019590
mov dword [esp + 8], ebp
shr esi, 1
mov dword [esp + 4], edx
mov edi, dword [edx + 0x28]
xor ebx, ebx
mov dword [esp], esi
cmp si, 1
je 0x1001966b
mov eax, dword [esp]
and eax, 0xfffffffe
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, 0x84222325
nop dword [eax]
movzx esi, word [edi + ebx*2]
mov ebp, edi
lea edi, [esi - 0x41]
xor edx, edx
cmp di, 0x1a
setb dl
shl edx, 5
or edx, esi
movzx edx, dx
xor edx, eax
mov edi, edx
mov eax, edx
mov edx, 0x1b3
mul edx
mov esi, eax
mov eax, 0x100
imul edi, eax
mov eax, 0x1b3
imul ecx, eax
add ecx, edx
add ecx, edi
movzx edx, word [ebp + ebx*2 + 2]
lea edi, [edx - 0x41]
xor eax, eax
cmp di, 0x1a
mov edi, ebp
mov ebp, 0x1b3
setb al
shl eax, 5
or eax, edx
movzx eax, ax
xor esi, eax
mov eax, esi
mul ebp
imul ecx, ebp
add ecx, edx
mov edx, 0x100
imul esi, edx
add ecx, esi
add ebx, 2
cmp dword [esp + 0xc], ebx
jne 0x100195f0
test byte [esp], 1
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
je 0x10019590
movzx esi, word [edi + ebx*2]
lea edi, [esi - 0x41]
mov ebx, 0x1b3
xor edx, edx
cmp di, 0x1a
setb dl
shl edx, 5
or edx, esi
movzx edx, dx
xor eax, edx
mov esi, eax
mov edx, 0x100
imul esi, edx
mul ebx
imul ecx, ebx
add ecx, edx
mov edx, dword [esp + 4]
add ecx, esi
jmp 0x10019590
xor ebp, ebp
mov eax, ebp
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10019770
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push edi
push esi
sub esp, 0x80
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
movzx ecx, cl
shl ecx, 0x14
movzx eax, al
shl eax, 0x10
or eax, ecx
or eax, edx
mov dword [esp], eax
movzx ecx, dl
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
movzx esi, dh
xor esi, ecx
imul ecx, esi, 0x1000193
mov ebx, eax
shr ebx, 0x10
movzx esi, bl
xor esi, ecx
imul ecx, esi, 0x1000193
mov esi, eax
shr esi, 0x18
xor esi, ecx
imul esi, esi, 0x1000193
and esi, dword [0x10197950]
mov edi, dword [0x10197944]
mov ecx, dword [edi + esi*8 + 4]
cmp ecx, dword [0x1019793c]
je 0x1001980e
cmp eax, dword [ecx + 8]
je 0x10019864
add esi, esi
mov esi, dword [edi + esi*4]
nop word [eax + eax]
cmp ecx, esi
je 0x1001980e
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x10019800
jmp 0x10019864
xor ecx, ecx
test eax, 0xff00000
jne 0x10019846
movzx edi, dx
movzx ebx, bl
lea esi, [esp + 8]
mov ecx, esi
call fcn.10051cb0
cvtsi2ss xmm0, ebx
movss dword [esp + 0x18], xmm0
mov dword [esp + 0x48], edi
call fcn.10066230
mov ecx, dword [eax + 0x40]
push esi
call fcn.10052180
mov ecx, eax
mov dword [esp + 4], ecx
lea eax, [esp + 4]
mov edx, esp
lea esi, [esp + 8]
mov ecx, 0x10197938
push eax
push edx
push esi
call fcn.10019aa0
mov eax, dword [esp]
add esp, 0x80
pop esi
pop edi
pop ebx
ret
Function at 0x10019870
Capabilities:
Set global application hook

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push eax
push 0x10019150
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10197924], eax
pop esi
ret
push edi
push esi
mov esi, dword [esp + 0xc]
push 0
call fcn.10066170
add esp, 4
mov dword [0x10197958], eax
push esi
call dword [sym.imp.USER32.dll_WindowFromDC]
mov dword [0x10197900], eax
push eax
call fcn.1007f3c0
add esp, 4
push 0
call fcn.1007e3a0
add esp, 4
call fcn.10066230
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
push 0x54c
call fcn.1001a031
add esp, 4
mov esi, eax
mov ecx, eax
push 0
call fcn.10021f70
mov edi, dword [0x10196510]
mov dword [0x10196510], esi
test edi, edi
je 0x100198f5
mov ecx, edi
call fcn.100221a0
push edi
call fcn.1001a061
add esp, 4
mov esi, dword [0x10196510]
mov byte [esi], 0
push 0
push 0xd
push 0
call fcn.10019770
add esp, 0xc
mov dword [0x10197934], eax
pop esi
pop edi
jmp 0x10019120
Function at 0x10019cc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
cmp eax, 0x10000001
jae 0x10019e40
mov ebx, ecx
dec eax
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
lea eax, [ebx + 0xc]
mov edi, dword [ebx + 4]
mov edx, 2
shl edx, cl
mov ecx, eax
push edi
push edx
call fcn.10001670
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx + 4]
mov eax, dword [eax]
cmp eax, edi
je 0x10019e36
mov dword [esp + 4], ebx
mov dword [esp], edi
jmp 0x10019d34
mov dword [edx + ebx*4], ecx
mov dword [edx + esi*4], ecx
mov ebx, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x10019e36
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 0xc], eax
movzx edx, byte [ecx + 8]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
movzx esi, byte [ecx + 9]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xa]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xb]
xor esi, edx
imul edi, esi, 0x1000193
and edi, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
mov eax, ebx
lea ebx, [edi + edi]
lea esi, [edi*2 + 1]
mov ebp, dword [edx + edi*8]
mov edi, dword [esp]
cmp ebp, edi
je 0x10019d20
mov dword [esp + 8], ebx
mov edi, dword [edx + esi*4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [edi + 8]
jne 0x10019dd0
mov edi, dword [edi]
cmp edi, ecx
mov eax, dword [esp + 0xc]
je 0x10019e24
mov ebx, dword [ecx + 4]
mov dword [esp + 8], ebx
mov dword [ebx], eax
mov ebp, dword [eax + 4]
mov dword [ebp], edi
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov dword [edi + 4], ebp
mov edi, dword [esp + 8]
mov dword [eax + 4], edi
mov dword [ecx + 4], ebx
jmp 0x10019e24
mov eax, dword [esp + 0xc]
nop word cs:[eax + eax]
cmp ebp, edi
je 0x10019e08
mov edi, dword [edi + 4]
cmp ebx, dword [edi + 8]
jne 0x10019de0
mov edx, dword [edi]
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], edx
mov ebx, dword [edx + 4]
mov dword [ebx], ecx
mov dword [edx + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
jmp 0x10019e27
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], ebp
mov ebx, dword [ebp + 4]
mov dword [ebx], ecx
mov dword [ebp + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov esi, dword [esp + 8]
mov dword [edx + esi*4], ecx
mov ebx, dword [esp + 4]
mov edi, dword [esp]
cmp eax, edi
jne 0x10019d34
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.1001b1ca
int3
Function at 0x10019e80
Capabilities:
Set console window title

Disassembly:
push esi
sub esp, 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call fcn.1008efd7
add esp, 4
lea esi, [esp + 4]
push eax
push 0x1016c65c
push 0x1016ce7e
push esi
call fcn.1009ba9d
add esp, 0x10
push 0
call fcn.1008efd7
add esp, 4
push eax
push 0x1016c780
push str.CONIN_
push esi
call fcn.1009ba9d
add esp, 0x10
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov dword [esp], 0
mov eax, esp
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp]
or eax, 4
mov dword [esp], eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push str.2.1.9__GUI_
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add esp, 8
pop esi
ret
Function at 0x1001bcb0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b29bb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10195040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x20], edi
mov dword [edi], vtable.CESPItemBase.0
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
movzx eax, byte [esi + 0x10]
mov byte [edi + 0x10], al
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [esi + 0x18]
push eax
call fcn.1001aa87
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x34], ecx
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
movups xmm0, xmmword [esi + 0x3c]
mov dword [ebp - 4], 0
movups xmmword [edi + 0x3c], xmm0
movq xmm0, qword [esi + 0x4c]
movq qword [edi + 0x4c], xmm0
movups xmm0, xmmword [esi + 0x54]
movups xmmword [edi + 0x54], xmm0
movups xmm0, xmmword [esi + 0x64]
add esi, 0x78
push esi
movups xmmword [edi + 0x64], xmm0
add edi, 0x78
mov dword [ebp - 0x10], esi
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.1001aa87
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x18], al
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
sar ecx, 2
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x1001bdde
cmp ecx, 0x3fffffff
ja 0x1001be2b
push ecx
mov ecx, eax
call fcn.1001bb40
mov eax, dword [ebp - 0x14]
mov esi, dword [esi + 0x28]
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
sub esi, eax
push esi
push eax
push edi
call fcn.1008dd30
mov ecx, dword [ebp - 0x14]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
add edi, 0x38
mov dword [ebp - 0x10], edi
mov dword [edi + 0x24], 0
mov ecx, dword [esi + 0x5c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1001be0c
mov edx, dword [ecx]
push edi
mov edx, dword [edx]
call edx
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x60]
mov dword [eax + 0xd8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.1001bbd0
int3
Function at 0x10021f70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b33ae
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10195040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov byte [edi], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
call fcn.1006ca40
lea ecx, [edi + 0x48c]
mov dword [edi + 0x460], 0
mov dword [edi + 0x464], 1
xorps xmm0, xmm0
mov dword [edi + 0x468], 0x3f800000
mov dword [edi + 0x46c], 0
mov byte [edi + 0x488], 0
push 0
movups xmmword [ecx], xmm0
push 0x101726d0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1001af1f
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x4b8]
push 1
mov dword [edi + 0x4a4], 0
mov dword [edi + 0x4a8], 0
push 3
mov dword [edi + 0x4ac], 0
mov dword [edi + 0x4b0], 0
push 0x2e
mov byte [ebp - 4], 1
mov dword [edi + 0x4b4], eax
call fcn.1004bdb0
mov dword [edi + 0x4c4], 0x445d0000
mov ecx, edi
mov dword [edi + 0x4c8], 0x44020000
mov dword [edi + 0x4cc], 0x445d0000
mov dword [edi + 0x4d0], 0x44020000
mov dword [edi + 0x4d4], 0
mov dword [edi + 0x4d8], 0x3f800000
call fcn.10003430
mov ecx, edi
call fcn.10003740
call fcn.10066240
push 0
mov dword [eax + 0x4c], 0x41900000
mov dword [eax + 0x50], 0x41900000
mov dword [eax + 0x98], 0x3f000000
mov dword [eax + 0x9c], 0x3f000000
mov dword [eax + 0x38], 0x3f800000
mov dword [eax + 0x48], 0x3f800000
mov dword [eax + 0x44], 0x40800000
mov dword [eax + 0x74], 0x41200000
mov dword [eax + 0x34], 0x40c00000
mov dword [eax + 0x10], 0x40c00000
mov dword [eax + 0x2c], 0x40800000
mov dword [eax + 0x30], 0x3f800000
mov dword [eax + 0x14], 0x3f800000
mov dword [eax + 0xdc], 0x42000000
call fcn.1004c130
add esp, 4
mov ecx, edi
call fcn.100222e0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov ecx, edi
call fcn.10003320
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x470]
push eax
push 0x1a4a3
push 0x1017a958
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x14]
lea edx, [edi + 0x47c]
mov esi, dword [ecx]
push edx
push 0x1c0
push 0x1017a798
call dword [esi + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008118d
mov esp, ebp
pop ebp
ret 4
Function at 0x10026d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b386d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10195040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], eax
lea edx, [edi + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp byte [ecx + 0xd], 0
jne 0x10026dcb
mov eax, dword [edx]
mov esi, ecx
mov dword [ebp - 0x24], eax
cmp dword [edi + 0x14], 0xf
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], esi
mov ecx, edi
jbe 0x10026d83
mov ecx, dword [edi]
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x10026d8e
mov eax, dword [eax]
push dword [ebp - 0x24]
push ecx
push edx
push eax
call fcn.1001eb60
add esp, 0x10
test eax, eax
je 0x10026db1
jns 0x10026db1
mov esi, dword [esi + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
jmp 0x10026dbf
mov eax, esi
mov dword [ebp - 0x14], 1
mov esi, dword [esi]
mov dword [ebp - 0x10], eax
cmp byte [esi + 0xd], 0
je 0x10026d73
mov esi, dword [ebp - 0x14]
lea edx, [edi + 0x10]
cmp byte [eax + 0xd], 0
jne 0x10026e20
mov ecx, dword [eax + 0x20]
add eax, 0x10
mov dword [ebp - 0x24], ecx
cmp dword [eax + 0x14], 0xf
jbe 0x10026de2
mov eax, dword [eax]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x10026dec
mov ecx, dword [edi]
push dword [ebp - 0x24]
push eax
push dword [edx]
push ecx
call fcn.1001eb60
add esp, 0x10
test eax, eax
je 0x10026e01
js 0x10026e20
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x4924924
je 0x10026ec9
mov dword [ebp - 0x28], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.1001a031
xorps xmm0, xmm0
add esp, 4
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [edi]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x2c]
mov byte [eax + 0x28], 0
mov dword [eax + 0x30], 0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], 0
mov ecx, dword [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x18]
call fcn.1001cc10
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.1001c740
int3
Function at 0x10031690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [esi + 8]
mov edi, edx
and edi, 7
je 0x100316bf
cmp edx, edi
jge 0x100316af
push esi
call fcn.10030f60
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
mov dword [esi + 0xc], eax
xor eax, eax
mov ecx, edx
test edx, edx
jle 0x100316e8
mov edx, dword [esi + 0xc]
push ebx
mov bl, dl
nop dword [eax]
mov byte [ebp + eax + 8], bl
sub ecx, 8
shr edx, 8
inc eax
mov dword [esi + 0xc], edx
mov bl, dl
test ecx, ecx
jg 0x100316d0
pop ebx
mov dword [esi + 8], ecx
test ecx, ecx
jns 0x1003170b
mov ecx, dword [0x10197f58]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0xc], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
pop ebp
ret
cmp eax, 4
jge 0x1003172c
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x1003171d
xor dl, dl
jmp 0x10031722
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
mov byte [ebp + eax + 8], dl
inc eax
cmp eax, 4
jl 0x10031715
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x100316ec
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x1003177a
mov ecx, dword [0x10197f58]
mov eax, dword fs:[0x2c]
pop edi
pop esi
mov eax, dword [eax + ecx*4]
mov dword [eax + 0xc], str.read_past_buffer
xor eax, eax
pop ebp
ret
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x10031798
push edi
push ecx
push esi
call fcn.10031090
add esp, 0xc
test eax, eax
je 0x10031705
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.1008dd30
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret