joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10045a10
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 0x10045af6
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 0x10045ae5
jg 0x10045a50
test edx, edx
je 0x10045ae5
nop dword [eax]
call fcn.10047740
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10045aa4
jg 0x10045a67
test esi, esi
je 0x10045aa4
cmp ebx, eax
jg 0x10045a77
jl 0x10045a71
cmp edi, esi
jae 0x10045a77
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.10122110
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 0x10045ac9
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 0x10045adf
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10045a50
jl 0x10045adf
test edi, edi
jne 0x10045a50
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 0x10045b18
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x10045b1a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x10045b98
jg 0x10045b2d
test esi, esi
je 0x10045b98
test eax, eax
jl 0x10045b7c
jg 0x10045b37
test ebx, ebx
je 0x10045b7c
cmp edi, eax
jg 0x10045b47
jl 0x10045b41
cmp esi, ebx
jae 0x10045b47
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.10122110
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 0x10045b98
jg 0x10045b7f
test esi, esi
je 0x10045b98
jmp 0x10045b7f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10045b98
push eax
push esi
push 1
push edx
call fcn.101372e0
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 0x10046150
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 0x10046180
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1011f880
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x100461bd
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x100461bd
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.1011f880
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x100462b3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100461e5
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 0x10046219
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10126f50
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.1011f880
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 0x10046282
sub eax, 1
je 0x10046282
sub eax, 2
jne 0x100462b3
push dword [esi + 0x4c]
movsx eax, byte [esp + 0x13]
push eax
call fcn.10126f50
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.1011f880
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x100462a1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.101372e0
add esp, 0x10
cmp edi, eax
jne 0x100462b3
lea eax, [esp + 0xf]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
jne 0x100461a7
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011f880
add esp, 0x30
ret 4
Function at 0x10047be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101796d0
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.101394c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10047cb0
push 1
mov dword [ebp - 4], 0
call fcn.1011cc00
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.1011c650
int3
Function at 0x10057450
Capabilities:
Write file on windows

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

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

Disassembly:
push ecx
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x100574f6
push 0x62
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push 0x101ba910
call fcn.1013c7e0
add esp, 0xc
xor al, al
pop esi
pop ecx
ret 8
test esi, esi
jne 0x10057515
push 0x67
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push str.self
call fcn.1013c7e0
add esp, 0xc
xor al, al
pop esi
pop ecx
ret 8
mov eax, dword [esi + 4]
push edi
cmp eax, 0xffffffff
je 0x100575a3
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 0x10057590
mov edi, dword [esp + 0x14]
cmp dword [esp + 8], edi
jb 0x100575a3
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 0x10057590
cmp edi, dword [esp + 0x14]
je 0x10057588
push 0x74
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push str.bytesToRead__bytesRead
call fcn.1013c7e0
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 0x100632e0
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 0x1006346f
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 0x1006338e
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x1006336d
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.10135530
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.10046ed0
mov edi, dword [esp + 0x18]
or eax, 0xffffffff
xor edx, edx
test edi, edi
je 0x100633e9
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 0x100633d0
lea ecx, [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x10063483
call fcn.10043e40
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x10063413
inc eax
push eax
push dword [esp + 0x28]
call fcn.10048530
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.10048530
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 0x10063330
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1011f880
mov esp, ebp
pop ebp
ret
call fcn.10043e40
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x1006349f
inc eax
push eax
push dword [esp + 0x28]
call fcn.10048530
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.10048530
mov ecx, dword [esp + 0x44]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011f880
mov esp, ebp
pop ebp
ret
Function at 0x1006e1e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179fe0
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.100484a0
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.10047aa0
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 0x1007deb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c75d
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.10087ee0
test al, al
je 0x1007e007
mov cl, 0x29
mov dword [ebp - 0x20], 0x475d4b29
mov dword [ebp - 0x1c], 0x47484a76
xor eax, eax
mov dword [ebp - 0x18], 0x454c4a
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xa
jae 0x1007df16
mov cl, byte [ebp - 0x20]
jmp 0x1007df07
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.10046d00
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.10088e90
movaps xmm0, xmmword [0x101c1990]
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 0x1007df50
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007df67
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10047890
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.10088e90
mov edi, dword [ebx]
mov dword [ebx + 0x12c], eax
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.101051a0
push ebx
mov esi, dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
call fcn.101051a0
push esi
mov ecx, ebx
push dword [eax]
call dword [edi + 0x1c]
push 0
push 0x101b8c74
lea ecx, [ebx + 0x14c]
call fcn.10047890
lea ecx, [ebp - 0x40]
call fcn.10043e40
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1007dfde
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.10048530
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.10048530
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.1011f880
mov esp, ebp
pop ebp
ret 4
Function at 0x10084e40
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [0x102ad6d8], 0
je 0x10084f7c
cmp dword [esp + 8], 0
je 0x10084f7c
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.100524f0
lea eax, [esp + 0x28]
mov byte [0x102b2f48], 0
push eax
push 0
push dword [esp + 0x2c]
push 0xffffffffffffffff
push 0x102b2f48
call fcn.10048a40
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 0x10084f4e
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 0x10084f7a
test esi, esi
je 0x10084f7a
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 0x10085130
Capabilities:
Check for time delay via queryperformancecounter

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cc3d
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 0x100859a3
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.10047890
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 0x10085b0d
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push ecx
inc eax
lea ecx, [ebp - 0x28]
push eax
call fcn.10056360
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x10085a4d
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x10085a2c
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.10135530
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 0x10085aae
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x10085a8d
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.10135530
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 0x10085ab3
sub edx, esi
push edx
push ecx
mov ecx, ebx
call fcn.10047890
lea ecx, [ebp - 0x28]
call fcn.10043e40
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10085af8
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.10048530
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.10048530
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 0x10086180
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 0x100861d3
cmp dword [esi + 0x20], 0x10
lea eax, [esi + 0xc]
jb 0x100861c0
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 0x100874e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov esi, ecx
call fcn.10087ee0
test al, al
jne 0x100874fa
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 0x10087800
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 0x1008781a
push esi
call fcn.100879a0
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x10087844
mov eax, dword [esi + 0xdc]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1008783a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 0xe0]
test eax, eax
jne 0x10087824
lea ecx, [esi + 0xd8]
call fcn.1007b950
lea ecx, [esi + 0x64]
call fcn.10043e40
mov eax, dword [esi + 0x7c]
cmp eax, 0x10
jb 0x1008786c
inc eax
push eax
push dword [esi + 0x68]
call fcn.10048530
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.10048530
add esp, 8
lea ecx, [esi + 0x48]
call fcn.10043e40
mov eax, dword [esi + 0x60]
cmp eax, 0x10
jb 0x100878b0
inc eax
push eax
push dword [esi + 0x4c]
call fcn.10048530
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.10048530
add esp, 8
mov ecx, esi
pop edi
pop esi
jmp fcn.100856e0