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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0x10], 0x63ab654d
mov dword [esp + 0x14], 0x6ff061f2
mov dword [esp + 0x18], 0x6b836da2
mov dword [esp + 0x1c], 0x178769f6
mov dword [esp + 0x20], 0x13f0153d
mov dword [esp + 0x24], 0x1ff811ee
mov dword [esp + 0x28], 0x1b8e1d85
mov dword [esp + 0x2c], 0x7f319f6
mov dword [esp + 0x30], 0x3ea0598
mov dword [esp + 0x34], 0xf9e0195
mov dword [esp + 0x38], 0xbe80de2
mov dword [esp + 0x3c], 0x379609fa
mov dword [esp + 0x40], 0x33de35a7
mov dword [esp + 0x44], 0x3fa431a5
mov dword [esp + 0x48], 0x3ba13dd5
mov word [esp + 0x4c], 0x393a
mov dword [esp + 0x4e], 0
mov dword [esp + 0x52], 0
mov dword [esp + 0x55], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x6c]
cmp eax, 0x48
ja 0x41d577
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0x7d826831
add ecx, 0x7d826831
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0xa9
mov ecx, dword [esp + 0x6c]
mov byte [esp + ecx + 0x10], al
mov eax, dword [esp + 0x6c]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
cmp eax, 0x49
jb 0x41d530
movzx ecx, word [esp + 0x10]
lea esi, [esp + 0x6c]
mov eax, esi
test cx, cx
je 0x41d5a1
lea eax, [esp + 0x6c]
lea edx, [esp + 0x12]
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d590
mov word [eax], 0
lea edi, [esp + 0xc]
push edi
push 0
push 0
push 0x1e
push esi
push 0
call dword [0x23720ac]
mov ebx, dword [esp + 0xc]
test ebx, ebx
jns 0x41d5c9
mov eax, 0xffffffff
jmp 0x41d5cc
lea eax, [ebx + ebx]
push eax
call fcn.00409640
add esp, 4
push edi
push ebx
mov ebx, eax
push eax
push 0x1e
push esi
push 0
call dword [0x23720ac]
mov dword [esp + 0x10], 0x6bf26d80
mov dword [esp + 0x14], 0x67f469e5
mov dword [esp + 0x18], 0x63ff65f8
mov dword [esp + 0x1c], 0x1f8061ee
mov dword [esp + 0x20], 0x1b941d85
mov dword [esp + 0x24], 0x17161984
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2f], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x22
ja 0x41d67b
nop
nop
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
movzx edx, byte [esp + eax + 0x10]
lea edi, [ecx + 0xb2]
and edi, edx
mov eax, 0x4d
sub eax, ecx
or eax, edx
not eax
add eax, edx
sub eax, edi
add al, 0x22
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x23
jb 0x41d640
lea eax, [esp + 0x10]
push eax
mov esi, ebx
push ebx
push dword [ebp + 8]
call fcn.00419720
add esp, 0xc
mov ebx, eax
jmp dword [0x236cbd0]
Function at 0x42f8b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], 0x23752d09
mov dword [esp + 0x34], 0x275121a9
mov dword [esp + 0x38], 0x3b5f2550
mov dword [esp + 0x3c], 0x3f7a3945
mov dword [esp + 0x40], 0x334b3d4a
mov dword [esp + 0x44], 0x375331ba
mov dword [esp + 0x48], 0x4b4a3511
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
cmp eax, 0x23
ja 0x42f958
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
movzx edx, byte [esp + eax + 0x30]
lea eax, [ecx + edx]
add eax, 0xd7ede9a6
add ecx, 0xd7ede9a6
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x76
mov ecx, dword [esp + 0x14]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, 0x24
jb 0x42f920
movzx ecx, word [esp + 0x30]
lea eax, [esp + 0x14]
test cx, cx
je 0x42f981
lea edx, [esp + 0x32]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x42f970
mov word [eax], 0
lea eax, [esp + 0x6c]
lea ebx, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
push 8
push ebx
push 0xd
push ecx
push 0
call dword [0x23720ac]
mov ecx, dword [0x236f6d4]
mov edx, 0xf3cbfe82
xor edx, dword [0x236f6d8]
add ecx, edx
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx

