joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001c19
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CMemMappedFile.0
and dword [ebp - 4], 0
cmp byte [0x10036ee8], 0
je 0x10001c6d
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10001c48
mov eax, dword [eax]
push eax
push str.CMemMappedFile__s__dtor
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001c6d
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.10004020
cmp dword [esi + 0x20], 0
je 0x10001c83
push dword [esi + 0x20]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esi + 0x1c], 0
je 0x10001c92
push dword [esi + 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
pop ecx
push esi
call fcn.10010805
or dword [ebp - 4], 0xffffffff
pop ecx
push 0
push 1
lea ecx, [esi + 4]
call fcn.10010805
call fcn.10026544
ret
Function at 0x10001ed1
Capabilities:
Print debug messages

Disassembly:
push 0x20
mov eax, 0x10027712
call fcn.100265a9
cmp byte [0x10036ee8], 0
mov esi, 0x100368d8
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.kernel32.dll_OutputDebugStringA]
je 0x10001f1c
cmp dword [edi + 0x14], 8
jb 0x10001efe
mov eax, dword [edi]
jmp 0x10001f00
mov eax, edi
push eax
push str.CMemMappedFile_CreateAndLoadFromFile__file__11S_
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001f1c
push esi
call ebx
xor esi, esi
call fcn.10010805
test al, al
jne 0x10001f75
push 0x34
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], esi
test eax, eax
je 0x10001f44
mov ecx, eax
call fcn.10001aad
mov esi, eax
jmp 0x10001f46
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push edi
call fcn.10010805
push eax
mov eax, dword [esi]
xor edi, edi
inc edi
mov ecx, esi
mov dword [ebp - 4], edi
call dword [eax + 0x28]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push edi
call fcn.10010805
jmp 0x1000207d
call fcn.100196ae
test al, al
je 0x10002031
push edi
call fcn.10010805
mov dword [ebp - 0x2c], eax
pop ecx
test eax, eax
je 0x10002007
cmp byte [0x10036ee8], 0
je 0x10001ff2
cmp dword [edi + 0x14], 8
jb 0x10001fa3
mov eax, dword [edi]
jmp 0x10001fa5
mov eax, edi
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
push eax
push str.CMemMappedFile::CreateAndLoadFromFile___11S_
push 0x100368d8
call esi
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001ff2
push 0x100368d8
call ebx
cmp byte [0x10036ee8], 0
je 0x10001ff2
push str.CMemMappedFile___remote_creation
push 0x100368d8
call esi
cmp byte [0x10036ee8], 0
pop ecx
pop ecx
je 0x10001ff2
push 0x100368d8
call ebx
push dword [ebp - 0x2c]
call fcn.100194d2
mov esi, eax
pop ecx
push edi
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
jmp 0x1000207d
cmp byte [0x10036ee8], 0
je 0x1000207d
push str.CMemMappedFile__ERROR_diskFileSize__0_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
cmp byte [0x10036ee8], 0
pop ecx
pop ecx
je 0x1000207d
push edi
call ebx
jmp 0x1000207d
cmp byte [0x10036ee8], 0
je 0x10002059
push str.CMemMappedFile___creation_deferred
mov esi, 0x100368d8
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
cmp byte [0x10036ee8], 0
pop ecx
pop ecx
je 0x10002059
push esi
call ebx
push 0x34
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1000207b
push edi
mov ecx, eax
call fcn.10001992
mov esi, eax
jmp 0x1000207d
xor esi, esi
mov eax, esi
call fcn.10026558
ret
Function at 0x10002085
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x10027b41
call fcn.10026576
cmp byte [0x10036ee8], 0
mov edi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.MSVCR120.dll_sprintf]
je 0x100020c9
push esi
push str.CMemMappedFile_CreateWithSize__size_lu_
push 0x100368d8
call ebx
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x100020c9
push 0x100368d8
call edi
call fcn.10010805
test al, al
je 0x1000210d
call fcn.100196ae
test al, al
je 0x1000210d
cmp byte [0x10036ee8], 0
je 0x10002104
push esi
push str.CMemMappedFile::CreateWithSize__lu___REMOTE_CREATION_
push 0x100368d8
call ebx
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10002104
push 0x100368d8
call edi
push esi
call fcn.100194d2
pop ecx
jmp 0x10002152
cmp byte [0x10036ee8], 0
je 0x10002136
push esi
push str.CMemMappedFile::CreateWithSize__lu___LOCAL_CREATION_
push 0x100368d8
call ebx
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10002136
push 0x100368d8
call edi
push 0x34
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x10002152
push esi
call fcn.10001a2b
call fcn.10026544
ret

