joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b17cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x24]
call fcn.100c8a78
cmp dword [esi + 0x4c], 0x5e
jne 0x100b17ec
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.100b34bb
test dword [esi + 0x50], 0x20000000
je 0x100b180c
cmp dword [esi + 0x4c], 0x5d
jne 0x100b180c
push 0x5d
lea ecx, [esi + 0x24]
call fcn.100c8a78
mov ecx, esi
call fcn.100b34bb
pop edi
mov ecx, esi
pop esi
jmp 0x100b1ab9
push edi
mov edi, ecx
call fcn.100b198a
test eax, eax
je 0x100b1b7a
push esi
cmp eax, 2
je 0x100b1b4d
cmp dword [edi + 0x44], 0
jne 0x100b1ae2
test dword [edi + 0x50], 0x100000
je 0x100b1b7c
cmp dword [edi + 0x4c], 0x2d
jne 0x100b1b40
mov ecx, edi
call fcn.100b34bb
movzx esi, word [edi + 0x44]
mov ecx, edi
call fcn.100b198a
test eax, eax
je 0x100b1b62
cmp eax, 2
je 0x100b1b5e
test dword [edi + 0x40], 0x800
je 0x100b1b2b
movzx eax, word [edi + 0x44]
mov ecx, dword [edi + 0x3c]
push eax
call fcn.100c8a78
mov ecx, dword [edi + 0x3c]
movzx eax, ax
push esi
mov dword [edi + 0x44], eax
call fcn.100c8a78
movzx esi, ax
movzx eax, word [edi + 0x44]
cmp ax, si
jb 0x100b1b5e
push eax
push esi
lea ecx, [edi + 0x24]
call fcn.100c8a78
jmp 0x100b1b4d
movzx eax, word [edi + 0x44]
lea ecx, [edi + 0x24]
push eax
call fcn.100c8a78
mov ecx, edi
call fcn.100b198a
test eax, eax
jne 0x100b1aca
jmp 0x100b1b79
push 8
jmp 0x100b1b7e
movzx eax, word [edi + 0x44]
lea ecx, [edi + 0x24]
push eax
call fcn.100c8a78
push 0x2d
lea ecx, [edi + 0x24]
call fcn.100c8a78
pop esi
pop edi
ret
push 2
mov ecx, edi
call fcn.100c8a78
int3
Function at 0x100b5a2a
Capabilities:
Create process on windows

