joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4134a0
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00403a60
add esp, 0xc
mov dword [ebp - 4], 0
test esi, esi
je 0x401335
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401200
sub ecx, edx
cmp ecx, 0x100
jae 0x40135a
push esi
push 0x419730
lea eax, [ebp - 0x118]
push 0x100
push eax
call fcn.00401050
add esp, 0x10
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4012ba
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x118]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x40137f
lea eax, [ebp - 0x11c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x41d330]
shl ecx, 0xa
cmp eax, ecx
jb 0x4012a9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x118]
xor esi, esi
push eax
call fcn.00407032
add esp, 4
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jne 0x40130a
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x118]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4013a4
jmp 0x40130a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [0x41d334], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004025ad
mov esp, ebp
pop ebp
ret
push 0x41aba8
lea eax, [ebp - 0x268]
mov dword [ebp - 0x264], 0xffffd8ef
push eax
mov dword [ebp - 0x268], 0x419718
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x264], 0xffffd8f0
push eax
mov dword [ebp - 0x26c], 0x419720
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x270]
mov dword [ebp - 0x264], 0xffffd8ca
push eax
mov dword [ebp - 0x270], 0x419734
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x274]
mov dword [ebp - 0x264], 0xffffd8ca
push eax
mov dword [ebp - 0x274], 0x419734
call fcn.00403c3c
int3
Function at 0x4013d0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4134d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov ebx, ecx
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], 0
push eax
push 0
push 6
push edi
push ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x40158e
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.004025ef
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x4015a3
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 0
push esi
call fcn.00403a60
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0
push 0
push eax
push esi
push 6
push edi
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x4015b8
push str.Root
push 0x24000
push 0
push 0
push 0xa
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x28], edi
call ebx
mov dword [ebp - 0x24], eax
test edi, edi
je 0x4015cd
push dword [ebp - 0x1c]
push esi
push 0x10001
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov dword [ebp - 0x20], eax
call ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4015e2
push 0
push 2
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
mov edi, eax
call ebx
mov ebx, eax
mov dword [ebp - 0x24], ebx
test edi, edi
je 0x4015f9
push 1
push esi
call fcn.004025be
add esp, 8
push dword [ebp - 0x20]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push 0
push dword [ebp - 0x28]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
push 0x419801
push str.InstallIECACerts_Success
mov edx, ebx
mov ecx, 2
call fcn.00401070
add esp, 8
xor eax, eax
jmp 0x401572
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004025ad
mov esp, ebp
pop ebp
ret
push 0x41aba8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], str.BASE64_decrypt_error
push eax
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], str.new_memery_error
push eax
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], str.BASE64_decrypt_error_2
push eax
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], str.open_system_CertStore_error
push eax
call fcn.00403c3c
call ebx
push 0x41aba8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], str.create_IE_root_cert_error
push eax
call fcn.00403c3c
push 0x41aba8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.install_IE_root_cert_error
push eax
call fcn.00403c3c
int3
Function at 0x40b90c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040b5cc
Function at 0x1012065
Capabilities:
Get thread local storage value
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x101209f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x101209f
push esi
push 0x1001430
push esi
push esi
push esi
push 0x1001348
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, esi
and eax, dword [ebp + 8]
pop esi
pop ebp
ret 4

