joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa010
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5153e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x553080]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x4aa058
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x4aa070
call fcn.004ab970
mov eax, dword [0x553080]
cmp eax, 0xffffffff
jne 0x4aa06b
xor ebx, ebx
jmp 0x4aa070
push eax
call esi
mov ebx, eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
test esi, esi
je 0x4aa08f
mov ecx, 1
lea edx, [esi + 4]
mov eax, ecx
lock xadd dword [edx], eax
lock xadd dword [edx], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
or edi, 0xffffffff
mov byte [ebp - 4], 1
test esi, esi
je 0x4aa0ca
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4aa0ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4aa0ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x14]
call fcn.004a77b0
push eax
add eax, 0x10
lea ecx, [ebx + 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.004a7b40
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 4
test esi, esi
je 0x4aa145
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4aa145
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4aa145
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 6
test esi, esi
je 0x4aa17b
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4aa17b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x4aa17b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aa4f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51549b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x50
mov dword [ebp - 0x10], 0
call fcn.00482265
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4aa5f5
mov dword [esi + 0x44], 0x51f520
add ebx, 0xffffffb4
mov dword [esi + 0x4c], vtable.boost::exception_detail::clone_base.0
push ebx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
call fcn.00434500
mov dword [esi], vtable.boost::lock_error.0
lea edi, [esi + 0x30]
mov dword [ebp - 4], 2
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x34]
mov dword [ebp - 0x18], edi
mov dword [edi + 4], ecx
test ecx, ecx
je 0x4aa58b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x38]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x44]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::lock_error__.0
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::lock_error__.1.0
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x44], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::lock_error__.2.0
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi + 0x40], eax
lea eax, [ebx + 0x30]
push eax
push edi
call fcn.00433de0
mov eax, dword [esi + 0x44]
add esp, 8
mov eax, dword [eax + 4]
add eax, 0x44
add 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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4aabf0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x553080]
cmp eax, 0xffffffff
je 0x4aac40
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4aac40
push esi
mov esi, dword [eax + 0x14]
mov eax, esi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4aac35
mov edx, dword [esp + 8]
cmp dword [ecx + 0x10], edx
jae 0x4aac22
mov ecx, dword [ecx + 8]
jmp 0x4aac26
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4aac18
cmp eax, esi
je 0x4aac35
cmp edx, dword [eax + 0x10]
jae 0x4aac37
mov eax, esi
cmp eax, esi
pop esi
je 0x4aac40
add eax, 0x14
ret
xor eax, eax
ret
Function at 0x4ab460
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515630
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x553080]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x4ab4c4
push eax
call esi
test eax, eax
mov eax, dword [0x553080]
je 0x4ab4c4
cmp eax, 0xffffffff
jne 0x4ab4b0
xor ecx, ecx
jmp 0x4ab4ba
push eax
call esi
mov ecx, eax
mov eax, dword [0x553080]
cmp byte [ecx + 0x38], 0
je 0x4ab4c4
mov cl, 1
jmp 0x4ab4c6
xor cl, cl
mov dword [ebp - 4], 0xffffffff
test cl, cl
je 0x4ab517
mov dword [ebp - 4], 1
cmp eax, 0xffffffff
je 0x4ab50a
push eax
call esi
test eax, eax
je 0x4ab50a
mov eax, dword [0x553080]
cmp eax, 0xffffffff
jne 0x4ab4f2
xor eax, eax
jmp 0x4ab4f5
push eax
call esi
push 0
push 0
push dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x4ab50a
mov al, 1
jmp 0x4ab50c
xor al, al
mov dword [ebp - 4], 0xffffffff
test al, al
jne 0x4ab527
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004aacc0
lea ecx, [eax + 0x34]
call fcn.004a96b0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x54a6dc
lea eax, [ebp - 0xd]
push eax
call fcn.004b573a
int3