Function at 0x1000229e
Capabilities:
Print debug messages

Disassembly:
push 0x28
mov eax, 0x10027783
call fcn.100265a9
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
cmp byte [0x10036ee8], bl
je 0x100022f1
cmp dword [esi + 0x14], 0x10
jb 0x100022ca
mov eax, dword [esi]
jmp 0x100022cc
mov eax, esi
push ecx
push eax
push str.CMemMappedFile_GetExistingMemoryMappedFile__name_s__size_lu_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
cmp byte [0x10036ee8], bl
je 0x100022f1
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call fcn.10010805
mov edi, eax
pop ecx
test edi, edi
jne 0x1000234c
push 0x34
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
mov dword [ebp - 0x34], edi
and dword [ebp - 4], 0
test edi, edi
je 0x10002335
push esi
lea ecx, [ebp - 0x28]
call fcn.10010805
push dword [ebp - 0x2c]
xor ebx, ebx
mov byte [ebp - 4], 1
inc ebx
mov ecx, edi
push eax
mov dword [ebp - 0x30], ebx
call fcn.100019a6
mov edi, eax
jmp 0x10002337
xor edi, edi
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1000234c
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10010805
mov eax, edi
call fcn.10026558
ret
Function at 0x10002e0d
Capabilities:
Print debug messages

Disassembly:
mov al, byte [0x10036ee8]
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll_sprintf]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
test al, al
je 0x10002e57
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10002e32
mov eax, dword [eax]
push eax
push str.CMemMappedFile__s__createMemoryMappedFile
push 0x100368d8
call ebx
mov al, byte [0x10036ee8]
add esp, 0xc
test al, al
je 0x10002e57
push 0x100368d8
call edi
mov al, byte [0x10036ee8]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10002ee8
mov ecx, esi
call fcn.10010805
mov dword [esi + 0x20], eax
test eax, eax
je 0x10002eb0
cmp byte [0x10036ee8], 0
je 0x10002ea7
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10002e84
mov eax, dword [eax]
push dword [esi + 0x24]
push eax
push str.CMemMappedFile__s__created_file_of_size___lu
push 0x100368d8
call ebx
add esp, 0x10
cmp byte [0x10036ee8], 0
je 0x10002ea7
push 0x100368d8
call edi
push esi
call fcn.10010805
pop ecx
jmp 0x10002f18
cmp byte [0x10036ee8], 0
je 0x10002f18
add esi, 4
cmp dword [esi + 0x14], 0x10
jb 0x10002ec4
mov esi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
push str.CMemMappedFile__s__ERROR_CREATING__err_u_
mov esi, 0x100368d8
push esi
call ebx
add esp, 0x10
cmp byte [0x10036ee8], 0
je 0x10002f18
push esi
jmp 0x10002f16
test al, al
je 0x10002f18
add esi, 4
cmp dword [esi + 0x14], 0x10
jb 0x10002ef7
mov esi, dword [esi]
push ecx
push esi
push str.CMemMappedFile__s__ERROR_CREATING__SIZE__0_
push 0x100368d8
call ebx
add esp, 0x10
cmp byte [0x10036ee8], 0
je 0x10002f18
push 0x100368d8
call edi
pop edi
pop esi
pop ebx
ret

Function at 0x100034a7
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x10036ee8], 0
push esi
mov esi, ecx
je 0x100034e8
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x100034be
mov eax, dword [eax]
push edi
push dword [esi + 0x24]
mov edi, 0x100368d8
push eax
push str.CMemMappedFile__s__size___lu
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
cmp byte [0x10036ee8], 0
je 0x100034e7
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop edi
mov eax, dword [esi + 0x24]
pop esi
ret

