joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdad958
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x14]
xor eax, eax
push ebp
push 0xdadb11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x3fffffff
call fcn.00d92c54
mov edi, eax
add edi, 0x12e499d
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov edx, dword [ebp - 0xc]
call fcn.00dad3e0
mov eax, dword [ebp - 0x10]
call fcn.00d951b4
add eax, 0x48
push eax
mov eax, esi
mov ecx, 1
mov edx, dword [0xd95d70]
call fcn.00d95390
add esp, 4
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
call fcn.00d951b4
add eax, 0x48
mov edx, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
call fcn.00d951b4
add edi, 0x48
add eax, edi
mov edx, dword [ebx]
mov dword [edx + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov edx, dword [ebx]
add eax, dword [edx + 8]
mov ecx, 7
cdq
idiv ecx
lea ecx, [eax + eax*2]
mov eax, dword [ebx]
mov dword [eax + 4], ecx
add ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x18], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, dword [ebp + 0xc]
mov edx, dword [ebx]
mov dword [edx + 0x14], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, 0x989680
mov edx, dword [ebx]
mov dword [edx + 0x1c], eax
call fcn.00dacce8
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00d9ab7c
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov ecx, dword [ebx]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, 0x3fffffff
call fcn.00d92c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
call fcn.00d951b4
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
add eax, 0x48
call fcn.00d9b55c
mov eax, 0x3fffffff
call fcn.00d92c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x40], eax
adc dword [ecx + 0x44], edx
mov eax, 0x3fffffff
call fcn.00d92c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov eax, 0x3fffffff
call fcn.00d92c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x30], eax
adc dword [ecx + 0x34], edx
mov eax, 0x3fffffff
call fcn.00d92c54
mov edx, dword [ebx]
add eax, dword [edx + 4]
cdq
mov ecx, dword [ebx]
add dword [ecx + 0x28], eax
adc dword [ecx + 0x2c], edx
mov eax, 0x3fffffff
call fcn.00d92c54
mov edx, dword [ebx]
add dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdadb18
lea eax, [ebp - 0x10]
mov edx, dword [0xd95d70]
call fcn.00d9539c
ret
Function at 0xdaf5c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0xdaf6f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.00d940c8
mov eax, dword [esi]
call fcn.00d94344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0xdaf6e2
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, edi
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edi
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0xdaf6ce
mov dword [ebp - 8], eax
mov eax, esi
call fcn.00d9459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
add dl, cl
mov byte [eax], dl
mov edi, dword [ebp - 0xc]
sub edi, 2
jl 0xdaf67a
inc edi
mov ebx, 2
mov eax, esi
call fcn.00d9459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 2]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xd]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0xdaf658
mov eax, esi
call fcn.00d9459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
add cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 1
jl 0xdaf6c1
mov eax, esi
call fcn.00d9459c
mov edx, dword [esi]
mov dl, byte [edx + ebx]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
add dl, cl
mov cl, byte [ebp - 0xe]
xor dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0xdaf69f
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0xdaf638
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.00dacc98
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00d940c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdaf6ff
lea eax, [ebp - 0x14]
call fcn.00d94074
ret
Function at 0xdaf708
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
mov edx, esi
mov eax, edi
call fcn.00dacca0
mov eax, dword [esi]
call fcn.00d94344
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0xdaf7f4
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], bl
mov eax, dword [ebp - 4]
dec eax
cmp eax, 0
jl 0xdaf7f4
mov dword [ebp - 8], eax
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jle 0xdaf78f
mov ebx, 1
mov eax, esi
call fcn.00d9459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xe]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx]
sub dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0xdaf770
mov eax, esi
call fcn.00d9459c
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov cl, byte [ecx + ebx - 1]
mov bl, byte [ebp - 0x10]
sub cl, bl
mov byte [eax + edx - 1], cl
mov ebx, dword [ebp - 0xc]
cmp ebx, 2
jl 0xdaf7d5
mov eax, esi
call fcn.00d9459c
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, byte [ebp - 0xd]
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 2]
sub dl, cl
mov byte [eax + ebx - 1], dl
dec ebx
cmp ebx, 1
jne 0xdaf7b3
mov eax, esi
call fcn.00d9459c
mov edx, dword [esi]
mov dl, byte [edx]
mov cl, byte [ebp - 0xf]
sub dl, cl
mov byte [eax], dl
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0xdaf763
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005ad60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101258d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1005ad90
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5f10
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1005adc0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1005adc0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5f10
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1005aebe
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1005ade9
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 0x1005ae1d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5f10
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1005ae7c
sub eax, 1
je 0x1005ae7c
sub eax, 2
jne 0x1005aebe
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.100a3f74
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5f10
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1005ae9d
lfence
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1005aebe
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1005aebe
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5f10
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e5f10
mov esp, ebp
pop ebp
ret 4
Function at 0x401000
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x413004]
xor eax, esp
mov dword [esp + 0x400], eax
push 0x400
lea eax, [esp + 4]
push 0
push eax
call fcn.00402280
add esp, 0xc
lea eax, [esp]
push 5
push 0x40d2b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 0x40c]
push eax
push dword [esp + 0x40c]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.004016bb
add esp, 0x404
ret