Function at 0x4ab970
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515740
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.004a80a0
mov esi, eax
mov dword [ebp - 4], 0
push 0x4aa6c0
push 0x55f80c
mov dword [ebp - 0x14], esi
call fcn.004aa230
mov eax, dword [0x553080]
add esp, 8
cmp eax, 0xffffffff
je 0x4ab9d0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ac5a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515898
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x553080]
cmp eax, 0xffffffff
jne 0x4ac5d6
xor ebx, ebx
jmp 0x4ac5df
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4ac6c7
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
mov esi, eax
nop dword [eax]
mov edx, ecx
mov edi, esi
test edx, edx
jne 0x4ac610
test eax, eax
je 0x4ac6a2
test edx, edx
mov esi, eax
cmovne esi, edi
test esi, esi
je 0x4ac667
nop dword [eax + eax]
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4ac64b
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebx + 0xc]
mov esi, eax
test eax, eax
jne 0x4ac620
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x4ac600
nop dword [eax + eax]
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4ac689
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x4ac689
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.004450d0
mov ecx, dword [ebx + 0x18]
test ecx, ecx
jne 0x4ac670
jmp 0x4ac5f4
push 0x4aa6c0
push 0x55f80c
call fcn.004aa230
mov eax, dword [0x553080]
add esp, 8
cmp eax, 0xffffffff
je 0x4ac6c7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x4ac6f4
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x4ac6f4
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ac9f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x4acaa0
push 0
push 0
call fcn.004ebaa5
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4aca19
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x4aca37
cmp eax, 0xffffffff
je 0x4aca37
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x4f4012
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f37f7
Function at 0x4f401d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f3a32

Function at 0x4f4c4a
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f49d1

Function at 0x4fe6a8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fe2ad

Function at 0x4fe6b3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fe42e
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100062eb
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100062eb
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100062eb
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100062eb
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100062eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100062eb
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100062eb
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100062eb
push 0xd008
push edi
call fcn.100062eb
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100062eb
int3

Function at 0x100062eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100062fa
pop dword [ebp - 0x24]
mov eax, 0x3d7c344c
add eax, 0xd2842eae
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x34fd0
push 0
mov eax, 0x2660753e
add eax, 0xe9a0cb26
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x2f1f6564
add ecx, 0xd0e0d279
mov edi, eax
mov ebx, 0x99d46dfb
add ebx, 0x762d1805
add ebx, dword [ebp - 0x24]
mov esi, 0x3c3afcc7
mov edx, dword [ebx]
sub dword [ebp - 0x1c], 0x68d78ede
add edx, esi
xor dword [ebp - 4], ecx
mov dword [edi], edx
sub dword [ebp - 4], 0x6e344ab1
add edi, 4
add ebx, 4
loop 0x10006353
add eax, 0xd8641900
add eax, 0x279cb947
mov ebx, eax
add eax, 0x1d4c83df
sub eax, 0x1d4c83da
mov ecx, 0xe52f014b
add ecx, 0x2ad0feb5
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x401d2f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401d6e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401d6e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401d6e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401d6e
cmp dword [ecx + 0x74], 0xe
jbe 0x401d6e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42ee11
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x42ee20
pop dword [ebp - 0x3c]
mov eax, 0x1935b8a5
add eax, 0xe70d357b
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x367a2
push 0
mov eax, 0xa71dee1b
add eax, 0x59255559
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xb5f6c658
sub ecx, 0xb5f67fde
mov edx, eax
mov ebx, 0x43ce00
add ebx, dword [ebp - 0x3c]
mov edi, 0x81d43da0
add edi, 0x2ab3f3be
mov esi, dword [ebx]
xor esi, edi
xor dword [ebp - 0x20], 0xe5f05ad4
mov dword [edx], esi
mov dword [ebp - 0x30], 0x35356dd6
add edx, 0xe15df9c5
add edx, 0x1ea2063f
add ebx, 0x4ee8e373
add ebx, 0xb1171c91
loop 0x42ee79
add eax, 0x10cbb
mov ebx, eax
add eax, 0x165ff9be
add eax, 0xe9a00647
mov ecx, 0x6a6040f5
sub ecx, 0x6a2040f5
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10001bff
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c5fd
call fcn.1002b257
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
xor ebx, ebx
mov ecx, edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.10002b1a
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [ebp - 4], ebx
cmp byte [0x1003ce0b], bl
jne 0x10001c54
cmp byte [0x1003ce0a], bl
je 0x10001c90
cmp dword [edi + 0x14], 0x10
jb 0x10001c5c
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__reference_
mov edi, 0x1003c820
push edi
call fcn.1000516f
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x10001c80
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x10001c90
push edi
call fcn.10005ee0
pop ecx
push esi
call fcn.1000516f
pop ecx
mov eax, esi
call fcn.1002b220
ret 8

