joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10046380
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 0x10046466
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 0x10046455
jg 0x100463c0
test edx, edx
je 0x10046455
nop dword [eax]
call fcn.100480b0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10046414
jg 0x100463d7
test esi, esi
je 0x10046414
cmp ebx, eax
jg 0x100463e7
jl 0x100463e1
cmp edi, esi
jae 0x100463e7
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.10122ae0
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 0x10046439
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 0x1004644f
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x100463c0
jl 0x1004644f
test edi, edi
jne 0x100463c0
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 0x10046488
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1004648a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x10046508
jg 0x1004649d
test esi, esi
je 0x10046508
test eax, eax
jl 0x100464ec
jg 0x100464a7
test ebx, ebx
je 0x100464ec
cmp edi, eax
jg 0x100464b7
jl 0x100464b1
cmp esi, ebx
jae 0x100464b7
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10122ae0
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 0x10046508
jg 0x100464ef
test esi, esi
je 0x10046508
jmp 0x100464ef
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10046508
push eax
push esi
push 1
push edx
call fcn.10137cd0
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 0x10046ac0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x101dadb0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10046af0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10120250
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10046b2d
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10046b2d
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.10120250
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x10046c23
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10046b55
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 0x10046b89
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10127920
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.10120250
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 0x10046bf2
sub eax, 1
je 0x10046bf2
sub eax, 2
jne 0x10046c23
push dword [esi + 0x4c]
movsx eax, byte [esp + 0x13]
push eax
call fcn.10127920
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.10120250
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x10046c11
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10137cd0
add esp, 0x10
cmp edi, eax
jne 0x10046c23
lea eax, [esp + 0xf]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
jne 0x10046b17
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10120250
add esp, 0x30
ret 4
Function at 0x10048550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017a0c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101dadb0]
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.10139eb0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10048620
push 1
mov dword [ebp - 4], 0
call fcn.1011d5b0
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.1011d000
int3
Function at 0x10057dd0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x10057e44
test ecx, ecx
jne 0x10057df7
push 0x4f
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push str.self
call fcn.1013d1c0
add esp, 0xc
xor al, al
pop esi
ret 8
mov ecx, dword [ecx + 4]
cmp ecx, 0xffffffff
je 0x10057df1
mov eax, dword [esp + 8]
test eax, eax
jne 0x10057e21
push 0x56
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push 0x101ba910
call fcn.1013d1c0
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 0x10057df1
cmp dword [esp + 0xc], esi
jne 0x10057df1
mov al, 1
pop esi
ret 8

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

