joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403598
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4035c4
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402594
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x403603
cmp cl, 0xb
je 0x403614
cmp cl, 0xc
je 0x403625
cmp cl, 0xd
je 0x403636
cmp cl, 0xe
je 0x403656
cmp cl, 0xf
je 0x40366f
cmp cl, 0x11
je 0x403680
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402540
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00402fb8
mov eax, 4
jmp 0x403691
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403388
mov eax, 4
jmp 0x403691
lea edx, [esi + eax]
add eax, ebx
call fcn.004037fc
mov eax, 0x10
jmp 0x403691
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004036b4
pop eax
jmp 0x403691
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00403598
pop eax
jmp 0x403691
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403fc0
mov eax, 4
jmp 0x403691
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403a94
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4035b2
pop ecx
sub ecx, eax
jle 0x4036ad
lea edx, [ebx + eax]
add eax, esi
call fcn.00402594
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4036b4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x4036fa
cmp cl, 0xb
je 0x403711
cmp cl, 0xc
je 0x403725
cmp cl, 0xd
je 0x403739
cmp cl, 0xe
je 0x40375a
cmp cl, 0xf
je 0x403777
cmp cl, 0x11
je 0x40378b
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402540
mov eax, ebx
mov edx, dword [esi]
call fcn.00402fb8
add ebx, 4
add esi, 4
dec ebp
jne 0x4036fa
jmp 0x40379f
mov eax, ebx
mov edx, dword [esi]
call fcn.00403388
add ebx, 4
add esi, 4
dec ebp
jne 0x403711
jmp 0x40379f
mov eax, ebx
mov edx, esi
call fcn.004037fc
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x403725
jmp 0x40379f
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004036b4
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x403742
jmp 0x40379f
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00403598
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x40375a
jmp 0x40379f
mov eax, ebx
mov edx, dword [esi]
call fcn.00403fc0
add ebx, 4
add esi, 4
dec ebp
jne 0x403777
jmp 0x40379f
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00403a94
add ebx, 4
add esi, 4
dec ebp
jne 0x40378b
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x4037fc
Capabilities:
Get geographical location

Disassembly:
mov al, 0x10
jmp fcn.00402540
cmp eax, edx
je 0x403894
cmp word [eax], 8
jb 0x403834
push eax
push edx
cmp word [eax], 0x100
je 0x40382a
cmp word [eax], 0x101
je 0x403822
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x403832
call dword [0x4073d0]
jmp 0x403832
add eax, 8
call fcn.00402f64
pop edx
pop eax
cmp word [edx], 8
jae 0x40384b
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x403866
cmp word [edx], 0x101
jne 0x403880
push eax
call 0x40383a
pop eax
jmp dword [0x4073d8]
mov edx, dword [edx + 8]
or edx, edx
je 0x403877
mov ecx, dword [edx - 8]
inc ecx
jle 0x403877
lock inc dword [edx - 8]
mov word [eax], 0x100
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x4037b0
ret
Function at 0x403af8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x403c7c
call sub.KERNEL32.DLL_lstrcpynA
mov ebx, eax
test ebx, ebx
je 0x403b5d
push 0x403c8c
push ebx
call sub.KERNEL32.DLL_lstrlenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x403b5d
push 0x105
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0xc]
test eax, eax
je 0x403b5d
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_VirtualFree
jmp 0x403c72
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x403b9d
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x403c72
mov eax, dword [ebp - 4]
add eax, 2
call fcn.00403ae4
mov ebx, eax
cmp byte [ebx], 0
je 0x403c72
lea eax, [ebx + 1]
call fcn.00403ae4
mov ebx, eax
cmp byte [ebx], 0
je 0x403c72
jmp 0x403ba3
mov ebx, dword [ebp - 4]
add ebx, 2
mov esi, ebx
sub esi, dword [ebp - 4]
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_InitializeCriticalSection
jmp 0x403c59
lea eax, [ebx + 1]
call fcn.00403ae4
mov edi, eax
mov eax, edi
sub eax, ebx
mov edx, eax
add edx, esi
inc edx
cmp edx, 0x105
jg 0x403c72
inc eax
push eax
push ebx
lea eax, [ebp - 0x24f]
add eax, esi
push eax
call sub.KERNEL32.DLL_InitializeCriticalSection
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0xffffffff
je 0x403c72
push ebx
call sub.KERNEL32.DLL_GetCommandLineA
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
lea edx, [esi + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x403c72
mov byte [ebp + esi - 0x24f], 0x5c
lea eax, [ebp - 0x11e]
push eax
lea eax, [ebp - 0x24f]
add eax, esi
inc eax
push eax
call sub.KERNEL32.DLL_VirtualFree
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
inc eax
add esi, eax
mov ebx, edi
cmp byte [ebx], 0
jne 0x403bc1
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_VirtualFree
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_lstrcpyA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403e5c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403d01
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403e78
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403d73
xor eax, eax
push ebp
push 0x403d6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00403af8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403d55
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x403e98
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d73
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_VirtualFree
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_LocalFree
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x403e54
cmp byte [ebp - 0xd], 0
jne 0x403db5
cmp byte [ebp - 0x12], 0
je 0x403e54
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403dce
dec ebx
cmp byte [ebx], 0x2e
je 0x403ddd
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403dcd
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403e54
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403e0a
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_VirtualFree
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
test esi, esi
jne 0x403e54
cmp byte [ebp - 0xd], 0
je 0x403e54
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_VirtualFree
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
test esi, esi
jne 0x403e54
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_VirtualFree
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001c9db
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001c992
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001c992
cmp esi, ebx
jge 0x1001c992
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001c9d5
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001c9d5
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e4]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e4]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001c9ed
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x1001cc10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
mov eax, dword [ebp + 8]
je 0x1001cc38
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001cc52
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.100167e3
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10022930
leave
ret 4