Function at 0x10001ca1
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c5fd
call fcn.1002b257
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.10002814
pop ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x30], cl
mov dword [ebp - 4], ecx
cmp byte [0x1003ce0b], cl
jne 0x10001cec
cmp byte [0x1003ce0a], cl
je 0x10001d29
cmp dword [edi + 0x14], 0x10
jb 0x10001cf4
mov edi, dword [edi]
push eax
push edi
push str.CMemMappedFile__s__ctor__new_with_size_lu_
mov edi, 0x1003c820
push edi
call fcn.1000516f
add esp, 0x10
cmp byte [0x1003ce0a], 0
je 0x10001d19
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x10001d29
push edi
call fcn.10005ee0
pop ecx
mov ecx, esi
call fcn.100033f0
mov eax, esi
call fcn.1002b220
ret 4

Function at 0x10001d3a
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c5fd
call fcn.1002b257
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.10002814
pop ecx
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov dword [ebp - 4], eax
cmp byte [0x1003ce0b], al
jne 0x10001d82
cmp byte [0x1003ce0a], al
je 0x10001dbe
cmp dword [edi + 0x14], 0x10
jb 0x10001d8a
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__new_
mov edi, 0x1003c820
push edi
call fcn.1000516f
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x10001dae
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x10001dbe
push edi
call fcn.10005ee0
pop ecx
mov eax, esi
call fcn.1002b220
ret
Function at 0x1000263e
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c735
call fcn.1002b257
cmp byte [0x1003ce0b], 0
mov edi, 0x1003c820
mov esi, dword [ebp + 8]
jne 0x10002664
cmp byte [0x1003ce0a], 0
je 0x10002693
push esi
push str.CMemMappedFile_CreateWithSize__size_lu_
push edi
call fcn.1000516f
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x10002683
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x10002693
push edi
call fcn.10005ee0
pop ecx
call fcn.1000516f
test al, al
je 0x100026ef
call fcn.1001c19e
test al, al
je 0x100026ef
cmp byte [0x1003ce0b], 0
jne 0x100026b7
cmp byte [0x1003ce0a], 0
je 0x100026e6
push esi
push str.CMemMappedFile::CreateWithSize__lu___REMOTE_CREATION_
push edi
call fcn.1000516f
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x100026d6
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x100026e6
push edi
call fcn.10005ee0
pop ecx
push esi
call fcn.1001bf9c
pop ecx
jmp 0x1000274c
cmp byte [0x1003ce0b], 0
jne 0x10002701
cmp byte [0x1003ce0a], 0
je 0x10002730
push esi
push str.CMemMappedFile::CreateWithSize__lu___LOCAL_CREATION_
push edi
call fcn.1000516f
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x10002720
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x10002730
push edi
call fcn.10005ee0
pop ecx
push 0x34
call fcn.1000516f
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x1000274c
push esi
call fcn.10001ca1
call fcn.1002b220
ret

Function at 0x100028bc
Capabilities:
Print debug messages

