joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100666c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [eax]
mov cl, byte [edi]
mov dword [ebp - 0x14], edi
mov eax, edi
mov byte [ebp - 1], cl
test cl, cl
je 0x100666e6
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x100666e0
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x190]
sub eax, edi
and eax, 0x3fffffff
add ebx, 0x184
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edx
jmp 0x10066716
mov cl, byte [ebp - 1]
mov eax, dword [ebp - 0xc]
mov esi, eax
test eax, eax
jns 0x10066731
mov eax, edi
test cl, cl
je 0x10066728
inc eax
cmp byte [eax], 0
jne 0x10066722
sub eax, edi
and eax, 0x3fffffff
mov esi, eax
cmp dword [ebp - 0x10], 0
je 0x10066768
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x10066762
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x100e7f68]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x10066741
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
xor edx, edx
div dword [ebx]
jmp 0x1006676a
xor edx, edx
push esi
push edi
mov eax, ebx
call fcn.1003aca0
add esp, 8
test eax, eax
je 0x1006677f
mov eax, dword [eax + 8]
jmp 0x10066781
xor eax, eax
test eax, eax
je 0x10066796
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + 0x100e865c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x100667b8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 3
jl 0x10066710
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
pop edi
pop esi
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10089820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d5048
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10109610]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x10109610]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov edi, 4
call fcn.100893a0
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [esp + 0x24], 8
jae 0x1008987d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [esp + 0x24], 8
jb 0x1008989e
mov ecx, dword [esp + 0x10]
push ecx
call fcn.100b2e51
add esp, 4
test bl, bl
je 0x100898f5
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.100893a0
mov eax, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x100898c4
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100898d8
test al, 0x10
jbe 0x100898d8
mov bl, 1
jmp 0x100898da
xor bl, bl
cmp dword [esp + 0x24], esi
jb 0x100898ed
mov eax, dword [esp + 0x10]
push eax
call fcn.100b2e51
add esp, 4
test bl, bl
je 0x1008994e
xor eax, eax
jmp 0x10089950
xor ebx, ebx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], ebx
call fcn.1008b350
add esp, 4
test al, al
je 0x1008993a
lea edx, [esp + 0x2c]
push edx
call fcn.10089820
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x1008993a
mov ecx, esi
call fcn.1008b6d0
mov edi, eax
cmp dword [esp + 0x40], 0x10
jb 0x1008994e
mov eax, dword [esp + 0x2c]
push eax
call fcn.100b2e51
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
Function at 0x1008b040
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3336
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x258], eax
xor bl, bl
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
lea edx, [ebp - 0x254]
push edx
push edi
push edi
push 0x2b
mov dword [ebp - 4], edi
push edi
mov dword [ebp - 0x254], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp eax, edi
lea eax, [ebp - 0x218]
push eax
jl 0x1008b106
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1008b0f7
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1008b0d4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10001b30
mov bl, 1
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1008b143
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1008b143
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1008b120
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.10001b30
mov bl, 1
mov eax, dword [ebp - 0x224]
cmp eax, edi
je 0x1008b1dd
cmp dword [ebp - 0x220], 8
mov ecx, dword [ebp - 0x234]
jae 0x1008b166
lea ecx, [ebp - 0x234]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x1008b18d
lea ecx, [eax - 1]
lea esi, [ebp - 0x234]
cmp ecx, eax
ja 0x1008b185
or eax, 0xffffffff
call fcn.10001c20
jmp 0x1008b18d
sub ecx, eax
push ecx
call fcn.1008bc90
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x234]
call fcn.100892b0
add esp, 4
mov esi, dword [ebp - 0x258]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.10004fd0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x23c], 0x10
jb 0x1008b1cf
mov edx, dword [ebp - 0x250]
push edx
call fcn.100b2e51
add esp, 4
push 6
push str.Adobe
mov eax, esi
call fcn.10019ec0
cmp dword [ebp - 0x220], 8
jb 0x1008b1f5
mov eax, dword [ebp - 0x234]
push eax
call fcn.100b2e51
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
Function at 0x1008b220
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x20]
push edi
push eax
mov ecx, esi
call fcn.100893a0
mov eax, dword [ebp - 0x20]
mov edi, 8
add esp, 4
cmp dword [ebp - 0xc], edi
jae 0x1008b250
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [ebp - 0xc], edi
jb 0x1008b26e
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.100b2e51
add esp, 4
test bl, bl
je 0x1008b2cb
lea edx, [ebp - 0x20]
push edx
mov ecx, esi
call fcn.100893a0
mov eax, dword [ebp - 0x20]
add esp, 4
cmp dword [ebp - 0xc], edi
jae 0x1008b28b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1008b29f
test al, 0x10
jbe 0x1008b29f
mov bl, 1
jmp 0x1008b2a1
xor bl, bl
cmp dword [ebp - 0xc], edi
jb 0x1008b2b2
mov eax, dword [ebp - 0x20]
push eax
call fcn.100b2e51
add esp, 4
test bl, bl
jne 0x1008b2cb
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret

Function at 0x1008b2e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.100893a0
mov eax, dword [ebp - 0x20]
add esp, 4
cmp dword [ebp - 0xc], 8
jae 0x1008b309
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1008b31d
test al, 0x10
jbe 0x1008b31d
mov bl, 1
jmp 0x1008b31f
xor bl, bl
cmp dword [ebp - 0xc], 8
jb 0x1008b331
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.100b2e51
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
Function at 0x1008b6d0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5018
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
push eax
mov esi, ecx
mov edi, 4
call fcn.100893a0
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.100893a0
mov eax, dword [ebp - 0x2c]
mov esi, 8
add esp, 4
cmp dword [ebp - 0x18], esi
jae 0x1008b733
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [ebp - 0x18], esi
jb 0x1008b751
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2e51
add esp, 4
test bl, bl
jne 0x1008b771
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x1008b760
lea eax, [ebp - 0x48]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x1008b771
xor edi, edi
cmp dword [ebp - 0x34], esi
jb 0x1008b782
mov eax, dword [ebp - 0x48]
push eax
call fcn.100b2e51
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
Function at 0x1008bac0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d43b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10109610]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x10109610]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov esi, edx
call fcn.100893a0
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], 0
call fcn.100893a0
mov ecx, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x1008bb2f
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x1008bb3d
lea eax, [esp + 0x2c]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
cmp dword [esp + 0x24], esi
jb 0x1008bb5f
mov edx, dword [esp + 0x10]
push edx
call fcn.100b2e51
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
cmp dword [esp + 0x40], esi
jb 0x1008bb89
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100b2e51
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret

Function at 0x1008dcd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [eax + 0x14], 8
jb 0x1008dce6
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1008dd12
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1008dd24
lea edi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008df20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4eeb
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
push 0x11
mov dword [ebp - 0xc8], eax
mov esi, ecx
mov dword [edi], 0x10
call fcn.100b211b
mov dword [esi], eax
mov ecx, dword [edi]
inc ecx
push ecx
xor edi, edi
push edi
push eax
call fcn.100b8f90
mov al, 1
mov ecx, 0x10
mov byte [ebp - 0x73], al
mov byte [ebp - 0x23], al
lea edx, [ebp - 0xb4]
lea eax, [ebp - 0x64]
add esp, 0x10
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
mov dword [ebp - 0xc4], vtable.CryptoPP::Weak1::MD5.0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc8]
push ecx
mov dword [ebp - 4], 2
mov esi, dword [esi]
push edx
lea ecx, [ebp - 0xc4]
call dword [0x100f7228]
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax + 0x14]
push esi
lea ecx, [ebp - 0xc4]
call edx
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x64]
cmp edi, eax
jne 0x1008e010
mov ecx, dword [ebp - 0x1c]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x68]
lea ecx, [ebp - 0xb4]
xor eax, eax
cmp edi, ecx
jne 0x1008e024
mov ecx, dword [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
Function at 0x100904e0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5940
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
mov dword [eax + 0xa8], 0x10
mov byte [eax + 0xa1], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [eax], vtable.CryptoPP::SHA1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d69bf
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [ebp - 4], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xd
call fcn.100a6960
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xe
call fcn.100a6960
mov byte [esi + 0x5c], 1
lea eax, [esi + 0x60]
push eax
mov dword [ebp - 4], 0xf
call fcn.100904e0
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
Function at 0x10090c80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2968
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10109610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x10090da0
cmp byte [edi + 0x49], bl
je 0x10090da0
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x10090d94
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10090cf4
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x10090d0c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x10090d35
dec eax
je 0x10090d39
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10090d8f
jmp 0x10090d9b
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x10090d49
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x10090d72
cmp ebx, 0x10
jae 0x10090d58
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.100b462b
add esp, 0x10
cmp esi, eax
jne 0x10090d8c
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x10090d98
test esi, esi
jne 0x10090d00
push esi
push 8
lea esi, [ebp - 0x2c]
call fcn.1008bbb0
jmp 0x10090cfa
lea ecx, [ebp - 0x2c]
call fcn.10004cc0
xor al, al
jmp 0x10090da2
lea ecx, [ebp - 0x2c]
call fcn.10004cc0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
Function at 0x100912d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d247b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10109610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100b26b8
push 4
mov dword [ebp - 4], 0
call fcn.100b33f2
mov edi, eax
add esp, 4
test edi, edi
je 0x1009134c
call fcn.100b2590
mov dword [edi], eax
call fcn.100b234f
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.100b2679
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10091342
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.100b26a1
jmp 0x1009134e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10094510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d2278
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x10109610]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push esi
call edx
mov bl, al
mov dword [esp + 0x14], 0xffffffff
test esi, esi
je 0x10094562
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov al, bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10094580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d2248
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10109610]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
call edx
mov edi, eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push edx
push edi
mov ecx, esi
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
push ecx
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
mov ecx, esi
call edx
mov dword [esp + 0x1c], 0xffffffff
mov bl, al
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

Function at 0x10094690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d2248
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10109610]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
call edx
mov edi, eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push edx
push edi
mov ecx, esi
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
mov ebx, dword [esp + 0x24]
mov edx, dword [eax + 0x3c]
push edi
push ecx
push ebx
mov ecx, esi
call edx
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x18

Function at 0x10094b70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ecx, edi
shr ecx, 2
xor ebx, ebx
test ecx, ecx
je 0x10094ba0
mov eax, edx
sub esi, edx
mov ebx, ecx
push ebp
jmp 0x10094b90
mov ebp, dword [esi + eax]
xor dword [eax], ebp
add eax, 4
dec ecx
jne 0x10094b90
mov esi, dword [esp + 0x14]
pop ebp
lea eax, [ebx*4]
sub edi, eax
je 0x10094bc9
add edx, eax
add esi, eax
test edi, edi
je 0x10094bc9
mov ecx, esi
mov eax, edx
sub ecx, edx
mov esi, edi
jmp 0x10094bc0
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x10094bc0
pop edi
pop esi
pop ebx
ret
Function at 0x10094bd0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, eax
mov eax, ebp
shr eax, 2
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x10094c0a
mov edx, edi
sub esi, edi
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x10094bf4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop ebx
lea eax, [edx*4]
sub ebp, eax
jne 0x10094c21
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebp
pop ecx
ret
add esi, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or al, dl
or cl, al
test ebp, ebp
je 0x10094c4f
mov eax, edi
sub esi, edi
mov edi, ebp
mov dl, byte [eax + esi]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x10094c44
pop edi
xor eax, eax
test cl, cl
pop esi
sete al
pop ebp
pop ecx
ret