Function at 0x101288e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jne 0x10128e9
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x1012a27
test byte [eax + 0x9c], 4
je 0x1012a27
cmp byte [eax + 0x99], 3
jb 0x1012a27
push 0x10012f4
push 0xb
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010120f2
jmp 0x1012a27
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 0xc]
push eax
mov edi, 0x20019
push edi
push 0
mov ebx, 0x1001530
push ebx
push 0x80000002
call esi
test eax, eax
je 0x101295a
mov ecx, dword [0x102200c]
cmp ecx, 0x102200c
je 0x1012a24
test byte [ecx + 0x9c], 4
je 0x1012a24
cmp byte [ecx + 0x99], 3
jb 0x1012a24
push eax
push ebx
push 0x10012f4
push 0xc
push dword [ecx + 0x94]
push dword [ecx + 0x90]
call fcn.010123ac
jmp 0x1012a24
lea eax, [ebp - 8]
push eax
push edi
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10129be
mov ecx, dword [0x102200c]
cmp ecx, 0x102200c
je 0x1012a1f
test byte [ecx + 0x9c], 4
je 0x1012a1f
cmp byte [ecx + 0x99], 3
jb 0x1012a1f
push eax
push dword [ebp + 8]
push ebx
push 0x10012f4
push 0xd
push dword [ecx + 0x94]
push dword [ecx + 0x90]
call fcn.0101241f
jmp 0x1012a1f
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10129e7
cmp dword [ebp - 0x14], esi
je 0x1012a1a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x1012a1a
test byte [eax + 0x1c], 8
je 0x1012a1a
cmp byte [eax + 0x19], 5
jb 0x1012a1a
push dword [ebp + 0xc]
push 0x10012f4
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101233f
push dword [ebp - 8]
call edi
push dword [ebp - 0xc]
call edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 4]
leave
ret 0xc
Function at 0x10135d5
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push edi
xor edi, edi
xor esi, esi
sub ecx, 5
je 0x1013613
dec ecx
je 0x1013613
dec ecx
je 0x1013613
dec ecx
je 0x1013613
dec ecx
je 0x1013613
push edi
push 0x1001a38
push edi
push edi
push edi
push 0x1001978
push dword [0x102256c]
push 4
call fcn.01020f34
jmp 0x1013616
mov esi, dword [eax + 0x18]
cmp esi, edi
setne al
push eax
push 0x100194c
push edi
push edi
push edi
push 0x1001890
push dword [0x102256c]
push 4
call fcn.01020f34
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1013643
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push edi
xor edi, edi
xor esi, esi
sub eax, 5
je 0x1013685
dec eax
je 0x1013685
dec eax
je 0x1013681
dec eax
je 0x1013681
dec eax
je 0x1013681
push edi
push 0x1001c2c
push edi
push edi
push edi
push 0x1001b70
push dword [0x102256c]
push 4
call fcn.01020f34
jmp 0x1013688
push 8
jmp 0x1013687
push 4
pop esi
cmp esi, edi
setne al
push eax
push 0x1001b44
push edi
push edi
push edi
push 0x1001a88
push dword [0x102256c]
push 4
call fcn.01020f34
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1013c41
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 0x58]
xor eax, eax
cmp esi, eax
setne cl
push ecx
push 0x1002020
push eax
push eax
push eax
push 0x1001f40
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, esi
pop esi
ret

Function at 0x1013c43
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 0x58]
xor eax, eax
cmp esi, eax
setne cl
push ecx
push 0x1002020
push eax
push eax
push eax
push 0x1001f40
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, esi
pop esi
ret

Function at 0x1013cb3
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 8], edi
sbb al, al
inc al
push eax
push 0x1002104
xor eax, eax
push eax
push eax
push eax
push 0x1002038
push dword [0x102256c]
push 4
call fcn.01020f34
lea eax, [edi + 1]
pop edi
mov dword [esi], eax
mov dword [esi + 0xc], eax
pop esi
pop ebp
ret 4

Function at 0x1013db7
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, dword [esi]
setb al
push eax
push 0x10022b4
xor eax, eax
push eax
push eax
push eax
push 0x1002348
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, edi
imul eax, eax, 0x30
add eax, dword [esi + 4]
pop edi
pop esi
pop ebp
ret 4
Function at 0x1013df8
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x40], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x4c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x30], eax
mov dword [esi], 0x10022e0
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
or dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x34]
mov dword [esi + 0x70], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
cmp dword [esi + 0x60], eax
push edi
setne cl
push ecx
push 0x10022b4
push eax
push eax
push eax
push 0x1002420
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, dword [esi + 0x60]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 0xa
pop ecx
xor eax, eax
lea edi, [esi + 0x90]
rep stosd dword es:[edi], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10

