joyce8/EMBER2024-capa huggingface dataset:
Function at 0x529945
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0055ce35
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x529a68
push ecx
lea ecx, [esi + 0x18]
call 0x549165
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x529a7f
push ecx
lea ecx, [esi + 0x24]
call fcn.00549075
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x52f33b
Capabilities:
Encode data using xor

Disassembly:
lcall 0x65ab, 0xaf14a52c
in eax, dx
cmpsb byte [esi], byte es:[edi]
std
aad 0x9b
aam 0xf2
sbb dword [ebx - 0x7bba3e06], esp
fnstcw word [ecx]
pop ebp
stosd dword es:[edi], eax
sbb ah, byte [ebp + 0x4ccb276d]
cmp ebx, dword [0x2ba3b]
sbb eax, 0x2ba3b
xor ch, bh
leave
lodsd eax, dword [esi]
inc esp
lodsb al, byte [esi]
xor al, 0xd0
std
mov al, byte [0xd87ae98b]
scasb al, byte es:[edi]
inc edi
jg 0x52f35a
nop
lodsb al, byte [esi]
mov eax, dword [0x7fb4cc96]
adc eax, 0x1c2aab6a
popal
inc ebx
lcall 0x5d9f, 0x3741a580
mov ah, 0x9f
mov dword [eax - 0xc], ecx
push edx
pushfd
jmp 0x52f3b0
stc
dec ebx
jp 0x52f407
dec edx
push 0xffffffffffffffed
cli
lodsd eax, dword [esi]
insd dword es:[edi], dx
lodsd eax, dword [esi]
invalid
mov esp, 0x5ba63a2e
outsd dx, dword [esi]
idiv dword [ecx + 0x2d]
push ecx
sub edi, dword [esi - 0x28]
Function at 0x55c6b5
Capabilities:
Encode data using xor

Disassembly:
pop esp
mov cl, 0xa
or byte [eax], bl
pop edi
invalid
lea ebp, [eax + 0x347c2adf]
mov al, 0x7a
add eax, 0xeb653974
inc bx
mov edi, 0xf45218d4
pop edx
insd dword es:[edi], dx
stosd dword es:[edi], eax
mov dword ds:[esi], ebp
insb byte es:[edi], dx
sti
xor eax, 0x4eb5ae2
aad 0xaa
invalid
jnp 0x55c554
daa
sbb eax, 0x804f4e62
mov esi, dword [edi + 0x381a9d79]
cld
mov dword [edx], esi
dec eax
arpl word [edx], cx
sbb edx, dword [ebx]
jne 0x55c5e3
sub al, 0x10
daa
inc edi
jns 0x55c580
xchg esp, eax
sti
sub al, 0xe0
invalid
in al, dx
mov dl, 0x79
push ds
sub al, 0x79
jl 0x55c5c5
adc dword [esi + 0x18], ebp
mov edi, 0xb2577d6
cmp eax, 0xa66e4c1f
mov word [edx + 1], ss
push ebx
lahf
mov ds, word [edx + 0x6a]
sti
add al, 0xdc
and al, 0x17
movlps qword [edi - 0x65], xmm5
sub byte [ecx - 3], ah
jmp 0x55c661
mov edx, dword [ecx]
movsb byte es:[edi], byte [esi]
scasb al, byte es:[edi]
sbb esi, dword [ebx]
imul ecx, dword [ebp + 0x3b], 0x34
sbb ch, byte [edi + 0x2b]
aam 0x30
inc eax
leave
loop 0x55c5f4
outsd dx, dword [esi]
retf
rcr byte [edx + 0x3cc6e4d1], cl
jmp 0x6ec2cbd8
stc
pop edx
jp 0x55c6cf
cmp dh, byte [edi]
pushal
sbb dl, bl
sub al, 0x4c
push 0xffffffffffffff9b
in eax, dx
invalid
mov dword [0x2d7cb82a], eax
inc esp
fsubr st(0)
dec ebp
xchg ebx, eax
jns 0x55c637
out dx, eax
retf 0x137d
mov al, 0x5d
insb byte es:[edi], dx
adc dh, byte [ebp + 0x3c]
or ch, byte [ebp - 0x39]
sub al, 0xca
out dx, eax
pop edx
and al, 0xb
dec edx
push esi
test byte [ebp - 0x5b], bh
cmp dword [edi + ecx*8 + 0x3c23afda], 0x40
cmp al, 0x40
jl 0x55c673
dec ebp
pop ecx
add byte [edx + 0x56], dh
or edi, dword [ebp - 0x20b4e05d]
stosb byte es:[edi], al
jnp 0x55c6ab
adc eax, 0xe6e5fcdb
or ah, byte [esi - 0x35536f75]
jge 0x55c746
adc eax, 0x5b902580
xchg dword [edi + 0x78], ebx
pop esp
mov esi, 0x9d35cc6e
stosb byte es:[edi], al
or eax, 0xa97a0e3e
pop eax
out 0xb7, eax
fsubr dword [ebp + 0x3c]
adc dl, dl
mov ebp, 0xcf07f084
loop 0x55c6a3
aad 0x47
invalid
hlt
Function at 0x572ad5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47262f
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], edx
mov eax, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], eax
mov esi, dword [ebp + 8]
mov edi, esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], 0
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x138], ecx
jb 0x572b3c
mov edi, dword [esi]
cmp dword [edx + 0x14], 0x10
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edx
jb 0x572b59
mov ecx, dword [edx]
mov dword [ebp - 0x130], ecx
cmp dword [edx + 0x10], 0
jbe 0x572bc2
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.005bbaa5
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, edi
cmp edi, ecx
je 0x572b95
nop dword [eax]
movzx eax, byte [edi]
inc edi
mov byte [ebp + eax - 0x128], 1
cmp edi, ecx
jne 0x572b85
mov edx, dword [ebp - 0x130]
mov edi, edx
mov ecx, dword [ebp - 0x134]
add ecx, edx
cmp edx, ecx
jae 0x572bbc
movzx eax, byte [edi]
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x572c16
inc edi
cmp edi, ecx
jb 0x572ba9
mov eax, dword [ebp - 0x12c]
xorps xmm0, xmm0
mov ecx, eax
push 0
movups xmmword [eax], xmm0
push 0x491667
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.005a6445
mov dword [ebp - 4], 0
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ba321
mov esp, ebp
pop ebp
ret
sub edi, edx
cmp edi, 0xffffffff
je 0x572bbc
cmp dword [esi + 0x14], 0x10
jb 0x572c25
mov esi, dword [esi]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], ecx
cmp dword [ecx + 0x14], 0x10
jb 0x572c3f
mov eax, dword [ecx]
mov dword [ebp - 0x130], eax
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.005bbaa5
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, esi
cmp esi, ecx
je 0x572c75
nop dword [eax]
movzx eax, byte [esi]
inc esi
mov byte [ebp + eax - 0x128], 1
cmp esi, ecx
jne 0x572c65
mov eax, dword [ebp - 0x134]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x130]
dec eax
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + edx]
add ecx, edx
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x572cb3
cmp ecx, edx
je 0x572d2a
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x128]
test al, al
jne 0x572c9b
sub ecx, edx
sub ecx, edi
lea eax, [ebp - 0x28]
inc ecx
push ecx
mov ecx, dword [ebp - 0x13c]
push edi
push eax
call fcn.00591a15
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x140], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.005a6575
mov eax, esi
jmp 0x572bfb
or ecx, 0xffffffff
jmp 0x572cb5
Function at 0x572f55
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005a6445
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x573078
push ecx
lea ecx, [esi + 0x18]
call fcn.00592775
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x57308f
push ecx
lea ecx, [esi + 0x24]
call fcn.00592685
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5bc8b5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005efda5
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x5bc9d8
push ecx
lea ecx, [esi + 0x18]
call fcn.005dc0d5
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x5bc9ef
push ecx
lea ecx, [esi + 0x24]
call fcn.005dbfe5
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5c207b
Capabilities:
Encode data using xor

