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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4700b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
push dword [ebp + 8]
push eax
call fcn.0042aee0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x429f52
mov eax, dword [eax]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 8]
mov edi, eax
cmp ecx, 8
jb 0x429f74
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00422720
test edi, edi
jne 0x429f8c
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
je 0x42a051
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043e967
push dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x1c]
push dword [ebp + 8]
push eax
call fcn.0042aee0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x429fc8
mov eax, dword [eax]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x429fe6
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00422720
push esi
lea ecx, [ebp - 0x1c]
call fcn.00420fd0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042afc0
mov ecx, dword [ebp - 0x38]
add esp, 8
push eax
call fcn.00404f0a
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x42a01d
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00420d40
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
cmp eax, 8
jb 0x42a044
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00422720
test esi, esi
je 0x42a051
push esi
call fcn.0043e2ef
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a0b0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4700b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
sub esp, 8
cmp dword [eax + 0x14], 0x10
mov edx, esp
jb 0x42a0d4
mov ecx, dword [eax]
jmp 0x42a0d6
mov ecx, eax
mov dword [edx], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042aee0
mov esi, eax
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42a0f4
mov esi, dword [esi]
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push dword [ebp + 8]
push eax
call fcn.0042aee0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42a10e
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
mov eax, dword [ebp - 8]
setne bl
cmp eax, 8
jb 0x42a130
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00422720
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp ecx, 8
jb 0x42a159
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00422720
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4301a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [0x4700b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x808], ebx
mov eax, dword [0x470044]
mov dword [ebp - 0x808], eax
push esi
push edi
cmp eax, 0xffffffff
jne 0x4302aa
lea eax, [ebp - 0x808]
push eax
call fcn.00437fb0
add esp, 4
test al, al
jne 0x430201
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0x73
push str..._.._base_threading_thread_local_storage.cc
lea ecx, [ebp - 0x8b8]
call fcn.00421080
mov ebx, 1
test bl, 1
je 0x430214
lea ecx, [ebp - 0x8b8]
and ebx, 0xfffffffe
call fcn.00421220
mov ecx, dword [ebp - 0x808]
cmp ecx, 0xffffffff
jne 0x430278
lea eax, [ebp - 0x808]
push eax
call fcn.00437fb0
add esp, 4
test al, al
je 0x43023b
cmp dword [ebp - 0x808], 0xffffffff
jne 0x430255
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push 0x7d
push str..._.._base_threading_thread_local_storage.cc
lea ecx, [ebp - 0x968]
or ebx, 2
call fcn.00421080
test bl, 2
je 0x430268
lea ecx, [ebp - 0x968]
and ebx, 0xfffffffd
call fcn.00421220
push 0xffffffffffffffff
call fcn.00437fd0
mov ecx, dword [ebp - 0x808]
add esp, 4
mov edx, 0x470044
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x4302a4
push dword [ebp - 0x808]
call fcn.00437fd0
mov eax, dword [0x470044]
add esp, 4
mov dword [ebp - 0x808], eax
jmp 0x4302aa
mov eax, dword [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4302d2
push str._PlatformThreadLocalStorage::GetTLSValue_key_
push 0x8f
push str..._.._base_threading_thread_local_storage.cc
lea ecx, [ebp - 0xa18]
or ebx, 4
call fcn.00421080
test bl, 4
je 0x4302e2
lea ecx, [ebp - 0xa18]
call fcn.00421220
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0043fdf0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call fcn.00437fe0
push 0x800
call fcn.0043e967
mov ebx, eax
lea esi, [ebp - 0x804]
mov ecx, 0x200
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x808]
call fcn.00437fe0
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret
Function at 0x430420
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x470044]
sub esp, 0x170
push edi
mov edi, ecx
cmp eax, 0xffffffff
je 0x430441
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x430446
call fcn.004301a0
push ebx
push esi
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0
call fcn.00430390
mov esi, eax
mov ecx, esi
call fcn.0042cbb0
mov ebx, dword [0x4724b8]
xor ecx, ecx
inc ebx
nop dword [eax]
lea eax, [ebx + ecx]
movzx edx, al
lea eax, [edx + edx*2]
cmp dword [eax*4 + 0x4718b8], 0
je 0x43048e
inc ecx
cmp ecx, 0x100
jl 0x430470
jmp 0x4304b9
mov eax, dword [ebp + 8]
lea ecx, [edx + edx*2]
mov dword [ecx*4 + 0x4718bc], eax
mov dword [ecx*4 + 0x4718b8], 1
mov dword [0x4724b8], edx
mov dword [edi + 4], edx
mov eax, dword [ecx*4 + 0x4718c0]
mov dword [edi + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], eax
pop esi
pop ebx
cmp eax, 0xffffffff
jne 0x43050e
push str.slot____kInvalidSlotValue
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0042e770
add esp, 0xc
test eax, eax
je 0x43050e
push eax
push 0x11d
push str..._.._base_threading_thread_local_storage.cc
lea ecx, [ebp - 0xc0]
call fcn.00421150
lea ecx, [ebp - 0xc0]
call fcn.00421220
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], 0x100
mov dword [ebp - 0x10], eax
cmp eax, 0x100
jl 0x43055c
push str.slot____kThreadLocalStorageSize
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042e770
add esp, 0xc
test eax, eax
je 0x43055c
push eax
push 0x11e
push str..._.._base_threading_thread_local_storage.cc
lea ecx, [ebp - 0x170]
call fcn.00421150
lea ecx, [ebp - 0x170]
call fcn.00421220
mov dword [edi], 1
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x433c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x7fffffff
jbe 0x433c31
xor eax, eax
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0043a7b0