Function at 0x100034f0
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x10036ee8], 0
push esi
mov esi, ecx
je 0x10003540
lea edx, [esi + 4]
cmp dword [edx + 0x14], 0x10
jb 0x10003507
mov edx, dword [edx]
cmp dword [esi + 0x20], 0
mov ecx, str.false
push edi
mov eax, str.true
mov edi, 0x100368d8
cmove eax, ecx
push eax
push edx
push str.CMemMappedFile__s__isValid___s
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
cmp byte [0x10036ee8], 0
je 0x1000353f
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop edi
xor eax, eax
cmp dword [esi + 0x20], eax
pop esi
setne al
ret
Function at 0x10004087
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x10036ee8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
je 0x100040d3
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x100040a9
mov eax, dword [eax]
push edi
push ebx
push eax
push str.CMemMappedFile__s__writeBytes_offset_u__length_u_
push 0x100368d8
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x14
cmp byte [0x10036ee8], 0
je 0x100040d3
push 0x100368d8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov edx, dword [esi]
lea eax, [ebx + edi]
push eax
mov ecx, esi
call dword [edx + 0xc]
test eax, eax
je 0x100040fc
push edi
push dword [ebp + 8]
add eax, ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x10]
mov al, 1
jmp 0x10004139
cmp byte [0x10036ee8], 0
je 0x10004137
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10004110
mov eax, dword [eax]
push edi
push ebx
push eax
push str.CMemMappedFile__s__ERROR_WRITING__NO_MEMORY_MAPPED_FILE_
mov ebx, 0x100368d8
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x14
cmp byte [0x10036ee8], 0
je 0x10004137
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10004910
Capabilities:
Hide graphical window

Disassembly:
push 0x10
mov eax, 0x1002785d
call fcn.10026576
mov eax, ecx
mov dword [ebp - 0x10], eax
add eax, 0x30
mov edi, eax
mov dword [ebp - 0x14], eax
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb esi, esi
neg esi
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.10010805
mov ebx, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x1000497f
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1000495c
push edi
call ebx
mov edi, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb esi, esi
neg esi
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.10010805
pop ecx
test eax, eax
je 0x10004951
mov edx, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [ebp + 8], ecx
sete cl
mov eax, dword [edx + 0x24]
inc ecx
mov dword [eax + 0x18], ecx
mov eax, dword [edx + 0x2c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100049c9
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
jne 0x100049c9
mov ecx, dword [ebp - 0x10]
call fcn.10004cd1
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100049d4
push edi
call ebx
call fcn.10026544
ret 4
Function at 0x10004cd1
Capabilities:
Resume thread
Terminate thread

Disassembly:
push 0x10
mov eax, 0x1002785d
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10004e03
cmp dword [eax + 8], 0
je 0x10004e03
lea eax, [esi + 0x30]
mov ebx, eax
mov dword [ebp - 0x10], eax
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb edi, edi
neg edi
mov dword [ebp - 0x18], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.10010805
pop ecx
test eax, eax
jne 0x10004d5f
mov esi, ebx
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10004d35
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ebx, esi
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb edi, edi
neg edi
mov dword [ebp - 0x18], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.10010805
pop ecx
test eax, eax
je 0x10004d26
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10004da8
cmp dword [eax + 8], 0
je 0x10004da8
cmp dword [esi + 0x2c], 0
jne 0x10004da8
push 0
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x20], 1
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x24]
or dword [ebp - 4], 0xffffffff
and dword [eax + 8], 0
test edi, edi
je 0x10004e03
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x10004e03
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10004db7
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x24]
xor ebx, ebx
mov dword [esi + 0x2c], ebx
push dword [eax + 0x1c]
call dword [sym.imp.kernel32.dll_SetEvent]
mov eax, dword [esi + 0x24]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [esi + 0x24]
push 0x3e8
mov edi, dword [eax + 8]
push edi
mov dword [eax + 8], ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10004df5
mov dword [esi + 0x20], ebx
jmp 0x10004e03
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x20], 1
call fcn.10026544
ret
Function at 0x1000c475
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push 0x1002b7b4
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x1000c496
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x1000c492
xor eax, eax
ret