Disassembly:
aaa
mov byte [0xe93121ce], al
cwde
rol dword [ebp + 0x3aa9ac2f], cl
sub dword [edi], 0x87a659e6
and ecx, edi
dec eax
in eax, dx
pop ecx
das
in al, dx
popal
xor dword [esi - 0x38c4f26e], eax
adc eax, 0xd6378bc6
and ebx, ebx
push esp
mov dh, 0x50
and al, 0x6b
jb 0x5c2087
cmp al, byte [ecx - 0x59a619d1]
xchg dword [ebx], esp
iretd
stosd dword es:[edi], eax
fisub dword [ecx - 0x64914161]
xchg edx, eax
add al, 0xac
push esp
pushal
inc esi
dec edi
or eax, ecx
sub byte [esi], al
sub ecx, eax
pop ss
inc edi
add byte [edi], 0x41
sbb eax, 0x9881dfa0
xor eax, 0x7256c847
aaa
mov eax, dword [si - 0x61]
push esi
xlatb
out 0x50, eax
push eax
xlatb
sub dword [edi + 0x66ccf4d2], ecx
mov ecx, 0x38472a19
jne 0x5c20db
int3
das
lahf
ja 0x5c20bc
xchg dword [0xeede09f7], esp
lodsd eax, dword [esi]
inc esi
fdivr st(7), st(0)
xchg edx, eax
mov byte [0xa71e72c3], al
rcr edi, 0x63
sti
mov bl, 0x74
adc edx, dword [0xd5847fbc]
out 0x7f, eax
sar byte [edx + 0x6a], cl
mov word [edi], ss
jne 0x5c20e5
jnp 0x5c20e8
imul ecx, ecx, 0x57
js 0x5c20d5
out 0x38, eax
xchg byte [edi], ah
inc ebx
invalid

Function at 0x625665
Capabilities:
Check for vm using instruction vpcext

Disassembly:
pop ss
mov ebx, 0x9defdf10
inc ecx
mov edx, 0x8b52103d
pop ds
dec edi
dec edi
movsx esi, word [esi + 0x43d30aaa]
in eax, dx
sub bl, dl
popal
outsd dx, dword [esi]
jg 0x625674
invalid
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.10011cb8
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.10011cb8
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.10011cb8
or dword [ebp - 4], 0xffffffff
pop ecx
push 0
push 1
lea ecx, [esi + 4]
call fcn.10011cb8
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.10011cb8
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.10011cb8
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.10011cb8
jmp 0x1000207d
call fcn.100196ae
test al, al
je 0x10002031
push edi
call fcn.10011cb8
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.10011cb8
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.10011cb8
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.10011cb8
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.10011cb8
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.10011cb8
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.10011cb8
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