Disassembly:
push 0x8c
mov eax, 0x100e4f7b
call fcn.100c745c
mov eax, dword [ebp + 8]
xor ebx, ebx
and dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x98], eax
inc ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
and dword [ebp - 4], ecx
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x100b5abc
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x2c], 0
push esi
call fcn.100c8a78
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], bl
call fcn.100c8a78
push 0x100f1ea8
lea ecx, [ebp - 0x28]
call fcn.100c8a78
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x100b5ab9
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x40]
call fcn.100c8a78
pop ecx
pop ecx
add esi, 0x18
cmp esi, edi
jne 0x100b5a63
push 0x44
pop esi
push esi
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x98]
lea edi, [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x84], esi
stosd dword es:[edi], eax
lea edx, [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jb 0x100b5b00
mov ecx, dword [ecx]
lea eax, [ebp - 0x94]
xor esi, esi
push eax
lea eax, [ebp - 0x84]
push eax
movzx eax, byte [ebp + 0x10]
push esi
push esi
xor eax, ebx
shl eax, 0x1b
push eax
push esi
push esi
push esi
push edx
push ecx
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x100b5b45
push dword [ebp - 0x94]
mov ebx, esi
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x90]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x100b5b5f
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x28]
call fcn.100c8a78
pop ecx
pop ecx
mov eax, ebx
call fcn.100c7406
ret
Function at 0x100b5b67
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x34
mov eax, 0x100e4fab
call fcn.100c745c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x100b5c1c
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x100b5c1c
cmp byte [ebp + 0x10], 0
jne 0x100b5c0f
cmp dword [eax + 0x14], 0x10
jb 0x100b5ba0
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
jb 0x100b5bae
mov ecx, dword [ecx]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], ecx
push eax
xor ebx, ebx
mov dword [ebp - 0x38], edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
je 0x100b5c1c
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.100c8a78
push dword [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [esi + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x100b5bf6
mov eax, dword [esi]
mov byte [eax], bl
mov ecx, esi
lea eax, [ebp - 0x28]
push eax
call fcn.100c8a78
lea ecx, [ebp - 0x28]
call fcn.100090b6
xor eax, eax
jmp 0x100b5c1f
push esi
push ecx
push eax
call fcn.100c8a78
add esp, 0xc
jmp 0x100b5c1f
xor eax, eax
inc eax
call fcn.100c7406
ret

Function at 0x100b5e8a
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x34
mov eax, 0x100e4fab
call fcn.100c745c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x100b5f3f
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x100b5f3f
cmp byte [ebp + 0x10], 0
jne 0x100b5f32
cmp dword [eax + 0x14], 0x10
jb 0x100b5ec3
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
jb 0x100b5ed1
mov ecx, dword [ecx]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], ecx
push eax
xor ebx, ebx
mov dword [ebp - 0x38], edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
call sub.CRYPT32.dll_CryptProtectData
test eax, eax
je 0x100b5f3f
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.100c8a78
push dword [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [esi + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x100b5f19
mov eax, dword [esi]
mov byte [eax], bl
mov ecx, esi
lea eax, [ebp - 0x28]
push eax
call fcn.100c8a78
lea ecx, [ebp - 0x28]
call fcn.100090b6
xor eax, eax
jmp 0x100b5f42
push esi
push ecx
push eax
call fcn.100c8a78
add esp, 0xc
jmp 0x100b5f42
xor eax, eax
inc eax
call fcn.100c7406
ret
Function at 0x100b64fb
Capabilities:
Get storage device properties

Disassembly:
push 0x54
mov eax, 0x100e50d6
call fcn.100c745c
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
mov dword [ebp - 0x48], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100b6530
xor al, al
jmp 0x100b66ae
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push eax
push 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], ebx
push eax
push 0xc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], ebx
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
push edi
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x100b656e
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x100b6529
mov esi, dword [ebp - 0x3c]
push esi
call fcn.100c8a78
push esi
push ebx
push eax
mov dword [ebp - 0x44], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
push esi
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push esi
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x100b65ae
push esi
call fcn.100c7651
pop ecx
jmp 0x100b6565
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
test eax, eax
je 0x100b668a
cmp eax, dword [esi + 4]
jae 0x100b668a
add eax, esi
lea ecx, [ebp - 0x60]
push eax
call fcn.100c8a78
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x100b65f0
mov byte [ebp - 0x44], bl
push dword [ebp - 0x44]
push eax
call fcn.100c8a78
lea ecx, [ebp - 0x60]
call fcn.100090b6
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
test eax, eax
je 0x100b661d
lea edx, [eax + ecx]
mov eax, ecx
cmp ecx, edx
jae 0x100b661d
cmp byte [eax], 0x20
jne 0x100b6649
inc eax
cmp eax, edx
jb 0x100b6613
or eax, 0xffffffff
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
test eax, eax
je 0x100b665b
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
jmp 0x100b6652
sub eax, ecx
jmp 0x100b6620
cmp ecx, edx
je 0x100b665b
dec ecx
cmp byte [ecx], 0x20
je 0x100b664d
sub ecx, edx
jmp 0x100b665e
or ecx, 0xffffffff
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
push dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
call fcn.100c8a78
push esi
call fcn.100c7651
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov bl, 1
jmp 0x100b6698
push esi
call fcn.100c7651
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100b66ac
inc ecx
push ecx
push dword [ebp - 0x2c]
call fcn.100c8a78
pop ecx
pop ecx
mov al, bl
call fcn.100c7406
ret
Function at 0x100b6758
Capabilities:
Get hostname

Disassembly:
push 0x43c
mov eax, 0x100e513e
call fcn.100c745c
mov edi, dword [ebp + 8]
mov ecx, edi
push 0xf
push str.unknown_machine
call fcn.100c8a78
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x414], 0x100
lea eax, [ebp - 0x414]
mov esi, 0xff
push eax
lea eax, [ebp - 0x210]
push eax
push 5
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b688e
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x448]
call fcn.100c8a78
and dword [ebp - 4], 0
cmp dword [ebp - 0x438], 0
je 0x100b67fe
cmp dword [ebp - 0x434], 8
lea eax, [ebp - 0x448]
push edi
cmovae eax, dword [ebp - 0x448]
push eax
call fcn.100c8a78
pop ecx
pop ecx
xor esi, esi
jmp 0x100b6881
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x418], 0x100
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x410]
push eax
push 1
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b6881
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x430]
call fcn.100c8a78
cmp dword [ebp - 0x420], 0
mov byte [ebp - 4], 1
je 0x100b6876
cmp dword [ebp - 0x41c], 8
lea eax, [ebp - 0x430]
push edi
cmovae eax, dword [ebp - 0x430]
push eax
call fcn.100c8a78
pop ecx
pop ecx
xor esi, esi
lea ecx, [ebp - 0x430]
call fcn.100227b7
lea ecx, [ebp - 0x448]
call fcn.100227b7
jmp 0x100b6891
xor esi, esi
inc esi
mov eax, esi
call fcn.100c7406
ret
Function at 0x100b79f4
Capabilities:
Get hostname