Function at 0x433c40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
test esi, esi
je 0x433cb2
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
push edi
nop
cmp esi, 0xffffffff
mov edi, esi
cmova edi, ecx
push edi
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x433c8d
push str.success
push 0x27
push str..._.._base_rand_util_win.cc
lea ecx, [ebp - 0xb4]
or ebx, 1
call fcn.00421080
test bl, 1
je 0x433ca0
lea ecx, [ebp - 0xb4]
and ebx, 0xfffffffe
call fcn.00421220
mov eax, dword [ebp + 8]
mov ecx, 0xffffffff
add eax, edi
mov dword [ebp + 8], eax
sub esi, edi
jne 0x433c60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438080
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x4380f0
push ebx
push esi
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x45fc78]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x45fc78]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x45fc78]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x45fc78]
sub ebx, 1
jne 0x438097
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x43aa50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4700b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
push esi
mov esi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
push eax
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.0043b150
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0043a9b0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.0043dbeb
mov esp, ebp
pop ebp
ret

Function at 0x43b889
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x43b891
mov dword [edx*4 + 0x4733a0], ecx
inc edx
cmp edx, 0x100
jb 0x43b88c
mov esi, 0x800
jmp 0x43b8da
mov ecx, dword [edx*4 + 0x472fa0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4733a0]
mov dword [edx*4 + 0x4733a0], ecx
inc edx
cmp edx, esi
jb 0x43b8be
mov eax, 0x43bac0
mov esi, 0x43bb60
mov dword [0x4753a8], eax
mov dword [0x4753a0], eax
mov dword [0x4753a4], esi
call fcn.0043b910
mov ecx, dword [0x4753a0]
test eax, eax
cmove ecx, esi
mov dword [0x4753a0], ecx
pop esi
ret
Function at 0x451860
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004516dd

Function at 0x454472
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045410c
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40288e
pop dword [ebp - 0xc]
mov eax, 0xd5e07800
sub eax, 0xd5a04f72
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x37b9d594
add dword [ebp - 0x1c], 0x16986fb7
mov dword [ebp - 0x18], 0xdd5ffc21
add dword [ebp - 0x18], 0x54d35024
mov dword [ebp - 0x14], 0xbfa44aee
sub dword [ebp - 0x14], 0x735806c0
mov dword [ebp - 0x10], 0x78e124ec
add dword [ebp - 0x10], 0x871edb14
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xf941f115
sub eax, 0xf90180b1
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x655977f3
add dword [ebp - 0x1c], 0xf18f163
mov dword [ebp - 0x18], 0xc148306b
sub dword [ebp - 0x18], 0x7fdbcef6
mov dword [ebp - 0x14], 0x1c15aece
add dword [ebp - 0x14], 0x4759bd9e
mov dword [ebp - 0x10], 0xa84f8503
add dword [ebp - 0x10], 0x57b07afd
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x3388b101
add eax, 0xccb7bfa7
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x360e6
push 0
call eax
mov ecx, 0x363d1316
add ecx, 0xc9c332c1
mov esi, eax
mov edi, 0xd9eae3ad
add edi, 0x26561c53
add edi, dword [ebp - 0xc]
mov ebx, 0x68f6bda8
add dword [ebp - 4], edi
mov edx, dword [edi]
sub dword [ebp - 4], 0x4d05a332
xor edx, ebx
mov dword [esi], edx
add dword [ebp - 4], eax
add esi, 4
add edi, 4
loop 0x4029aa
add eax, 0xaf3ab974
add eax, 0x50c650bb
mov ebx, eax
add eax, 0x81eeee68
add eax, 0x7e11119d
mov ecx, 0xba070224
add ecx, 0x4638fddc
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x513f70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbf000]
push edi
jmp 0x513f8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x513f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x513f80
mov eax, 1
add ebx, ebx
jne 0x513fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x513fb4
jne 0x513fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x513fd3
dec eax
add ebx, ebx
jne 0x513fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x513f98
add ebx, ebx
jne 0x513fcf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x514025
xor ecx, ecx
sub eax, 3
jb 0x513feb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51405a
sar eax, 1
mov ebp, eax
jmp 0x513ff6
add ebx, ebx
jne 0x513ff6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x513fc4
inc ecx
add ebx, ebx
jne 0x514004
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x513fc4
add ebx, ebx
jne 0x514011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x514006
jne 0x514022
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x514006
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x514044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x514036
jmp 0x513f86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x514044
add edi, ecx
jmp 0x513f86
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x514062
cmp byte [edi], 0x11
jne 0x514062
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 0x514067
lea edi, [esi + 0x10c000]
mov eax, dword [edi]
or eax, eax
je 0x5140df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14fba8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14fd24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x514094
mov ecx, edi
jns 0x5140c3
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 + 0x14fd28]
or eax, eax
je 0x5140d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5140b1
call dword [esi + 0x14fd38]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x514110
cmp al, 0xef
ja 0x514103
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5140e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5140f2
mov ebp, dword [esi + 0x14fd2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x514144
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x10001bff
Capabilities:
Print debug messages

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

Function at 0x10001ca1
Capabilities:
Print debug messages

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

Function at 0x10001d3a
Capabilities:
Print debug messages

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

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

Function at 0x100028bc
Capabilities:
Print debug messages

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