Function at 0x1000c4a4
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
test eax, eax
je 0x1000c4c5
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x1000c4c1
xor eax, eax
ret

Function at 0x10010805
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10010814
pop dword [ebp - 0x14]
mov eax, 0x10010814
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xe85bb103
sub dword [ebp - 0x24], 0x9a096bb8
mov dword [ebp - 0x20], 0x1f0296d7
sub dword [ebp - 0x20], 0xeccf4a92
mov dword [ebp - 0x1c], 0xf9cb2148
sub dword [ebp - 0x1c], 0xad7edd1a
mov dword [ebp - 0x18], 0x36be8fa7
sub dword [ebp - 0x18], 0x36be8fa7
lea eax, [ebp - 0x24]
push eax
mov eax, 0x6237f895
sub eax, 0x523557c9
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x6d6f5724
add dword [ebp - 0x24], 0x7031232
mov dword [ebp - 0x20], 0x8af29143
add dword [ebp - 0x20], 0xb679d032
mov dword [ebp - 0x1c], 0x3b87c625
add dword [ebp - 0x1c], 0x27e7a647
mov dword [ebp - 0x18], 0x9a5bc445
add dword [ebp - 0x18], 0x65a43bbb
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3f7e5
push 0
call eax
mov ecx, 0xb3322917
add ecx, 0x4cce1712
xor esi, esi
add esi, eax
mov edx, 0x1003ee00
add edx, dword [ebp - 0x14]
mov ebx, 0xb4f1864b
xor dword [ebp - 0x10], eax
mov edi, dword [edx]
add dword [ebp - 8], ecx
xor edi, ebx
sub dword [ebp - 0xc], 0xc40faa82
mov dword [esi], edi
sub dword [ebp - 4], ebx
add esi, 0xd704b1df
add esi, 0x28fb4e25
add edx, 4
loop 0x10010922
add eax, 0xf377
mov ebx, eax
add eax, 0xa7910056
add eax, 0x586effaf
mov ecx, 0x3be56af5
add ecx, 0xd41a950b
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10010a25
Capabilities:
Check os version

Disassembly:
push 0x14c
mov eax, 0x10028360
call fcn.100265a9
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
xor bl, bl
call fcn.10010805
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push dword [sym.imp.MSVCR120.dll_towlower]
cmovae edx, dword [ebp - 0x28]
push edx
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x158]
push ecx
push eax
call fcn.10010805
mov edi, 0x114
lea eax, [ebp - 0x154]
push edi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x20
mov dword [ebp - 0x154], edi
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
test eax, eax
je 0x10010ad7
cmp dword [ebp - 0x150], 5
jne 0x10010ad7
cmp dword [ebp - 0x14c], ecx
jne 0x10010ad7
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10010f8c
test al, al
je 0x10010ad4
xor eax, eax
inc eax
mov bl, al
jmp 0x10010b35
xor ecx, ecx
inc ecx
and dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], cl
push eax
call fcn.100124b6
pop ecx
test al, al
je 0x10010b20
push dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.10010805
cmp eax, 0xffffffff
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
jmp 0x10010b23
xor eax, eax
inc eax
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10010805
xor eax, eax
inc eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.10010805
mov al, bl
call fcn.10026558
ret 4
Function at 0x1001388c
Capabilities:
Parse url

