joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x10044f96
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x10044f85
jg 0x10044ef0
test edx, edx
je 0x10044f85
nop dword [eax]
call fcn.10046be0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10044f44
jg 0x10044f07
test esi, esi
je 0x10044f44
cmp ebx, eax
jg 0x10044f17
jl 0x10044f11
cmp edi, esi
jae 0x10044f17
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.10118c50
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x10044f69
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x10044f7f
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10044ef0
jl 0x10044f7f
test edi, edi
jne 0x10044ef0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10044fb8
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x10044fba
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x10045038
jg 0x10044fcd
test esi, esi
je 0x10045038
test eax, eax
jl 0x1004501c
jg 0x10044fd7
test ebx, ebx
je 0x1004501c
cmp edi, eax
jg 0x10044fe7
jl 0x10044fe1
cmp esi, ebx
jae 0x10044fe7
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10118c50
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x10045038
jg 0x1004501f
test esi, esi
je 0x10045038
jmp 0x1004501f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10045038
push eax
push esi
push 1
push edx
call fcn.1012de30
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100455f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x101cfdb0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10045620
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101163c0
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1004565d
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1004565d
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101163c0
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x10045753
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10045685
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100456b9
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1011daa0
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101163c0
add esp, 0x30
ret 4
lea eax, [esp + 0x10]
mov byte [esp + 0xf], bl
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x10045722
sub eax, 1
je 0x10045722
sub eax, 2
jne 0x10045753
push dword [esi + 0x4c]
movsx eax, byte [esp + 0x13]
push eax
call fcn.1011daa0
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101163c0
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x10045741
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1012de30
add esp, 0x10
cmp edi, eax
jne 0x10045753
lea eax, [esp + 0xf]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
jne 0x10045647
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101163c0
add esp, 0x30
ret 4
Function at 0x10047080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170220
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101cfdb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includexlocale
push 2
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10130010
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10047150
push 1
mov dword [ebp - 4], 0
call fcn.10113740
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10113190
int3
Function at 0x10056700
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x10056774
test ecx, ecx
jne 0x10056727
push 0x4f
push 0x101b0888
push str.self
call fcn.10133310
add esp, 0xc
xor al, al
pop esi
ret 8
mov ecx, dword [ecx + 4]
cmp ecx, 0xffffffff
je 0x10056721
mov eax, dword [esp + 8]
test eax, eax
jne 0x10056751
push 0x56
push 0x101b0888
push 0x101b099c
call fcn.10133310
add esp, 0xc
xor al, al
pop esi
ret 8
push 0
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10056721
cmp dword [esp + 0xc], esi
jne 0x10056721
mov al, 1
pop esi
ret 8

