joyce8/EMBER2024-capa huggingface dataset:
Function at 0xac921e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0xac92bb
push ebx
push esi
call fcn.00ac91e7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00ac8178
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0xac9268
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xac92ba
push edi
push eax
call fcn.00ac5dc6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0xac9288
call fcn.00ac3c11
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xac92b9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00ac8178
add esp, 0x20
test eax, eax
jne 0xac92a7
push edi
call fcn.00ac3c11
jmp 0xac92af
push ebx
call fcn.00ac3c11
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0xacbadb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00ac2b0f
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xacbb4a
cmp esi, dword [ebp - 4]
je 0xacbb45
cmp dword [ebp + 0xc], 0
je 0xacbb45
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0xacbb22
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00acb62d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0xacbb4c
xor eax, eax
inc eax
jmp 0xacbb4c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0xacbbb1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xadb080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00ac2b0f
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00ac2b0f
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0xacbc28
cmp word [ecx], dx
je 0xacbc28
mov eax, dword [0xad4a64]
push edi
dec eax
push eax
push 0xad4950
call fcn.00acbb50
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0xacbc9b
cmp word [eax], dx
je 0xacbc9b
mov eax, dword [edi]
test eax, eax
je 0xacbc4c
cmp word [eax], dx
je 0xacbc4c
lea eax, [ebp - 0x10]
push eax
call fcn.00acb533
jmp 0xacbc55
lea eax, [ebp - 0x10]
push eax
call fcn.00acb5ce
cmp dword [ebp - 0x10], 0
pop ecx
jne 0xacbcc5
mov eax, dword [0xad494c]
push dword [ebp - 0x14]
dec eax
push eax
push 0xad4640
call fcn.00acbb50
add esp, 0xc
test al, al
je 0xacbcc5
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0xacbc90
cmp word [eax], di
je 0xacbc90
lea eax, [ebp - 0x10]
push eax
call fcn.00acb533
pop ecx
jmp 0xacbcc7
lea eax, [ebp - 0x10]
push eax
call fcn.00acb5ce
jmp 0xacbc8d
mov eax, dword [edi]
test eax, eax
je 0xacbcb2
cmp word [eax], dx
je 0xacbcb2
lea eax, [ebp - 0x10]
push eax
call fcn.00acb4e8
pop ecx
jmp 0xacbcc5
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0xacbd90
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00acb9d5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0xacbd90
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0xacbd90
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0xacbd90
mov eax, dword [ebp - 0x18]
test eax, eax
je 0xacbd1d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00ac4823
test ebx, ebx
je 0xacbd8b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00ac4823
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xacbd90
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xacbd90
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00ace1c2
add esp, 0x10
xor eax, eax
inc eax
jmp 0xacbd92
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab8126
leave
ret
Function at 0xace61f
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00ace59b
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xace78e
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xace78e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xace743
jg 0xace67b
test eax, eax
je 0xace739
push 1
push 0x1000
call fcn.00ac418f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xace69e
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0xace730
push 0x8000
push ebx
call fcn.00ac0013
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0xace6c7
jg 0xace6c2
cmp ecx, 0x1000
jb 0xace6c7
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00ac39f5
add esp, 0x10
cmp eax, 0xffffffff
je 0xace70c
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0xace6c2
jl 0xace6f3
test ecx, ecx
jne 0xace6b4
push dword [ebp - 0xc]
push ebx
call fcn.00ac0013
push esi
call fcn.00ac3c11
add esp, 0xc
xor ebx, ebx
jmp 0xace79c
cmp byte [edi + 0x24], 0
je 0xace723
cmp dword [edi + 0x20], 5
jne 0xace723
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xace72e
mov ebx, dword [edi + 0x18]
jmp 0xace730
xor ebx, ebx
push esi
call fcn.00ac3c11
pop ecx
jmp 0xace79c
test ecx, ecx
jg 0xace705
jl 0xace743
test eax, eax
jae 0xace705
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00ac5d68
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xace763
cmp byte [edi + 0x1c], 0
je 0xace705
jmp 0xace794
push ebx
call fcn.00ac9aac
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xace705
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0xace79c
cmp byte [edi + 0x1c], 0
je 0xace799
mov ebx, dword [edi + 0x18]
jmp 0xace79c
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00ac5d68
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0xacfa90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xacfabd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xacfabd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x45cad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32000]
push edi
or ebp, 0xffffffff
jmp 0x45caf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45caf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45cae8
mov eax, 1
add ebx, ebx
jne 0x45cb0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45cb00
jne 0x45cb1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cb00
xor ecx, ecx
sub eax, 3
jb 0x45cb30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45cba2
mov ebp, eax
add ebx, ebx
jne 0x45cb3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45cb48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45cb6c
inc ecx
add ebx, ebx
jne 0x45cb58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45cb4d
jne 0x45cb69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cb4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45cb8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45cb7d
jmp 0x45caee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45cb8c
add edi, ecx
jmp 0x45caee
pop esi
mov edi, esi
mov ecx, 0x1f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45cbaa
cmp byte [edi], 0
jne 0x45cbaa
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 0x45cbaf
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45cc1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5c22c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5c298]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45cbdc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5c2a0]
or eax, eax
je 0x45cc18
mov dword [ebx], eax
add ebx, 4
jmp 0x45cbf9
call dword [esi + 0x5c29c]
mov ebp, dword [esi + 0x5c2a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x45cc52
sub esp, 0xffffff80
jmp 0x401870
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x408313
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x408322
pop dword [ebp - 0x38]
mov eax, 0x408322
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x8d02c10e
sub dword [ebp - 0x48], 0x3eb07bc3
mov dword [ebp - 0x44], 0xb97d1b25
add dword [ebp - 0x44], 0x78b63120
mov dword [ebp - 0x40], 0x9012c73c
sub dword [ebp - 0x40], 0x43c6830e
mov dword [ebp - 0x3c], 0x2cb3b38b
add dword [ebp - 0x3c], 0xd34c4c75
lea eax, [ebp - 0x48]
push eax
mov eax, 0xdbe1c779
add eax, 0x245f08d3
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x5862512c
sub dword [ebp - 0x48], 0xe3efe7d6
mov dword [ebp - 0x44], 0xc8315510
add dword [ebp - 0x44], 0x793b0c65
mov dword [ebp - 0x40], 0x8080b826
add dword [ebp - 0x40], 0xe2eeb446
mov dword [ebp - 0x3c], 0x9fdf4d78
sub dword [ebp - 0x3c], 0x9fdf4d78
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xd84b771a
add eax, 0x27f5592e
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x35113
push 0
call eax
mov ecx, 0xe4a11a31
add ecx, 0x1b5f1c4b
mov edi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x38]
mov esi, 0x9a5fe007
add esi, 0x77e8b7c2
xor dword [ebp - 0x34], eax
mov ebx, dword [edx]
xor dword [ebp - 0x1c], eax
sub ebx, esi
xor dword [ebp - 0x24], eax
mov dword [edi], ebx
xor dword [ebp - 0x18], edx
add edi, 4
add edx, 0xa23d28a9
add edx, 0x5dc2d75b
loop 0x408439
add eax, 0xccc3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2878aff3
add ecx, 0xd7c7500d
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x101ae60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x1016015
lea edi, [esi - 0x15015]
push edi
jmp 0x101ae7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101ae81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101ae70
mov eax, 1
add ebx, ebx
jne 0x101ae93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x101ae88
jne 0x101aea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101ae88
xor ecx, ecx
sub eax, 3
jb 0x101aeb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101af2a
mov ebp, eax
add ebx, ebx
jne 0x101aec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x101aed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x101aef4
inc ecx
add ebx, ebx
jne 0x101aee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101aed5
jne 0x101aef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101aed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101af14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x101af05
jmp 0x101ae76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101af14
add edi, ecx
jmp 0x101ae76
pop esi
mov edi, esi
mov ecx, 0x2f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101af32
cmp byte [edi], 1
jne 0x101af32
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 0x101af37
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x101afaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1af40]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b034]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101af64
mov ecx, edi
jns 0x101af93
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 + 0x1b03c]
or eax, eax
je 0x101afa9
mov dword [ebx], eax
add ebx, 4
jmp 0x101af81
call dword [esi + 0x1b038]
mov ebp, dword [esi + 0x1b040]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x101afe3
sub esp, 0xffffff80
jmp 0x1006eb0
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
mov edi, eax
pop ecx
test edi, edi
jne 0x100029a6
push 0x34
call fcn.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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.10026ba5
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
Function at 0x100036e0
Capabilities:
Print debug messages

Disassembly:
cmp byte [0x1003cdfb], 0
push esi
mov esi, ecx
jne 0x100036f5
cmp byte [0x1003cdfa], 0
je 0x10003748
lea ecx, [esi + 4]
cmp dword [ecx + 0x14], 0x10
jb 0x10003700
mov ecx, dword [ecx]
cmp dword [esi + 0x20], 0
mov edx, str.false
push edi
mov eax, str.true
mov edi, 0x1003c818
cmove eax, edx
push eax
push ecx
push str.CMemMappedFile__s__isValid___s
push edi
call fcn.10026ba5
add esp, 0x10
cmp byte [0x1003cdfa], 0
je 0x10003737
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10003747
push edi
call fcn.10005eb0
pop ecx
pop edi
cmp dword [esi + 0x20], 0
pop esi
setne al
ret