Function at 0x1013ff8
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
je 0x1014038
cmp dword [edi], 4
je 0x101401a
cmp dword [ebp + 0x28], ebx
jne 0x101401a
xor al, al
jmp 0x101401d
xor eax, eax
inc eax
push eax
push 0x1002740
push ebx
push ebx
push ebx
push 0x1002680
push dword [0x102256c]
push 4
call fcn.01020f34
push dword [ebp + 0x30]
lea ecx, [esi + 0x50]
call fcn.01013cb3
lea eax, [ebp + 0x2c]
push eax
push dword [ebp + 0x20]
mov ecx, esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.0101d110
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x44], eax
mov eax, dword [edi]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x28]
pop edi
mov dword [esi + 0xec], ebx
mov dword [esi + 0xd0], eax
pop esi
pop ebx
pop ebp
ret 0x2c
Function at 0x10140d6
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
je 0x1014118
push edi
push 1
add esi, 0xf4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, edi
sete al
push eax
push 0x1002908
push edi
push edi
push edi
push 0x1002840
push dword [0x102256c]
push 4
call fcn.01020f34
jmp 0x1014159
push 1
push edi
lea eax, [esi + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
sete al
push eax
push 0x1002908
push edi
push edi
push edi
push 0x1002778
push dword [0x102256c]
push 4
call fcn.01020f34
mov dword [esi + 0x40], edi
push 0xa
pop ecx
xor eax, eax
lea edi, [esi + 0xc8]
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x10141a4
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x10141b9
cmp dword [ecx + 4], 0
je 0x10141b9
cmp dword [ecx + 0xc], eax
jae 0x10141b9
mov al, 1
jmp 0x10141bb
xor al, al
push eax
push 0x10022b4
push 0x2c6
push 0
push 3
push 0x1002a10
push dword [0x102256c]
push 4
call fcn.01020f34
ret

Function at 0x10141e2
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push esi
xor eax, eax
mov esi, ecx
cmp dword [esi + 0x70], eax
setne cl
push ecx
push 0x1002ba4
push eax
push eax
push eax
push 0x1002ad8
push dword [0x102256c]
push 4
call fcn.01020f34
mov eax, dword [esi + 0x70]
pop esi
ret

Function at 0x10143d5
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [eax + 0x24]
push esi
push edi
mov edi, dword [eax + 0x20]
push ebx
mov esi, 0x1022074
push edi
mov ecx, esi
call fcn.0101c9dc
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
neg eax
sbb eax, eax
and eax, 0x3ffffdd3
push 4
lea edx, [ebp - 8]
add eax, 0xc000022d
push edx
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp dword [ebp + 0x10], 0
je 0x1014491
push 0
lea eax, [ebp - 4]
push eax
push ebx
push edi
mov ecx, esi
call fcn.0101ca7a
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x1014491
mov eax, dword [ebp - 4]
lea edx, [ebp + 0x10]
push edx
push 0x1002d00
mov dword [ebp + 0x10], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x101445e
cmp dword [ebp + 0x10], edi
je 0x101445e
mov al, 1
jmp 0x1014460
xor al, al
push eax
push 0x1002cd8
push edi
push edi
push edi
push 0x1002bf8
push dword [0x102256c]
push 4
call fcn.01020f34
push dword [ebp + 0x10]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x1014491
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1014596
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], 7
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x101466b
cmp dword [ebp - 4], 7
je 0x10145dc
cmp dword [ebp - 4], 1
jne 0x101462b
mov eax, dword [ebp - 8]
shr eax, 1
test esi, esi
jne 0x10146b7
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0101fb27
mov esi, eax
test esi, esi
pop ecx
je 0x101467a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jb 0x10145af
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
mov ebx, 0x64a
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x101466b
test word [eax + 0x9c], 0x800
je 0x101466b
cmp byte [eax + 0x99], 2
jb 0x101466b
push dword [ebp - 4]
push 0x100186c
push 0x21
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
test esi, esi
je 0x101461e
push esi
call fcn.0101fb42
pop ecx
xor esi, esi
jmp 0x101461e
push 8
pop ebx
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x101466b
test word [eax + 0x9c], 0x800
je 0x101466b
cmp byte [eax + 0x99], 2
jb 0x101466b
push 0x100186c
push 0x22
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010120f2
jmp 0x101466b
and word [esi + eax*2 - 2], 0
jmp 0x101460e
Function at 0x1015806
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor eax, eax
mov esi, ecx
cmp dword [esi + 0xc], eax
seta cl
push ecx
push 0x10022b4
push eax
push eax
push eax
push 0x1002ff0
push dword [0x102256c]
push 4
call fcn.01020f34
push dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
push dword [ebp + 8]
dec eax
push eax
mov ecx, esi
call fcn.01013db7
mov ecx, eax
call fcn.01013d80
pop esi
pop ebp
ret 8