Disassembly:
push 8
mov eax, 0x10028622
call fcn.100265df
mov esi, ecx
mov dword [ebp - 0x14], esi
push 7
mov dword [esi], vtable.TFUrlComponents.0
xor edx, edx
pop ecx
xor eax, eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], edx
mov word [esi + 0x40], ax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], eax
xor eax, eax
mov byte [esi + 0x58], dl
mov dword [esi + 0x74], ecx
mov dword [esi + 0x70], edx
mov dword [ebp - 4], edx
mov word [esi + 0x60], ax
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], edx
mov word [esi + 0x78], ax
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xa0], edx
mov word [esi + 0x90], ax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 4], 0x3c
push 2
pop edx
mov edi, dword [eax + 0x10]
inc edi
mov byte [ebp - 4], 4
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010805
mov dword [esi + 8], eax
pop ecx
test eax, eax
je 0x10013a5c
lea ebx, [edi + edi]
mov dword [esi + 0xc], edi
push ebx
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010805
mov dword [esi + 0x14], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x18], edi
call sub.MSVCR120.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010805
mov dword [esi + 0x20], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x24], edi
call sub.MSVCR120.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010805
mov dword [esi + 0x28], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x2c], edi
call sub.MSVCR120.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010805
mov dword [esi + 0x30], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x34], edi
call sub.MSVCR120.dll_memset
add esp, 0xc
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010805
mov dword [esi + 0x38], eax
pop ecx
test eax, eax
je 0x10013a5c
push ebx
push 0
push eax
mov dword [esi + 0x3c], edi
call sub.MSVCR120.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x10013a30
mov eax, dword [eax]
lea edx, [esi + 4]
push edx
push dword [esi + 0x5c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10013a5c
mov ecx, esi
call fcn.10013aab
mov ecx, esi
call fcn.10013b7b
mov ecx, esi
call fcn.10013bf8
mov byte [esi + 0x58], 1
cmp byte [esi + 0x58], 0
jne 0x10013a7c
mov ecx, esi
call fcn.10013c6d
jmp 0x10013a7c
mov eax, esi
call fcn.10026544
ret 8
Function at 0x1001566e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x100288c5
call fcn.100265a9
mov esi, dword [ebp + 8]
xor edx, edx
mov bl, dl
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x10015691
mov eax, dword [esi]
jmp 0x10015693
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push 7
pop edi
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x830], edx
mov word [ebp - 0x840], ax
lea eax, [ebp - 0x840]
mov dword [ebp - 4], edx
push eax
call fcn.100158a9
pop ecx
test al, al
je 0x1001588e
and dword [ebp - 0x800], 0
xor eax, eax
mov dword [ebp - 0x7fc], edi
mov edi, dword [sym.imp.MSVCR120.dll_wcslen]
push 0x1002c528
mov word [ebp - 0x810], ax
call edi
pop ecx
push eax
push 0x1002c528
lea ecx, [ebp - 0x810]
call fcn.10010805
and dword [ebp - 0x7e8], 0
xor eax, eax
push str.SoftwareMicrosoftOffice_sOutlookSecurity
mov byte [ebp - 4], 1
mov dword [ebp - 0x7e4], 7
mov word [ebp - 0x7f8], ax
call edi
pop ecx
push eax
push str.SoftwareMicrosoftOffice_sOutlookSecurity
lea ecx, [ebp - 0x7f8]
call fcn.10010805
push dword [ebp - 0x800]
cmp dword [ebp - 0x7fc], 8
lea eax, [ebp - 0x810]
push 0
cmovae eax, dword [ebp - 0x810]
lea ecx, [ebp - 0x7f8]
push eax
mov byte [ebp - 4], 2
call fcn.10010805
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x840]
push ecx
push dword [ebp - 0x800]
lea ecx, [ebp - 0x7f8]
push eax
call fcn.10010805
cmp dword [ebp - 0x7e4], 8
lea ecx, [ebp - 0x848]
push ecx
push 0x20019
lea eax, [ebp - 0x7f8]
cmovae eax, dword [ebp - 0x7f8]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10015868
and dword [ebp - 0x844], eax
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x7e0]
mov dword [ebp - 0x84c], 0x7d0
push eax
lea eax, [ebp - 0x844]
push eax
push 0
push str.OutlookSecureTempFolder
push dword [ebp - 0x848]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001585c
cmp dword [ebp - 0x844], 1
jne 0x1001585c
cmp dword [ebp - 0x84c], eax
je 0x1001585c
and dword [ebp - 0x818], eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
cmp word [ebp - 0x7e0], ax
je 0x1001582a
lea eax, [ebp - 0x7e0]
push eax
call edi
pop ecx
push eax
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x828]
call fcn.10010805
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.10010805
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.10010805
mov bl, 1
push dword [ebp - 0x848]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x7f8]
mov byte [ebp - 4], 1
call fcn.10010805
push 0
push 1
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 0
call fcn.10010805
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
push 0
push 1
call fcn.10010805
mov al, bl
call fcn.10026558
ret