Function at 0x432780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x2b0
mov dword [esp + 0xa0], 0xab10a514
mov dword [esp + 0xa4], 0xaf04a90e
mov dword [esp + 0xa8], 0xb35ead02
mov dword [esp + 0xac], 0xb71cb116
mov dword [esp + 0xb0], 0xbbb4b51a
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov word [esp + 0xc0], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x21
ja 0x43283b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
add al, 0xc5
xor al, byte [esp + ecx + 0xa0]
add al, 0x9d
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0xa0], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x22
jb 0x432810
lea esi, [esp + 0xa0]
push esi
call fcn.004343a0
add esp, 4
mov ecx, eax
mov dword [0x2372708], eax
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x236fbac]
mov edx, 0x78385de6
xor edx, dword [0x236fbb4]
add edx, eax
inc edx
xor eax, eax
jmp edx
Function at 0x435580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x5c]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + edi + 2], 0
lea edi, [edi + 2]
jne 0x4355a0
cmp edi, 0xfffffff5
jge 0x4355b7
mov eax, 0xffffffff
jmp 0x4355ba
lea eax, [edi + 0xa]
push eax
call fcn.00409640
add esp, 4
mov esi, eax
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
add eax, 8
movzx ecx, word [ebp]
test cx, cx
je 0x435602
add ebp, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x4355f0
mov word [eax], 0
and edi, 0xfffffffe
lea eax, [edi + 8]
mov word [esp + 0x18], ax
add edi, 0xa
mov word [esp + 0x1a], di
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0x40
lea eax, [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [0x23722c0]
mov edi, 0xffffffff
test ecx, ecx
je 0x435744
mov eax, dword [0x23722c4]
add eax, 8
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0xb1cf12ba
je 0x435684
add eax, 0xc
dec ecx
jne 0x435670
jmp 0x435744
mov byte [esp + 0x14], 0
mov dword [esp + 0x10], 0x900000c2
mov dword [esp + 0xc], 0xd2ff0000
mov dword [esp + 8], 0xba00
mov dword [esp + 4], 0xb8
mov eax, dword [eax]
mov dword [esp + 5], eax
mov eax, dword [0x23722c8]
mov dword [esp + 0xa], eax
mov word [esp + 0x11], 0x2c
mov dword [esp], 0
mov dword [esp + 0x24], 0x10
lea eax, [esp + 0x24]
mov ebp, esp
push 0x40
push 0x3000
push eax
push 0
push ebp
push 0xffffffffffffffff
call dword [0x23722cc]
mov edi, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea ecx, [esp + 0x40]
lea eax, [esp + 0x28]
push 0
push 0
push ebx
push dword [esp + 0x78]
push dword [esp + 0x78]
push 0x80
push 0
push ecx
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
push 0x8000
push eax
push ebp
push 0xffffffffffffffff
call dword [0x23722d0]
push esi
call fcn.00409650
add esp, 4
mov eax, edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4da5e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xaf000]
push edi
jmp 0x4da5fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4da601
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4da5f0
mov eax, 1
add ebx, ebx
jne 0x4da613
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4da624
jne 0x4da643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4da643
dec eax
add ebx, ebx
jne 0x4da630
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4da608
add ebx, ebx
jne 0x4da63f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4da695
xor ecx, ecx
sub eax, 3
jb 0x4da65b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4da6ca
sar eax, 1
mov ebp, eax
jmp 0x4da666
add ebx, ebx
jne 0x4da666
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4da634
inc ecx
add ebx, ebx
jne 0x4da674
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4da634
add ebx, ebx
jne 0x4da681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4da676
jne 0x4da692
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4da676
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4da6b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4da6a6
jmp 0x4da5f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4da6b4
add edi, ecx
jmp 0x4da5f6
pop esi
mov edi, esi
mov ecx, 0x5ef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4da6d2
cmp byte [edi], 7
jne 0x4da6d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4da6d7
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4da74f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xec468]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xec540]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4da704
mov ecx, edi
jns 0x4da733
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xec548]
or eax, eax
je 0x4da749
mov dword [ebx], eax
add ebx, 4
jmp 0x4da721
call dword [esi + 0xec544]
mov ebp, dword [esi + 0xec54c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4da783
sub esp, 0xffffff80
jmp 0x40f470
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x6b166a9f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3b14273d
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100019a6
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
mov ecx, edi
call fcn.10007116
mov eax, dword [ebp + 0xc]
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], 1
mov dword [ebp - 4], ecx
cmp byte [0x10036ee8], cl
je 0x10001a1a
cmp dword [edi + 0x14], 0x10
jb 0x100019f5
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__reference_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001a1a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call fcn.10007116
pop ecx
mov eax, esi
call fcn.10026544
ret 8

Function at 0x10001a2b
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.100021f9
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 [0x10036ee8], cl
je 0x10001a9c
cmp dword [edi + 0x14], 0x10
jb 0x10001a76
mov edi, dword [edi]
push eax
push edi
push str.CMemMappedFile__s__ctor__new_with_size_lu_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
cmp byte [0x10036ee8], 0
je 0x10001a9c
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.10002e0d
mov eax, esi
call fcn.10026544
ret 4

Function at 0x10001aad
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x100276db
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.100021f9
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 [0x10036ee8], al
je 0x10001b1a
cmp dword [edi + 0x14], 0x10
jb 0x10001af5
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__new_
mov edi, 0x100368d8
push edi
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
cmp byte [0x10036ee8], 0
je 0x10001b1a
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, esi
call fcn.10026544
ret
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.10007116
or dword [ebp - 4], 0xffffffff
pop ecx
push 0
push 1
lea ecx, [esi + 4]
call fcn.10007116
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.10007116
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.10007116
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.10007116
jmp 0x1000207d
call fcn.100196ae
test al, al
je 0x10002031
push edi
call fcn.10007116
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.10007116
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.10007116
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.10007116
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.10007116
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.10007116
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.10007116
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