Function at 0x10158bc
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ebx, ebx
cmp esi, ebx
setne al
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ebx
push eax
push 0x10031cc
push 8
push 1
push 3
push 0x10030f0
push dword [0x102256c]
push 4
call fcn.01020f34
push 0x10030dc
mov dword [esi], ebx
call fcn.01013bcc
mov esi, eax
cmp esi, ebx
jge 0x1015950
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x1015a59
test word [eax + 0x9c], 0x800
je 0x1015a59
cmp byte [eax + 0x99], 2
jb 0x1015a59
push esi
push 0x100186c
push 0x20
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
jmp 0x1015a59
push edi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
call fcn.01017ffb
mov esi, eax
cmp esi, ebx
mov dword [ebp - 4], 0x10030cc
mov edi, 0x1022578
jl 0x1015997
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.010153f7
mov esi, eax
cmp esi, ebx
jl 0x1015997
push dword [ebp - 4]
mov eax, dword [0x1022574]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
cmp esi, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
jl 0x1015a1b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call fcn.01014e0e
cmp eax, ebx
jle 0x10159c9
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x1015a1b
push dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.01018145
mov esi, eax
cmp esi, ebx
jge 0x1015a1b
push dword [ebp - 0x10]
call fcn.0101fb42
pop ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1015a0f
push 3
call fcn.01014545
push dword [ebp - 4]
call fcn.0101fb42
pop ecx
mov dword [ebp - 4], ebx
push 0x10030dc
call fcn.0101fecf
cmp esi, ebx
mov eax, dword [0x1022574]
mov ecx, dword [eax]
push esi
push dword [ebp - 4]
push edi
push eax
jl 0x1015a43
call dword [ecx + 0x50]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x1015a58
call dword [ecx + 0x54]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x1015a53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1015bd6
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
je 0x1015c90
mov ecx, dword [0x1022570]
mov eax, dword [ecx]
push 1
push dword [ebp + 0x14]
lea edx, [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push edx
call dword [eax + 0x28]
test eax, eax
jge 0x1015c76
mov ecx, 0x8007000e
mov ebx, ecx
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x1015c50
test byte [eax + 0x9c], 4
je 0x1015c50
cmp byte [eax + 0x99], 2
jb 0x1015c50
push ecx
push 0x100187c
push 0xa
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
cmp dword [ebp - 4], edi
sete al
push eax
push 0x1003540
push edi
push edi
push edi
push 0x10033b0
push dword [0x102256c]
push 4
call fcn.01020f34
jmp 0x1015d23
mov ecx, dword [ebp - 4]
push dword [ebp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp + 0x18]
mov esi, eax
push edi
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x100
call fcn.0101fb27
cmp eax, edi
pop ecx
je 0x1015cb7
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x1c]
push dword [ebp - 4]
call fcn.01015a66
mov esi, eax
jmp 0x1015cb9
xor esi, esi
cmp esi, edi
jne 0x1015cfd
mov ecx, 0x8007000e
mov ebx, ecx
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x1015d23
test byte [eax + 0x9c], 4
je 0x1015d23
cmp byte [eax + 0x99], 2
jb 0x1015d23
push ecx
push 0x100187c
push 0xb
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.01013553
jmp 0x1015d23
push dword [ebp + 0x24]
mov dword [ebp - 4], edi
push dword [ebp + 0x20]
mov eax, dword [esi]
push dword [ebp + 0x10]
mov ecx, esi
call dword [eax + 0x58]
mov ebx, eax
cmp ebx, edi
jl 0x1015d1d
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x1015d2f
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x1015d2f
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x20

Function at 0x1016920
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
setne al
mov esi, ecx
push eax
push 0x10022b4
push ebx
push ebx
push ebx
push 0x1003920
push dword [0x102256c]
push 4
call fcn.01020f34
or dword [edi], 0xffffffff
mov ecx, dword [esi + 0x3c]
xor edx, edx
cmp ecx, ebx
mov ebx, dword [ebp + 8]
jbe 0x1016970
mov eax, dword [esi + 0x14]
add eax, 8
cmp ebx, dword [eax]
je 0x10169b6
inc edx
add eax, 0x20
cmp edx, ecx
jb 0x1016964
mov eax, dword [0x102200c]
cmp eax, 0x102200c
je 0x10169aa
test word [eax + 0x9c], 0x200
je 0x10169aa
cmp byte [eax + 0x99], 2
jb 0x10169aa
push esi
push ebx
push 0x10038dc
push 0xb
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.010134ae
mov eax, 0x80070057
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov dword [edi], edx
xor eax, eax
jmp 0x10169af