Function at 0x1001ce20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1001ce56
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001ceb5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.100167e3
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100167e3
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.100167e3
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022930
leave
ret 0x10
Function at 0x1001ced0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cefc
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cf2d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cf2b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.100167e3
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cf2d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022930
leave
ret 8
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401443
pop dword [ebp - 0x24]
mov eax, 0x401443
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x3bdc18e4
add dword [ebp - 0x34], 0x12762c67
mov dword [ebp - 0x30], 0x3d12f90
add dword [ebp - 0x30], 0x2e621cb5
mov dword [ebp - 0x2c], 0x624f33d1
sub dword [ebp - 0x2c], 0x1602efa3
mov dword [ebp - 0x28], 0x3e4299a7
sub dword [ebp - 0x28], 0x3e4299a7
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x50fa47a0
add dword [ebp - 0x34], 0x237821b6
mov dword [ebp - 0x30], 0xd0f33c73
sub dword [ebp - 0x30], 0x8f86dafe
mov dword [ebp - 0x2c], 0xae6e8a8c
sub dword [ebp - 0x2c], 0x4aff1e20
mov dword [ebp - 0x28], 0xbced48e
sub dword [ebp - 0x28], 0xbced48e
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3c42d
push 0
call eax
mov ecx, 0xff3ea8ac
add ecx, 0xc1aede
xor edx, edx
add edx, eax
mov ebx, 0xd8c19c10
add ebx, 0x278377f0
add ebx, dword [ebp - 0x24]
mov esi, 0x5ee70d0d
xor dword [ebp - 8], 0xe456eb01
mov edi, dword [ebx]
add dword [ebp - 0x14], 0x22e64aa6
xor edi, esi
xor dword [ebp - 0x18], eax
mov dword [edx], edi
add dword [ebp - 8], 0xa761cb12
add edx, 0xf445d841
add edx, 0xbba27c3
add ebx, 0x17be0d13
sub ebx, 0x17be0d0f
loop 0x401552
add eax, 0x4c72910c
add eax, 0xb38ebfef
mov ebx, eax
add eax, 0x7efede39
add eax, 0x810121cc
mov ecx, 0x707b27ff
sub ecx, 0x703b27ff
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x29a051e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x29a051f8
pop dword [ebp - 0x48]
mov eax, 0xd7179d39
add eax, 0x5288b4bf
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x5cff164e
add dword [ebp - 0x58], 0xf1532efd
mov dword [ebp - 0x54], 0xcc15a6da
add dword [ebp - 0x54], 0x661da56b
mov dword [ebp - 0x50], 0xd26df91
add dword [ebp - 0x50], 0x3f25649d
mov dword [ebp - 0x4c], 0xc3969fec
sub dword [ebp - 0x4c], 0xc3969fec
lea eax, [ebp - 0x58]
push eax
mov eax, 0x37a6b79
sub eax, 0xd9d92aed
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x12d66346
add dword [ebp - 0x58], 0x619c0610
mov dword [ebp - 0x54], 0x4454f049
add dword [ebp - 0x54], 0xfd17712c
mov dword [ebp - 0x50], 0x5b6a2b5a
add dword [ebp - 0x50], 0x8054112
mov dword [ebp - 0x4c], 0xe4135e87
add dword [ebp - 0x4c], 0x1beca179
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x5aab8bf3
add eax, 0xcef5b451
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x39194
push 0
call eax
mov ecx, 0x42f7
xor edi, edi
add edi, eax
mov ebx, 0xf34a6b2b
sub ebx, 0xc9a84b2b
add ebx, dword [ebp - 0x48]
mov edx, 0x80ab54a2
add edx, 0x78badb4b
add dword [ebp - 0x30], 0x85134ca2
mov esi, dword [ebx]
add dword [ebp - 0x3c], ecx
xor esi, edx
add dword [ebp - 0x10], edx
mov dword [edi], esi
sub dword [ebp - 0x2c], 0x7acc9815
add edi, 4
add ebx, 0x3b3720b3
sub ebx, 0x3b3720af
loop 0x29a05316
add eax, 0xaabbca6c
sub eax, 0xaabacbbd
xor ebx, ebx
add ebx, eax
add eax, 0xd414d9ea
sub eax, 0xd414d9e5
mov ecx, 0x2f023001
sub ecx, 0x5623001
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10001c05
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c674
call fcn.1002b067
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.10002b37
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 [0x1003cdfb], bl
jne 0x10001c5a
cmp byte [0x1003cdfa], bl
je 0x10001c96
cmp dword [edi + 0x14], 0x10
jb 0x10001c62
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__reference_
mov edi, 0x1003c818
push edi
call fcn.1002bcdf
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10001c86
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10001c96
push edi
call fcn.10005eb0
pop ecx
push esi
call fcn.1002bcdf
pop ecx
mov eax, esi
call fcn.1002b030
ret 8