Disassembly:
push 0x28
mov eax, 0x1002c7ad
call fcn.1002b28b
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ecx
cmp byte [0x1003ce0b], bl
jne 0x100028e6
cmp byte [0x1003ce0a], bl
je 0x10002923
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x100028f0
mov eax, dword [esi]
push ecx
push eax
push str.CMemMappedFile_GetExistingMemoryMappedFile__name_s__size_lu_
mov edi, 0x1003c820
push edi
call fcn.1000516f
add esp, 0x10
cmp byte [0x1003ce0a], bl
je 0x10002914
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], bl
je 0x10002923
push edi
call fcn.10005ee0
pop ecx
push esi
call fcn.1000516f
mov edi, eax
pop ecx
test edi, edi
jne 0x10002989
push 0x34
call fcn.1000516f
mov edi, eax
pop ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], ebx
test edi, edi
je 0x1000296e
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.10002b1a
push dword [ebp - 0x30]
xor ebx, ebx
lea eax, [ebp - 0x28]
inc ebx
mov ecx, edi
push eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x2c], ebx
call fcn.10001bff
mov edi, eax
jmp 0x10002970
mov edi, ebx
test bl, 1
je 0x10002989
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10002989
inc eax
push eax
push dword [ebp - 0x28]
call fcn.1000516f
pop ecx
pop ecx
mov eax, edi
call fcn.1002b235
ret
Function at 0x100033f0
Capabilities:
Print debug messages

Disassembly:
mov al, byte [0x1003ce0b]
push esi
mov esi, ecx
push edi
mov edi, 0x1003c820
test al, al
jne 0x1000340a
cmp byte [0x1003ce0a], al
je 0x10003449
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10003415
mov eax, dword [eax]
push eax
push str.CMemMappedFile__s__createMemoryMappedFile
push edi
call fcn.1000516f
add esp, 0xc
cmp byte [0x1003ce0a], 0
je 0x10003434
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov al, byte [0x1003ce0b]
test al, al
je 0x10003449
push edi
call fcn.10005ee0
mov al, byte [0x1003ce0b]
pop ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100034e5
mov ecx, esi
call fcn.1000516f
mov dword [esi + 0x20], eax
test eax, eax
je 0x100034b9
cmp byte [0x1003ce0b], 0
jne 0x10003474
cmp byte [0x1003ce0a], 0
je 0x100034b1
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x1000347f
mov eax, dword [eax]
push dword [esi + 0x24]
push eax
push str.CMemMappedFile__s__created_file_of_size___lu
push edi
call fcn.1000516f
add esp, 0x10
cmp byte [0x1003ce0a], 0
je 0x100034a1
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x100034b1
push edi
call fcn.10005ee0
pop ecx
push esi
call fcn.1000516f
jmp 0x1000352b
cmp byte [0x1003ce0b], 0
jne 0x100034cb
cmp byte [0x1003ce0a], 0
je 0x1000352c
add esi, 4
cmp dword [esi + 0x14], 0x10
jb 0x100034d6
mov esi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
push str.CMemMappedFile__s__ERROR_CREATING__err_u_
jmp 0x10003503
test al, al
jne 0x100034f1
cmp byte [0x1003ce0a], al
je 0x1000352c
add esi, 4
cmp dword [esi + 0x14], 0x10
jb 0x100034fc
mov esi, dword [esi]
push ecx
push esi
push str.CMemMappedFile__s__ERROR_CREATING__SIZE__0_
push edi
call fcn.1000516f
add esp, 0x10
cmp byte [0x1003ce0a], 0
je 0x1000351c
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x1000352c
push edi
call fcn.10005ee0
pop ecx
pop edi
pop esi
ret

Function at 0x10003670
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x1003ce0b], 0
push esi
mov esi, ecx
jne 0x10003685
cmp byte [0x1003ce0a], 0
je 0x100036c9
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10003690
mov eax, dword [eax]
push edi
push dword [esi + 0x24]
mov edi, 0x1003c820
push eax
push str.CMemMappedFile__s__size___lu
push edi
call fcn.1000516f
add esp, 0x10
cmp byte [0x1003ce0a], 0
je 0x100036b8
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003ce0b], 0
je 0x100036c8
push edi
call fcn.10005ee0
pop ecx
pop edi
mov eax, dword [esi + 0x24]
pop esi
ret