Disassembly:
push ecx
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x10057e76
push 0x62
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push 0x101ba910
call fcn.1013d1c0
add esp, 0xc
xor al, al
pop esi
pop ecx
ret 8
test esi, esi
jne 0x10057e95
push 0x67
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push str.self
call fcn.1013d1c0
add esp, 0xc
xor al, al
pop esi
pop ecx
ret 8
mov eax, dword [esi + 4]
push edi
cmp eax, 0xffffffff
je 0x10057f23
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 0x10057f10
mov edi, dword [esp + 0x14]
cmp dword [esp + 8], edi
jb 0x10057f23
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 0x10057f10
cmp edi, dword [esp + 0x14]
je 0x10057f08
push 0x74
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push str.bytesToRead__bytesRead
call fcn.1013d1c0
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 0x10063c50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x101dadb0]
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 0x10063ddf
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 0x10063cfe
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x10063cdd
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10135f00
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.10047840
mov edi, dword [esp + 0x18]
or eax, 0xffffffff
xor edx, edx
test edi, edi
je 0x10063d59
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 + 0x101ba240]
cmp edx, edi
jb 0x10063d40
lea ecx, [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x10063df3
call fcn.100447b0
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x10063d83
inc eax
push eax
push dword [esp + 0x28]
call fcn.10048ea0
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.10048ea0
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 0x10063ca0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10120250
mov esp, ebp
pop ebp
ret
call fcn.100447b0
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x10063e0f
inc eax
push eax
push dword [esp + 0x28]
call fcn.10048ea0
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.10048ea0
mov ecx, dword [esp + 0x44]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10120250
mov esp, ebp
pop ebp
ret
Function at 0x1006eb50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017a9d0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101dadb0]
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.10048e10
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.10048410
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 0x1007e7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d14d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101dadb0]
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.10088830
test al, al
je 0x1007e947
mov cl, 0x30
mov dword [ebp - 0x20], 0x5e445230
mov dword [ebp - 0x1c], 0x5e51536f
xor eax, eax
mov dword [ebp - 0x18], 0x5c5553
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xa
jae 0x1007e856
mov cl, byte [ebp - 0x20]
jmp 0x1007e847
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.10047670
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.100897e0
movaps xmm0, xmmword [0x101c2e00]
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 0x1007e890
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007e8a7
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10048200
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.100897e0
mov edi, dword [ebx]
mov dword [ebx + 0x12c], eax
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.10105b60
push ebx
mov esi, dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
call fcn.10105b60
push esi
mov ecx, ebx
push dword [eax]
call dword [edi + 0x1c]
push 0
push 0x101b8c74
lea ecx, [ebx + 0x14c]
call fcn.10048200
lea ecx, [ebp - 0x40]
call fcn.100447b0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1007e91e
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.10048ea0
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.10048ea0
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.10120250
mov esp, ebp
pop ebp
ret 4
Function at 0x10085790
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [0x102ad6d8], 0
je 0x100858cc
cmp dword [esp + 8], 0
je 0x100858cc
push ebx
push esi
push 0x102b2f38
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [0x102b2f44]
push eax
movzx eax, word [0x102b2f42]
push eax
movzx eax, word [0x102b2f40]
push eax
push str.______.2d:_.2d:_.2d_
push 0x102b3348
mov byte [0x102b3348], 0
mov dword [esp + 0x1c], 0
call fcn.10052e60
lea eax, [esp + 0x28]
mov byte [0x102b2f48], 0
push eax
push 0
push dword [esp + 0x2c]
push 0xffffffffffffffff
push 0x102b2f48
call fcn.100493b0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x28
push 0x102b2f48
push 0x102b3348
call esi
push 0x101bd3dc
push 0x102b3348
call esi
push 0x102b3348
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [0x102ad6dc], 0x10
mov ecx, 0x102ad6c8
push 0
cmovae ecx, dword [0x102ad6c8]
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 0x1008589e
cmp dword [0x102ad6dc], 0x10
mov eax, 0x102ad6c8
push 0
cmovae eax, dword [0x102ad6c8]
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 0x100858ca
test esi, esi
je 0x100858ca
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 0x102b3348
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 0x10085a80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
cmp byte [0x102b2f19], 0
jne 0x10085ac5
push 0x102b3750
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x10085ab5
push 0x102b3748
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x102b2f18], al
mov byte [0x102b2f19], al
jmp 0x10085aca
xor al, al
mov byte [0x102b2f19], 1
mov byte [0x102b2f18], al
jmp 0x10085aca
mov al, byte [0x102b2f18]
test al, al
je 0x10085b11
push 0x102b3750
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x102b3754]
mov ecx, dword [0x102b3750]
call fcn.10179a60
mov edx, dword [0x102b374c]
mov ecx, dword [0x102b3748]
movsd qword [esp], xmm0
call fcn.10179a60
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 + 0x101c2710]
cvtpd2ps xmm0, xmm0
add esp, 8
ret
Function at 0x100862b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d62d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
jne 0x100862f3
push 0
push str.Unknown_version_type
push 0x102628f8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
lea ebx, [esi + 8]
push 0x101b8c74
mov ecx, ebx
call fcn.10048200
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 0x1008645d
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push ecx
inc eax
lea ecx, [ebp - 0x28]
push eax
call fcn.10056ce0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x1008639d
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x1008637c
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10135f00
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 0x100863fe
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x100863dd
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10135f00
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 0x10086403
sub edx, esi
push edx
push ecx
mov ecx, ebx
call fcn.10048200
lea ecx, [ebp - 0x28]
call fcn.100447b0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10086448
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
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.10048ea0
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 0x10086ad0
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 0x10086b23
cmp dword [esi + 0x20], 0x10
lea eax, [esi + 0xc]
jb 0x10086b10
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 0x10087e30
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov esi, ecx
call fcn.10088830
test al, al
jne 0x10087e4a
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 0x10088150
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 0x1008816a
push esi
call fcn.100882f0
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x10088194
mov eax, dword [esi + 0xdc]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1008818a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 0xe0]
test eax, eax
jne 0x10088174
lea ecx, [esi + 0xd8]
call fcn.1007c2a0
lea ecx, [esi + 0x64]
call fcn.100447b0
mov eax, dword [esi + 0x7c]
cmp eax, 0x10
jb 0x100881bc
inc eax
push eax
push dword [esi + 0x68]
call fcn.10048ea0
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.10048ea0
add esp, 8
lea ecx, [esi + 0x48]
call fcn.100447b0
mov eax, dword [esi + 0x60]
cmp eax, 0x10
jb 0x10088200
inc eax
push eax
push dword [esi + 0x4c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov ecx, esi
pop edi
pop esi
jmp fcn.10086030