Function at 0x10056780
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ecx
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x100567a6
push 0x62
push 0x101b0888
push 0x101b099c
call fcn.10133310
add esp, 0xc
xor al, al
pop esi
pop ecx
ret 8
test esi, esi
jne 0x100567c5
push 0x67
push 0x101b0888
push str.self
call fcn.10133310
add esp, 0xc
xor al, al
pop esi
pop ecx
ret 8
mov eax, dword [esi + 4]
push edi
cmp eax, 0xffffffff
je 0x10056853
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x10056840
mov edi, dword [esp + 0x14]
cmp dword [esp + 8], edi
jb 0x10056853
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push edi
push dword [esp + 0x1c]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x10056840
cmp edi, dword [esp + 0x14]
je 0x10056838
push 0x74
push 0x101b0888
push str.bytesToRead__bytesRead
call fcn.10133310
add esp, 0xc
pop edi
mov al, 1
pop esi
pop ecx
ret 8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi], 0
mov dword [esi + 4], 0xffffffff
pop edi
xor al, al
pop esi
pop ecx
ret 8
Function at 0x10062590
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x101cfdb0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push esi
push edi
mov eax, 0x66666667
mov edi, dword [ebx + 8]
mov ecx, edi
mov esi, dword [ebx + 4]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1006271f
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xc], eax
nop word [eax + eax]
sub edi, esi
mov eax, 0x66666667
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x1006263e
push str.vector_subscript_out_of_range
push 0x101aeae8
push 0
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x1006261d
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov esi, dword [ebx + 4]
add esp, 0x14
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + esi]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + esi + 8]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0xc]
add eax, esi
lea ecx, [esp + 0x20]
push eax
call fcn.10046370
mov edi, dword [esp + 0x18]
or eax, 0xffffffff
xor edx, edx
test edi, edi
je 0x10062699
mov esi, dword [esp + 0x14]
nop dword [eax]
movzx ecx, byte [esi + edx - 0x20]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101b0280]
cmp edx, edi
jb 0x10062680
lea ecx, [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x10062733
call fcn.100432e0
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x100626c3
inc eax
push eax
push dword [esp + 0x28]
call fcn.100479d0
add esp, 8
mov eax, dword [esp + 0x20]
push 8
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call fcn.100479d0
mov edi, dword [ebx + 8]
mov eax, 0x66666667
mov esi, dword [ebx + 4]
mov ecx, edi
inc dword [esp + 0x18]
sub ecx, esi
add dword [esp + 0x14], 0x28
add esp, 8
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x100625e0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101163c0
mov esp, ebp
pop ebp
ret
call fcn.100432e0
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x1006274f
inc eax
push eax
push dword [esp + 0x28]
call fcn.100479d0
add esp, 8
mov eax, dword [esp + 0x20]
push 8
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call fcn.100479d0
mov ecx, dword [esp + 0x44]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101163c0
mov esp, ebp
pop ebp
ret
Function at 0x1006d480
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170b30
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101cfdb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 8]
movzx eax, byte [edi]
mov byte [ebx], al
mov ax, word [edi + 2]
mov word [ebx + 2], ax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov ecx, esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea eax, [edi + 8]
push eax
call fcn.10046f40
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x2c], eax
movzx eax, byte [edi + 0x30]
mov byte [ebx + 0x30], al
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007d0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101732ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push eax
call fcn.10086a50
test al, al
je 0x1007d247
mov cl, 0x1c
mov dword [ebp - 0x20], 0x72687e1c
mov dword [ebp - 0x1c], 0x727d7f43
xor eax, eax
mov dword [ebp - 0x18], 0x70797f
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xa
jae 0x1007d156
mov cl, byte [ebp - 0x20]
jmp 0x1007d147
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.100461a0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.10087a00
movaps xmm0, xmmword [0x101b7560]
xor ecx, ecx
mov dword [ebx + 0x128], eax
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x1007d190
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007d1a7
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10046d30
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.10087a00
mov edi, dword [ebx]
mov dword [ebx + 0x12c], eax
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.100fbf90
push ebx
mov esi, dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
call fcn.100fbf90
push esi
mov ecx, ebx
push dword [eax]
call dword [edi + 0x1c]
push 0
push 0x101aec64
lea ecx, [ebx + 0x14c]
call fcn.10046d30
lea ecx, [ebp - 0x40]
call fcn.100432e0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1007d21e
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x40]
push 8
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
call fcn.100479d0
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101163c0
mov esp, ebp
pop ebp
ret 4
Function at 0x100839b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [0x102a26d8], 0
je 0x10083aec
cmp dword [esp + 8], 0
je 0x10083aec
push ebx
push esi
push 0x102a7f3c
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [0x102a7f48]
push eax
movzx eax, word [0x102a7f46]
push eax
movzx eax, word [0x102a7f44]
push eax
push str.______.2d:_.2d:_.2d_
push 0x102a8350
mov byte [0x102a8350], 0
mov dword [esp + 0x1c], 0
call fcn.10051760
lea eax, [esp + 0x28]
mov byte [0x102a7f50], 0
push eax
push 0
push dword [esp + 0x2c]
push 0xffffffffffffffff
push 0x102a7f50
call fcn.10047ee0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x28
push 0x102a7f50
push 0x102a8350
call esi
push 0x101b378c
push 0x102a8350
call esi
push 0x102a8350
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [0x102a26dc], 0x10
mov ecx, 0x102a26c8
push 0
cmovae ecx, dword [0x102a26c8]
mov ebx, eax
push 0x80
push 3
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10083abe
cmp dword [0x102a26dc], 0x10
mov eax, 0x102a26c8
push 0
cmovae eax, dword [0x102a26c8]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10083aea
test esi, esi
je 0x10083aea
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0xc]
push eax
push ebx
push 0x102a8350
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop ecx
ret