Function at 0x10001ca7
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c674
call fcn.1002b067
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.1000282f
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 [0x1003cdfb], cl
jne 0x10001cf2
cmp byte [0x1003cdfa], cl
je 0x10001d2f
cmp dword [edi + 0x14], 0x10
jb 0x10001cfa
mov edi, dword [edi]
push eax
push edi
push str.CMemMappedFile__s__ctor__new_with_size_lu_
mov edi, 0x1003c818
push edi
call fcn.1002bcdf
add esp, 0x10
cmp byte [0x1003cdfa], 0
je 0x10001d1f
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10001d2f
push edi
call fcn.10005eb0
pop ecx
mov ecx, esi
call fcn.100033f0
mov eax, esi
call fcn.1002b030
ret 4

Function at 0x10001d40
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c674
call fcn.1002b067
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.1000282f
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 [0x1003cdfb], al
jne 0x10001d88
cmp byte [0x1003cdfa], al
je 0x10001dc4
cmp dword [edi + 0x14], 0x10
jb 0x10001d90
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__new_
mov edi, 0x1003c818
push edi
call fcn.1002bcdf
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10001db4
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10001dc4
push edi
call fcn.10005eb0
pop ecx
mov eax, esi
call fcn.1002b030
ret
Function at 0x10002659
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002c7a2
call fcn.1002b067
cmp byte [0x1003cdfb], 0
mov edi, 0x1003c818
mov esi, dword [ebp + 8]
jne 0x1000267f
cmp byte [0x1003cdfa], 0
je 0x100026ae
push esi
push str.CMemMappedFile_CreateWithSize__size_lu_
push edi
call fcn.1002bcdf
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1000269e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x100026ae
push edi
call fcn.10005eb0
pop ecx
call fcn.1002bcdf
test al, al
je 0x1000270a
call fcn.1001be5e
test al, al
je 0x1000270a
cmp byte [0x1003cdfb], 0
jne 0x100026d2
cmp byte [0x1003cdfa], 0
je 0x10002701
push esi
push str.CMemMappedFile::CreateWithSize__lu___REMOTE_CREATION_
push edi
call fcn.1002bcdf
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x100026f1
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10002701
push edi
call fcn.10005eb0
pop ecx
push esi
call fcn.1001bc5c
pop ecx
jmp 0x10002767
cmp byte [0x1003cdfb], 0
jne 0x1000271c
cmp byte [0x1003cdfa], 0
je 0x1000274b
push esi
push str.CMemMappedFile::CreateWithSize__lu___LOCAL_CREATION_
push edi
call fcn.1002bcdf
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1000273b
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1000274b
push edi
call fcn.10005eb0
pop ecx
push 0x34
call fcn.1002bcdf
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 4], eax
test ecx, ecx
je 0x10002767
push esi
call fcn.10001ca7
call fcn.1002b030
ret

