joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e4b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41e4d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e4c8
mov eax, 1
add ebx, ebx
jne 0x41e4eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e4e0
jne 0x41e4fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e4e0
xor ecx, ecx
sub eax, 3
jb 0x41e510
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e582
mov ebp, eax
add ebx, ebx
jne 0x41e51b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e54c
inc ecx
add ebx, ebx
jne 0x41e538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e52d
jne 0x41e549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e52d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e56c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e55d
jmp 0x41e4ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e56c
add edi, ecx
jmp 0x41e4ce
pop esi
mov edi, esi
mov ecx, 0x450
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e58a
cmp byte [edi], 5
jne 0x41e58a
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 0x41e58f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e607
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24760]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x247e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e5bc
mov ecx, edi
jns 0x41e5eb
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 + 0x247e8]
or eax, eax
je 0x41e601
mov dword [ebx], eax
add ebx, 4
jmp 0x41e5d9
call dword [esi + 0x247e4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41e638
cmp al, 0xef
ja 0x41e62b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41e60d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41e61a
mov ebp, dword [esi + 0x247ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x41e66c
sub esp, 0xffffff80
jmp 0x403521
Function at 0x613d90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x559015
lea edi, [esi - 0x158015]
push edi
or ebp, 0xffffffff
jmp 0x613db2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x613db9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x613da8
mov eax, 1
add ebx, ebx
jne 0x613dcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x613ddc
jne 0x613dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x613dfb
dec eax
add ebx, ebx
jne 0x613de8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x613dc0
add ebx, ebx
jne 0x613df7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x613e4d
xor ecx, ecx
sub eax, 3
jb 0x613e13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x613e82
sar eax, 1
mov ebp, eax
jmp 0x613e1e
add ebx, ebx
jne 0x613e1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x613dec
inc ecx
add ebx, ebx
jne 0x613e2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x613dec
add ebx, ebx
jne 0x613e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x613e2e
jne 0x613e4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x613e2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x613e6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x613e5e
jmp 0x613dae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x613e6c
add edi, ecx
jmp 0x613dae
pop esi
mov edi, esi
mov ecx, 0x59be
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x613e8a
cmp byte [edi], 0x15
jne 0x613e8a
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 0x613e8f
lea edi, [esi + 0x20b000]
mov eax, dword [edi]
or eax, eax
je 0x613efe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x213000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x213028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x613ebc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x213030]
or eax, eax
je 0x613ef8
mov dword [ebx], eax
add ebx, 4
jmp 0x613ed9
call dword [esi + 0x21302c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x613f2f
cmp al, 0xef
ja 0x613f22
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x613f04
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x613f11
mov ebp, dword [esi + 0x213034]
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 0x613f63
sub esp, 0xffffff80
jmp 0x466a00
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [edi - 0x37f274f8]
rol byte [eax], 0x39
add ecx, 0x40
push 0x40d274
push ecx
jecxz 0x40177d
add cl, 0x40
add byte [esi], bh
lodsb al, byte [esi]
sbb dword [ecx], eax
add esp, 0xc
test esi, esi
je 0x401787
push eax
push 0x57bfd254
push edi
call dword [0xcdc164]
add esp, 0x61
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
fisttp qword [ebx - 0x47137e14]
fild word [eax]
add byte [ecx + 0x4e0278], ah
test eax, eax
mov eax, dword [0x3141404c]
je 0x4017bb
push 0x413c5a
push eax
and dword [esi + 0x66000040], ebx
mov ecx, dword [0x41b774]
jmp 0x4017cf
mov edx, dword [0x411800]
push edx
push eax
call 0x40d7b9
mov cx, word [0x4117c6]
inc edi
or byte [eax], bl
inc ecx
xchg ebx, eax
mov eax, dword [0xef0288]
push ebx
mov al, byte [0xd75a35a3]
xor eax, dword [eax]
mov word [0xdf5b0bb4], cx
test eax, eax
push edi
fcomp dword [ebp - 0x1c]
adc eax, 0xdb7a1800
push edx
push str.Benchmarking__s
mov ebx, 0x278a1d6
inc ecx
add byte [ebx - 0x3f7af73c], al
je 0x40181c
mov eax, dword [0x411a74]
push eax
sbb byte [eax + 0x3c], al
inc ecx
add byte [eax - 0x7c], ch
aam 0x40
invalid
sub ah, byte [edx + 0x4c00402f]
sar byte [eax + 0x9ad480], 0x75
add eax, 0x40d47c7e
push cs
popal
push 0x5fc2d4f4
call esi
mov ecx, dword [0x405bc8]
add ecx, 0x20
push ecx
call [ecx + 0x54]
aam 0x40
add byte [ebx + 0x4ae30cc4], al
sbb dl, bl
stosd dword es:[edi], eax
add byte [ebx + 0x40c15835], cl
add byte [eax + 0x60], bh
or byte [eax], al
add byte [edx - 1], dl
salc
mov dword [0xcd0bb0], eax
and al, 0x10
shl byte [ecx + 0x55], 1
push 0x20
int3
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.1001356f
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.1001356f
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.1001356f
or dword [ebp - 4], 0xffffffff
pop ecx
push 0
push 1
lea ecx, [esi + 4]
call fcn.1001356f
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.1001356f
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.1001356f
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.1001356f
jmp 0x1000207d
call fcn.100196ae
test al, al
je 0x10002031
push edi
call fcn.1001356f
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.1001356f
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.1001356f
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.1001356f
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.1001356f
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.1001356f
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.1001356f
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
Function at 0x10004087
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x10036ee8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
je 0x100040d3
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x100040a9
mov eax, dword [eax]
push edi
push ebx
push eax
push str.CMemMappedFile__s__writeBytes_offset_u__length_u_
push 0x100368d8
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x14
cmp byte [0x10036ee8], 0
je 0x100040d3
push 0x100368d8
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov edx, dword [esi]
lea eax, [ebx + edi]
push eax
mov ecx, esi
call dword [edx + 0xc]
test eax, eax
je 0x100040fc
push edi
push dword [ebp + 8]
add eax, ebx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x10]
mov al, 1
jmp 0x10004139
cmp byte [0x10036ee8], 0
je 0x10004137
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x10004110
mov eax, dword [eax]
push edi
push ebx
push eax
push str.CMemMappedFile__s__ERROR_WRITING__NO_MEMORY_MAPPED_FILE_
mov ebx, 0x100368d8
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x14
cmp byte [0x10036ee8], 0
je 0x10004137
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10004910
Capabilities:
Hide graphical window

Disassembly:
push 0x10
mov eax, 0x1002785d
call fcn.10026576
mov eax, ecx
mov dword [ebp - 0x10], eax
add eax, 0x30
mov edi, eax
mov dword [ebp - 0x14], eax
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb esi, esi
neg esi
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1001356f
mov ebx, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x1000497f
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1000495c
push edi
call ebx
mov edi, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb esi, esi
neg esi
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1001356f
pop ecx
test eax, eax
je 0x10004951
mov edx, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [ebp + 8], ecx
sete cl
mov eax, dword [edx + 0x24]
inc ecx
mov dword [eax + 0x18], ecx
mov eax, dword [edx + 0x2c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100049c9
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
jne 0x100049c9
mov ecx, dword [ebp - 0x10]
call fcn.10004cd1
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100049d4
push edi
call ebx
call fcn.10026544
ret 4
Function at 0x10004cd1
Capabilities:
Resume thread
Terminate thread

Disassembly:
push 0x10
mov eax, 0x1002785d
call fcn.10026576
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10004e03
cmp dword [eax + 8], 0
je 0x10004e03
lea eax, [esi + 0x30]
mov ebx, eax
mov dword [ebp - 0x10], eax
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb edi, edi
neg edi
mov dword [ebp - 0x18], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1001356f
pop ecx
test eax, eax
jne 0x10004d5f
mov esi, ebx
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10004d35
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ebx, esi
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.kernel32.dll_TryEnterCriticalSection]
neg eax
sbb edi, edi
neg edi
mov dword [ebp - 0x18], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1001356f
pop ecx
test eax, eax
je 0x10004d26
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10004da8
cmp dword [eax + 8], 0
je 0x10004da8
cmp dword [esi + 0x2c], 0
jne 0x10004da8
push 0
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x20], 1
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x24]
or dword [ebp - 4], 0xffffffff
and dword [eax + 8], 0
test edi, edi
je 0x10004e03
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x10004e03
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10004db7
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x24]
xor ebx, ebx
mov dword [esi + 0x2c], ebx
push dword [eax + 0x1c]
call dword [sym.imp.kernel32.dll_SetEvent]
mov eax, dword [esi + 0x24]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [esi + 0x24]
push 0x3e8
mov edi, dword [eax + 8]
push edi
mov dword [eax + 8], ebx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10004df5
mov dword [esi + 0x20], ebx
jmp 0x10004e03
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x20], 1
call fcn.10026544
ret