Disassembly:
push 0x224
mov eax, 0x100e540a
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x202
push 0
xor ebx, ebx
push eax
inc ebx
mov byte [esi], 0
call sub.VCRUNTIME140.dll_memset
and dword [ebp - 0x220], 0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x218], 0x100
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
and dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 2
call dword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x100b7a82
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x230]
call fcn.100c8a78
cmp dword [ebp - 0x220], 0
je 0x100b7a82
mov byte [esi], bl
xor ebx, ebx
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x100b7aa2
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x230]
call fcn.100c8a78
pop ecx
pop ecx
mov eax, ebx
call fcn.100c7406
ret

Function at 0x100b7b4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e543a
mov eax, dword fs:[0]
push eax
mov eax, 0x1010
call fcn.100c8430
mov eax, dword [0x1016a39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
lea eax, [ebp - 0x810]
mov esi, 0x800
mov dword [ebp - 4], edi
push esi
push edi
push eax
mov dword [ebp - 0x1014], edi
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x1010]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp + 8]
mov dword [ebp - 0x101c], eax
mov esi, 0x400
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x810]
push esi
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100b7bee
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x101c]
call fcn.100b57ae
test eax, eax
jne 0x100b7c12
push esi
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100b7c12
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x101c]
call fcn.100b57ae
mov esi, dword [ebp - 0x1014]
lea ecx, [ebp + 8]
call fcn.100227b7
mov eax, esi
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.100c73e0
leave
ret
Function at 0x100b8335
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x100e54dd
call fcn.100c74ca
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x20]
push edx
push ebx
lea edx, [ebp - 0x18]
push edx
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100b8445
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100c8a78
pop ecx
push dword [ebp - 0x20]
mov esi, eax
call fcn.100c8a78
pop ecx
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100b8422
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov word [esi + eax*2], cx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
call fcn.10026c47
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.100c8a78
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.100227b7
lea ecx, [ebp - 0x64]
call fcn.100227b7
push esi
call fcn.100c7651
push edi
call fcn.100c7651
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100b8360
xor ebx, ebx
push esi
inc ebx
call fcn.100c7651
push edi
call fcn.100c7651
pop ecx
pop ecx
jmp 0x100b8445
mov eax, ebx
call fcn.100c7417
ret

Function at 0x100b84f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100e5527
call fcn.100c74ca
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x10]
inc edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x20], ecx
jb 0x100b8518
mov eax, dword [esi]
lea edx, [ebp - 0x18]
xor ebx, ebx
push edx
push ebx
push ebx
push ebx
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b8591
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push 2
inc eax
mov dword [ebp - 4], ebx
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100c8a78
cmp dword [esi + 0x14], 8
mov ebx, eax
pop ecx
jb 0x100b8554
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push ebx
push 0
push 0
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b8578
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.100c8a78
xor edi, edi
push ebx
call fcn.100c7651
pop ecx
jmp 0x100b8591
mov eax, edi
call fcn.100c7417
ret
Function at 0x100bcb79
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x100e5f38
call fcn.100c745c
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x44], esi
call fcn.100c8a78
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 1
push 0x100f25f4
call fcn.100c8a78
push 2
push 0x1013edec
lea ecx, [ebp - 0x40]
call fcn.100c8a78
push 1
push 0x100f25f4
lea ecx, [ebp - 0x40]
call fcn.100c8a78
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x100bcbe0
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.100c8a78
push 1
push 0x100eef5c
lea ecx, [ebp - 0x40]
call fcn.100c8a78
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x100bcc05
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.100c8a78
push 7
xor ebx, ebx
xor eax, eax
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100c8a78
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, esi
test eax, eax
jne 0x100bcc89
push 0x100eadb0
call fcn.100c8a78
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100bcc71
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.100c8a78
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edi
cmp eax, 0x10
jb 0x100bcccc
inc eax
push eax
jmp 0x100bccc2
lea eax, [ebp - 0x40]
push eax
call fcn.100c8a78
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100bccac
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.100c8a78
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
cmp ecx, 0x10
jb 0x100bcccc
inc ecx
push ecx
push dword [ebp - 0x40]
call fcn.100c8a78
pop ecx
pop ecx
mov eax, esi
call fcn.100c7406
ret
Function at 0x100c687e
Capabilities:
Get file size