Function at 0x10083ca0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
cmp byte [0x102a7f1d], 0
jne 0x10083ce5
push 0x102a8758
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x10083cd5
push 0x102a8750
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x102a7f1c], al
mov byte [0x102a7f1d], al
jmp 0x10083cea
xor al, al
mov byte [0x102a7f1d], 1
mov byte [0x102a7f1c], al
jmp 0x10083cea
mov al, byte [0x102a7f1c]
test al, al
je 0x10083d31
push 0x102a8758
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x102a875c]
mov ecx, dword [0x102a8758]
call fcn.1016fbc0
mov edx, dword [0x102a8754]
mov ecx, dword [0x102a8750]
movsd qword [esp], xmm0
call fcn.1016fbc0
movsd xmm1, qword [esp]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
add esp, 8
ret
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b7c60]
cvtpd2ps xmm0, xmm0
add esp, 8
ret
Function at 0x100844d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017371d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x101cfdb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
jne 0x10084513
push 0
push str.Unknown_version_type
push 0x102578f8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
lea ebx, [esi + 8]
push 0x101aec64
mov ecx, ebx
call fcn.10046d30
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
push esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x1008467d
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push ecx
inc eax
lea ecx, [ebp - 0x28]
push eax
call fcn.100555d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x100845bd
push str.vector_subscript_out_of_range
push 0x101aeae8
push eax
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x1008459c
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov ecx, dword [ebp - 0x24]
add esp, 0x14
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x1008461e
push str.vector_subscript_out_of_range
push 0x101aeae8
push eax
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100845fd
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov ecx, dword [ebp - 0x24]
add esp, 0x14
mov edx, ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10084623
sub edx, esi
push edx
push ecx
mov ecx, ebx
call fcn.10046d30
lea ecx, [ebp - 0x28]
call fcn.100432e0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10084668
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.100479d0
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10084cf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
push 0
mov eax, dword [esi + 0x1c]
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 4]
test ecx, ecx
jle 0x10084d43
cmp dword [esi + 0x20], 0x10
lea eax, [esi + 0xc]
jb 0x10084d30
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push ecx
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
pop esi
add esp, 8
ret 4
Function at 0x10086050
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov esi, ecx
call fcn.10086a50
test al, al
jne 0x1008606a
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
mov dword [esi + 0x120], eax
mov al, 1
pop esi
add esp, 8
ret 4

Function at 0x10086370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xd4]
mov dword [esi], vtable.CN3UIBase.0
test ecx, ecx
je 0x1008638a
push esi
call fcn.10086510
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x100863b4
mov eax, dword [esi + 0xdc]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100863aa
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 0xe0]
test eax, eax
jne 0x10086394
lea ecx, [esi + 0xd8]
call fcn.1007abb0
lea ecx, [esi + 0x64]
call fcn.100432e0
mov eax, dword [esi + 0x7c]
cmp eax, 0x10
jb 0x100863dc
inc eax
push eax
push dword [esi + 0x68]
call fcn.100479d0
add esp, 8
mov eax, dword [esi + 0x64]
push 8
push eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0xf
mov byte [esi + 0x68], 0
mov dword [esi + 0x64], 0
call fcn.100479d0
add esp, 8
lea ecx, [esi + 0x48]
call fcn.100432e0
mov eax, dword [esi + 0x60]
cmp eax, 0x10
jb 0x10086420
inc eax
push eax
push dword [esi + 0x4c]
call fcn.100479d0
add esp, 8
mov eax, dword [esi + 0x48]
push 8
push eax
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xf
mov byte [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.100479d0
add esp, 8
mov ecx, esi
pop edi
pop esi
jmp fcn.10084250
Function at 0x1008ab30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.1008ec50
test al, al
jne 0x1008ab52
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x1008ac6c
push ecx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
inc eax
lea ecx, [esp + 0x20]
push eax
call fcn.100555d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
jne 0x1008abe4
push str.vector_subscript_out_of_range
push 0x101aeae8
push eax
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x1008abc2
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov ecx, dword [esp + 0x30]
add esp, 0x14
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [edi + 0x158], 0
je 0x1008ac1c
push 0x1a9
push 0x101b3e68
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.100432e0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1008ac55
mov eax, dword [esp + 0x24]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x18]
push 8
push eax
mov dword [esp + 0x20], 0
call fcn.100479d0
add esp, 8
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4