Function at 0x401080
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x804
mov eax, dword [0x413004]
xor eax, esp
mov dword [esp + 0x800], eax
push 0x800
lea eax, [esp + 4]
push 0
push eax
call fcn.00402280
add esp, 0xc
lea eax, [esp]
push 5
push str.ECB:
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x80c]
push eax
push dword [esp + 0x80c]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004016bb
add esp, 0x804
ret

Function at 0x401290
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push ebx
push esi
push edi
push str.startHooks
push 0x40d2c4
call fcn.00401000
xor esi, esi
mov dword [esp + 0x28], 0
push esi
xorps xmm0, xmm0
mov dword [esp + 0x28], 0x44
push esi
push dword [esp + 0x78]
xor eax, eax
movlpd qword [esp + 0x3c], xmm0
push dword [esp + 0x78]
mov edi, 8
movlpd qword [esp + 0x48], xmm0
movups xmmword [esp + 0x24], xmm0
mov word [esp + 0x76], ax
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x66], xmm0
movlpd qword [esp + 0x6e], xmm0
mov dword [esp + 0x3c], str.winsta0default
mov word [esp + 0x64], ax
mov dword [esp + 0x60], 1
call fcn.00401100
mov ebx, eax
add esp, 0x18
cmp ebx, 0xffffffff
jne 0x40132f
push str.buildCmdline_failed_n
call fcn.00401000
add esp, 4
jmp 0x4013b9
inc ebx
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push ebx
mov esi, eax
push esi
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.00401100
push esi
push str.cmdline:__s_n
call fcn.00401080
add esp, 0x18
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401394
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed:__d_n
call fcn.00401000
add esp, 8
jmp 0x4013b9
push 0x4e20
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.startHooks
push str._s_____n
call fcn.00401000
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x54
ret
Function at 0x401930
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x412348
call fcn.00402040
push 1
call fcn.00401ad1
pop ecx
test al, al
je 0x401918
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00401a9f
mov byte [ebp - 0x24], al
mov eax, dword [0x413b9c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x401918
test eax, eax
jne 0x40183c
mov dword [0x413b9c], ecx
push 0x40d18c
push 0x40d170
call fcn.004040a6
pop ecx
pop ecx
test eax, eax
je 0x40181f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401908
push 0x40d16c
push 0x40d164
call fcn.00404061
pop ecx
pop ecx
mov dword [0x413b9c], 2
jmp 0x401841
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00401c25
pop ecx
call fcn.00401dc9
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x401872
push esi
call fcn.00401b91
pop ecx
test al, al
je 0x401872
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x40d160]
call esi
call fcn.00401dcf
mov esi, eax
cmp dword [esi], edi
je 0x401890
push esi
call fcn.00401b91
pop ecx
test al, al
je 0x401890
push dword [esi]
call fcn.0040434a
pop ecx
call fcn.00401eef
movzx esi, ax
call fcn.00404017
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00401f25
test al, al
je 0x40191f
test bl, bl
jne 0x4018be
call fcn.00404325
push edi
push 1
call fcn.00401c42
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x401908
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00401dd5
push esi
call fcn.00404370
push dword [ebp - 0x20]
call fcn.00404334
int3
call fcn.00401cf9
jmp 0x4017b2
Function at 0x10042810
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10042871
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10042854
cmp edi, 2
jb 0x10042854
cmp byte [esi], cl
jne 0x10042854
cmp byte [esi + 1], cl
jne 0x10042854
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10198cc8]
jmp 0x10042825
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10198cc8]
test edi, edi
jne 0x10042825
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100428a0
cmp cl, 0x23
jne 0x10042887
cmp byte [esi], cl
jne 0x10042887
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10198cc8]
test cl, cl
jne 0x10042878
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10042a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x10042a55
push 0x806
push str.C:Users_adminDesktopGamer_Moments222FedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x10042a62
mov dword [edi], 0
mov edx, 0x10198570
mov ecx, esi
call fcn.100428b0
mov esi, eax
test esi, esi
je 0x10042b52
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10042b48
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10042b48
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x10042b48
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10042b48
mov eax, dword [0x1028db88]
test eax, eax
je 0x10042adc
inc dword [eax + 0xac]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10042b48
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x10042b2d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1028db88]
add esp, 4
test eax, eax
je 0x10042b1a
dec dword [eax + 0xac]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10042b3f
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10042b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov bl, byte [edx]
movzx eax, bl
shr eax, 3
mov dword [ebp - 0xc], ecx
push esi
push edi
movsx ecx, byte [eax + 0x10261960]
xor eax, eax
test ecx, ecx
mov dword [ebp - 8], ecx
sete al
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x10042b94
lea ecx, [eax + edx]
cmp edx, ecx
lea esi, [edx + 1]
sbb al, al
and al, bl
mov byte [ebp - 3], al
cmp esi, ecx
jae 0x10042ba8
mov ah, byte [esi]
jmp 0x10042baa
xor ah, ah
lea esi, [edx + 2]
mov byte [ebp - 2], ah
cmp esi, ecx
jae 0x10042bb8
mov bl, byte [esi]
jmp 0x10042bba
xor bl, bl
add edx, 3
mov byte [ebp - 1], bl
cmp edx, ecx
jae 0x10042bc8
mov cl, byte [edx]
jmp 0x10042bca
xor cl, cl
mov edx, dword [ebp - 8]
movzx edi, ah
movzx eax, al
movzx esi, bl
movzx ebx, cl
mov byte [ebp + 0xb], cl
mov ecx, dword [edx*4 + 0x10261980]
and ecx, eax
mov eax, edi
and eax, 0x3f
shl ecx, 6
or ecx, eax
and edi, 0xc0
shl ecx, 6
mov eax, esi
and eax, 0x3f
and esi, 0xc0
or ecx, eax
mov eax, ebx
and eax, 0x3f
shr ebx, 2
or ebx, esi
shl ecx, 6
mov esi, dword [ebp - 8]
or ecx, eax
mov eax, dword [edx*4 + 0x10198a38]
shrx edx, ecx, eax
mov eax, dword [ebp - 0xc]
shr ebx, 2
or ebx, edi
mov edi, 0x80
shr ebx, 2
cmp edx, dword [esi*4 + 0x10261994]
mov dword [eax], edx
sbb eax, eax
xor ecx, ecx
and eax, 0x40
or ebx, eax
mov eax, edx
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0xffff
cmove ecx, edi
or ebx, ecx
cmp eax, edx
pop edi
sbb eax, eax
and eax, 0x100
or ebx, eax
mov eax, dword [esi*4 + 0x102619a8]
xor ebx, 0x2a
sarx eax, ebx, eax
pop esi
pop ebx
test eax, eax
je 0x10042cb8
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
xor eax, eax
cmp byte [ebp + 0xb], al
setne al
add ecx, eax
xor eax, eax
cmp byte [ebp - 1], al
setne al
add ecx, eax
xor eax, eax
cmp byte [ebp - 2], al
setne al
add ecx, eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], ecx
cmovl ecx, dword [ebp - 0x10]
mov dword [eax], 0xfffd
mov eax, ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10044db0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xe4], 0
jg 0x10044dd9
push 0x73b
push str.C:Users_adminDesktopGamer_Moments222FedorawareFedoraware_TF2includeImGuiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0xe4]
lea edx, [ebp + 8]
mov ebx, dword [edi + 0xec]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10198cc8]
sub esi, 1
jne 0x10044df3
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e8c], ebx
jne 0x10044e2a
push ecx
push dword [ebp + 8]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1005af40
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x10059990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5ad0], 0
lea esi, [edi + 0x5ad4]
je 0x10059a12
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100599cc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1005bc10
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.100431d0
mov edx, dword [esi]
mov ecx, 0x1028db84
push dword [edi + 0x5ad0]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5adc]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.100431d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10063780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x7c], 1
jle 0x10063799
push esi
lea ecx, [esi + 0x78]
call fcn.10066980
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100637b8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1005be20
mov dword [esi], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jns 0x100637de
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0xc]
call fcn.1005bc80
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jns 0x10063805
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x18]
call fcn.1005ba70
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x2c]
vpxor xmm0, xmm0, xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x24], eax
vmovdqu xmmword [esi + 0x60], xmm0
vmovq qword [esi + 0x70], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x40]
test ecx, ecx
jns 0x10063858
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x3c]
call fcn.1005c020
mov dword [esi + 0x3c], 0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jns 0x1006387f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x48]
call fcn.1005b940
mov dword [esi + 0x48], 0
mov ecx, dword [esi + 0x58]
test ecx, ecx
jns 0x100638a6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x54]
call fcn.1005c0a0
vpxor xmm0, xmm0, xmm0
mov dword [esi + 0x54], 0
lea eax, [ebp - 0x28]
mov dword [esi + 0x78], 0
mov ecx, esi
mov dword [esi + 0x7c], 1
vmovdqu ymmword [ebp - 0x28], ymm0
vmovq qword [ebp - 8], xmm0
push eax
vzeroupper
call fcn.1005b6b0
vmovss xmm0, dword [0x10279330]
pop edi
vmovss dword [esi + 0x8c], xmm0
pop esi
mov esp, ebp
pop ebp
ret