Disassembly:
push 0x74
mov eax, 0x100e79db
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x80]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x50
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.100419f1
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x80]
call fcn.100c8a78
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ebx
cmovae eax, dword [ebp - 0x30]
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100c6909
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x100c6902
mov eax, dword [ebp - 0x18]
mov bl, 1
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.100227b7
lea ecx, [ebp - 0x80]
call fcn.10041ada
mov al, bl
call fcn.100c7406
ret

Function at 0x100c6921
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x100e7a13
call fcn.100c745c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x78]
push 0x50
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.100419f1
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push esi
push eax
lea ecx, [ebp - 0x78]
call fcn.100c8a78
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.100227b7
lea ecx, [ebp - 0x78]
call fcn.10041ada
mov al, bl
call fcn.100c7406
ret
Function at 0x100c8a78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x100c8a87
pop dword [ebp - 0x50]
mov eax, 0x44b48604
add eax, 0xcb580483
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x788c0c52
add dword [ebp - 0x60], 0xd5c638f9
mov dword [ebp - 0x5c], 0xd25537c2
add dword [ebp - 0x5c], 0x5fde1483
mov dword [ebp - 0x58], 0xfc9a4aef
add dword [ebp - 0x58], 0x4fb1f93f
mov dword [ebp - 0x54], 0x5b1eef4
add dword [ebp - 0x54], 0xfa4e110c
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x27cf4426
sub dword [ebp - 0x60], 0xb35cdad0
mov dword [ebp - 0x5c], 0x130c788c
add dword [ebp - 0x5c], 0x2e5fe8e9
mov dword [ebp - 0x58], 0x318494ce
sub dword [ebp - 0x58], 0xce152862
mov dword [ebp - 0x54], 0x6d8c3f7d
sub dword [ebp - 0x54], 0x6d8c3f7d
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x462e18fc
add eax, 0xc9e07854
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x8412b
push 0
call eax
mov ecx, 0xdf85152c
add ecx, 0x207b2e9d
mov edi, eax
mov edx, 0xdd8c07d2
add edx, 0x328c0c2e
add edx, dword [ebp - 0x50]
mov esi, 0x32703e98
add esi, 0x6b6c06cc
sub dword [ebp - 0x24], 0xca42b293
mov ebx, dword [edx]
add dword [ebp - 0x1c], eax
xor ebx, esi
mov dword [ebp - 0x34], 0x1e9c7efe
mov dword [edi], ebx
sub dword [ebp - 0x48], ebx
add edi, 0x2f108d02
add edi, 0xd0ef7302
add edx, 0xa0f9d48b
add edx, 0x5f062b79
loop 0x100c8ba4
add eax, 0x101f7
mov ebx, eax
add eax, 0x4d6557b3
sub eax, 0x4d6557ae
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x408010
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov dword [esp], 0x4e67c6a7
dec edx
test edx, edx
jl 0x408040
inc edx
xor ecx, ecx
mov ebx, dword [esp]
shl ebx, 5
movzx edi, byte [eax + ecx]
add ebx, edi
mov edi, dword [esp]
shr edi, 2
add ebx, edi
xor dword [esp], ebx
inc ecx
dec edx
jne 0x408025
mov ecx, esi
mov eax, esp
mov edx, 4
call fcn.00405b7c
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bcd8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403c54
xor eax, eax
push ebp
push 0x40bd47
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00403a64
test eax, eax
jle 0x40bd2f
mov edx, 1
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx - 1]
mov esi, ebx
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4158c8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x40bd0b
not ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bd4e
lea eax, [ebp - 4]
call fcn.004037e0
ret

Function at 0x40bd58
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0x40bd8c
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
mov esi, eax
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x4158c8]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0x40bd69
not eax
pop edx
pop esi
pop ebx
ret

Function at 0x40bd94
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], eax
or eax, 0xffffffff
dec edx
test edx, edx
jl 0x40bdc8
inc edx
xor ecx, ecx
mov ebx, dword [esp]
movzx ebx, byte [ebx + ecx]
mov esi, eax
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x4158c8]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0x40bda5
not eax
pop edx
pop esi
pop ebx
ret