Function at 0x100028d9
Capabilities:
Print debug messages

Disassembly:
push 0x28
mov eax, 0x1002c80c
call fcn.1002b09b
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 [0x1003cdfb], bl
jne 0x10002903
cmp byte [0x1003cdfa], bl
je 0x10002940
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1000290d
mov eax, dword [esi]
push ecx
push eax
push str.CMemMappedFile_GetExistingMemoryMappedFile__name_s__size_lu_
mov edi, 0x1003c818
push edi
call fcn.1002bcdf
add esp, 0x10
cmp byte [0x1003cdfa], bl
je 0x10002931
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], bl
je 0x10002940
push edi
call fcn.10005eb0
pop ecx
push esi
call fcn.1002bcdf
mov edi, eax
pop ecx
test edi, edi
jne 0x100029a6
push 0x34
call fcn.1002bcdf
mov edi, eax
pop ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], ebx
test edi, edi
je 0x1000298b
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.10002b37
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.10001c05
mov edi, eax
jmp 0x1000298d
mov edi, ebx
test bl, 1
je 0x100029a6
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100029a6
inc eax
push eax
push dword [ebp - 0x28]
call fcn.1002bcdf
pop ecx
pop ecx
mov eax, edi
call fcn.1002b045
ret
Function at 0x100033f0
Capabilities:
Print debug messages

Disassembly:
mov al, byte [0x1003cdfb]
push esi
mov esi, ecx
push edi
mov edi, 0x1003c818
test al, al
jne 0x1000340a
cmp byte [0x1003cdfa], 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.1002bcdf
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10003434
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov al, byte [0x1003cdfb]
test al, al
je 0x10003449
push edi
call fcn.10005eb0
mov al, byte [0x1003cdfb]
pop ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100034e5
mov ecx, esi
call fcn.1002bcdf
mov dword [esi + 0x20], eax
test eax, eax
je 0x100034b9
cmp byte [0x1003cdfb], 0
jne 0x10003474
cmp byte [0x1003cdfa], 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.1002bcdf
add esp, 0x10
cmp byte [0x1003cdfa], 0
je 0x100034a1
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x100034b1
push edi
call fcn.10005eb0
pop ecx
push esi
call fcn.1002bcdf
jmp 0x1000352b
cmp byte [0x1003cdfb], 0
jne 0x100034cb
cmp byte [0x1003cdfa], 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 [0x1003cdfa], 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.1002bcdf
add esp, 0x10
cmp byte [0x1003cdfa], 0
je 0x1000351c
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1000352c
push edi
call fcn.10005eb0
pop ecx
pop edi
pop esi
ret

Function at 0x10003670
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x1003cdfb], 0
push esi
mov esi, ecx
jne 0x10003685
cmp byte [0x1003cdfa], 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, 0x1003c818
push eax
push str.CMemMappedFile__s__size___lu
push edi
call fcn.1002bcdf
add esp, 0x10
cmp byte [0x1003cdfa], 0
je 0x100036b8
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x100036c8
push edi
call fcn.10005eb0
pop ecx
pop edi
mov eax, dword [esi + 0x24]
pop esi
ret