joyce8/EMBER2024-capa huggingface dataset:
Function at 0x300d829f
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [esi], 0x3023cd18
je 0x300d82b3
call fcn.300fcf1d
lea eax, [esi + 0xc8]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
lea ecx, [esi + 0xbc]
call fcn.300046b5
lea ecx, [esi + 0xb0]
call fcn.300046b5
lea ecx, [esi + 0x10]
pop esi
jmp fcn.300d4e5e

Function at 0x300d835a
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x300d83b6
push dword [esi]
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x300d83b0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
je 0x300d83b0
push edi
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edi, eax
push edi
call fcn.3022ba80
inc eax
push eax
call fcn.300367dc
mov ebx, eax
push edi
push ebx
call fcn.3022bdd0
add esp, 0x10
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x300d865f
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push edi
xor edi, edi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x300d8699
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push 1
call esi
test eax, eax
jne 0x300d868f
push 0xd
call esi
test eax, eax
jne 0x300d868f
push dword [ebx]
call esi
test eax, eax
je 0x300d8692
xor edi, edi
inc edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x300d89d1
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
push 8
push dword [esp + 0x14]
mov edi, ecx
call fcn.300d8511
push dword [esp + 0xc]
call fcn.3022ba80
pop ecx
inc eax
push eax
push 0x2002
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x300d8a38
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
push dword [esp + 0xc]
push eax
call fcn.3022bdd0
pop ecx
pop ecx
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x300d8a38
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.kernel32.dll_GetLastError]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
ret 8
Function at 0x300ddee6
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x1c], 0xca
jne 0x300ddf1c
push esi
call fcn.300fcf1d
test eax, eax
pop ecx
jl 0x300ddf91
cmp byte [esi + 0x48], 0
je 0x300ddf15
xor eax, eax
mov dword [esi + 0x1c], 0xcf
inc eax
pop esi
ret
mov dword [esi + 0x1c], 0xcb
mov eax, dword [esi + 0x1c]
cmp eax, 0xcb
jne 0x300ddf93
mov eax, dword [esi + 0x198]
cmp byte [eax + 0x10], 0
je 0x300ddf80
mov eax, dword [esi + 8]
test eax, eax
je 0x300ddf3d
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x198]
push esi
call dword [eax]
test eax, eax
pop ecx
jl 0x300ddf91
je 0x300ddf7c
cmp eax, 2
je 0x300ddf80
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x300ddf32
cmp eax, 3
je 0x300ddf63
cmp eax, 1
jne 0x300ddf32
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x300ddf32
mov ecx, dword [esi + 0x124]
add dword [eax + 8], ecx
jmp 0x300ddf32
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x84]
mov dword [esi + 0x8c], eax
call fcn.300dddfc
pop esi
ret
cmp eax, 0xcc
je 0x300ddf8c
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x1c]
push 0xffffffffffffffec
mov dword [eax + 0x18], ecx
pop eax
pop esi
ret

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

Disassembly:
mov eax, dword [ecx + 0x14]
jmp 0x300ef542
cmp dword [eax + 0x20], 0
je 0x300ef532
cmp dword [eax + 0x24], 5
je 0x300ef538
cmp dword [eax + 0x24], 4
jne 0x300ef53f
mov dword [eax + 0x24], 6
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x300ef526
jmp fcn.300ef0c4

Function at 0x30103130
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push edi
mov dword [esi], 1
call ebx
mov ebp, dword [sym.imp.kernel32.dll_GetTickCount]
and dword [esp + 0x10], 0
call ebp
mov dword [esp + 0x14], eax
push edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esi + 0x1c], 0
push edi
je 0x30103188
call ebx
push 0x14
call dword [sym.imp.kernel32.dll_Sleep]
call ebp
sub eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jb 0x30103162
jmp 0x30103192
mov dword [esp + 0x14], 1
call ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4

Function at 0x3011852b
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x30243b90
mov dword [esi + 0x1c], 0x30243b78
call fcn.30118385
lea ecx, [esi + 0x120]
call fcn.3013409e
mov ecx, esi
pop esi
jmp fcn.300c2bed

Function at 0x3012b8ce
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x120]
mov eax, dword [ecx]
test eax, eax
mov dword [esi], 0x30246288
mov dword [esi + 0x1c], 0x30246270
je 0x3012b8ee
and dword [eax + 0x34], 0
mov byte [esi + 0x21], 1
call fcn.3013409e
mov ecx, esi
pop esi
jmp fcn.300c2bed
Function at 0x30150340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x2c]
add edx, edx
add esi, esi
test ecx, ecx
mov dword [esp + 0xc], edx
jle 0x301504d9
mov eax, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
push ebp
mov eax, ebx
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x28]
lea edx, [edx + eax*4]
mov ebp, edi
sub ebp, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
add eax, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jmp 0x301503b1
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [edx*4 + 0x302497f0]
lea eax, [edi + esi*2]
push eax
lea edx, [esi + edi]
push edx
push edi
push ebp
mov dword [esp + 0x30], ecx
call fcn.300fcf1d
lea eax, [edi + esi*2 + 0x10]
push eax
lea ecx, [esi + edi + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [edi + 0x10]
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.300fcf1d
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
lea eax, [ebx + esi*2]
push eax
add ebp, 0x20
lea ecx, [esi + ebx]
push ecx
mov dword [esp + 0x48], ebp
mov ebp, dword [edx*4 + 0x302497f0]
mov edx, dword [esp + 0x60]
push ebx
push edx
mov ecx, ebp
add edi, 0x20
call fcn.300fcf1d
lea eax, [ebx + esi*2 + 0x10]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esi + ebx + 0x10]
push ecx
lea edx, [ebx + 0x10]
push edx
add eax, 0x10
push eax
mov ecx, ebp
call fcn.300fcf1d
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
add eax, 0x20
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
lea edx, [eax + ecx*2]
add esp, 0x40
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
mov ecx, ebp
add ebx, 0x20
call fcn.300fcf1d
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx*2]
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.300fcf1d
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov eax, 0x10
add ebp, eax
add esp, 0x20
mov dword [esp + 0x30], ebp
add edx, eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
add ecx, eax
add ebp, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x301503ad
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
Function at 0x301ae930
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
push edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esi + 0x30], eax
mov byte [esi + 0x110], 0
mov byte [esi + 0x119], 1
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
lea edi, [esi + 0x150]
mov ebx, 0x28
mov ecx, dword [edi + 0xa0]
call fcn.301af9e0
mov ecx, dword [edi]
call fcn.301af9e0
mov ecx, dword [edi + 0x140]
call fcn.301af9e0
add edi, 4
dec ebx
jne 0x301ae963
mov edi, dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
push 0
push 1
lea ebx, [esi + 0x348]
push ebx
call edi
test eax, eax
je 0x301ae9b2
mov ebp, dword [sym.imp.kernel32.dll_Sleep]
push 0
call ebp
push 0
push 1
push ebx
call edi
test eax, eax
jne 0x301ae9a3
mov edi, dword [esi + 0x34c]
test edi, edi
je 0x301ae9e4
lea ebp, [esi + 0x11c]
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
push ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.301ade60
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x301ae9c2
push 0
push ebx
call dword [sym.imp.kernel32.dll_InterlockedExchange]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov edi, dword [esi + 0x28]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + 0x2c]
sub eax, ebp
sbb ecx, ebx
add edi, eax
adc edx, ecx
push 0xa
mov ecx, esi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edx
call fcn.300fcf1d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x301aef80
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esp + 4]
add esp, 0x24
ret

Function at 0x301af000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov cl, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
neg cl
lea eax, [esp]
push eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], 0
sbb ecx, ecx
and ecx, 0xffffffe0
add ecx, 0x40
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
pop ecx
ret 0xc
Function at 0x3022dab7
Capabilities:
Terminate process

Disassembly:
push 8
push 0x3026ff80
call fcn.3022c09c
push 8
call fcn.300fcf1d
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x30378c84], esi
jne 0x3022daeb
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x30378c80], esi
mov al, byte [ebp + 0x10]
mov byte [0x30378c7c], al
cmp dword [ebp + 0xc], edi
jne 0x3022db35
cmp dword [0x3037a2f0], edi
je 0x3022db25
mov eax, dword [0x3037a2ec]
sub eax, 4
mov dword [0x3037a2ec], eax
cmp eax, dword [0x3037a2f0]
jb 0x3022db25
mov eax, dword [eax]
cmp eax, edi
je 0x3022db06
call eax
jmp 0x3022db06
push 0x30274034
mov eax, 0x3027402c
call fcn.3022da9f
pop ecx
push 0x3027403c
mov eax, 0x30274038
call fcn.3022da9f
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.3022db66
cmp dword [ebp + 0x10], edi
jne 0x3022db74
mov dword [0x30378c84], esi
push dword [ebp + 8]
call fcn.3022da5d
xor edi, edi
xor esi, esi
inc esi
call fcn.3022c0d7
ret
Function at 0x3022f681
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x302a3bc0]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x3022f6b2
xor eax, eax
jmp 0x3022f83b
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x30379fa0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x3022f6ee
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.300fcf1d
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x3022f7c9
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x3022f807
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x3022f752
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x3022f743
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x3022f723
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x3022f792
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x3022f79b
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x3022f714
jmp 0x3022f79d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x3022f836
cmp dword [ebp - 0x6c], edi
je 0x3022f807
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x3022f7fc
call fcn.3022dc1c
mov dword [eax], 9
call fcn.3022dc25
mov dword [eax], esi
jmp 0x3022f831
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x3022f7f1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x3022f79d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x3022f79d
push dword [ebp - 0x6c]
call fcn.3022dc2e
pop ecx
jmp 0x3022f831
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x3022f81f
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x3022f81f
xor eax, eax
jmp 0x3022f839
call fcn.3022dc1c
mov dword [eax], 0x1c
call fcn.3022dc25
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x3022f839
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.3022c9c7
add ebp, 0x3a0
leave
ret
Function at 0x3022fc49
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x302a3bc0]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x302a4570]
je 0x3022fc7e
inc eax
cmp eax, 0x13
jb 0x3022fc6f
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x302a4570]
jne 0x3022fda4
mov eax, dword [0x30378cbc]
cmp eax, 1
je 0x3022fd7c
cmp eax, edx
jne 0x3022fcae
cmp dword [0x302a400c], 1
je 0x3022fd7c
cmp ecx, 0xfc
je 0x3022fda4
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x3022fce4
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.3022bdd0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.3022ba80
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x3022fd18
mov eax, edi
push eax
call fcn.3022ba80
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x30235540
push edi
call fcn.3022bbe0
add esp, 0x10
push edi
call fcn.3022ba80
push dword [esi + 0x302a4574]
mov ebx, eax
call fcn.3022ba80
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.3022bf60
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.3022bdd0
push edi
push ebx
call fcn.3022bde0
push 0x302706d8
push ebx
call fcn.3022bde0
push dword [esi + 0x302a4574]
push ebx
call fcn.3022bde0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.300fcf1d
add esp, 0x2c
jmp 0x3022fda4
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x302a4574]
push dword [esi]
call fcn.3022ba80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.3022c9c7
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret

Function at 0x30230c10
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x302a3bc0]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.30230be0
mov eax, 0x30000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.3022b3a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x30230c72
cmp dword [ebp - 0x1c], 5
jb 0x30230c8a
jmp 0x30230c86
cmp dword [ebp - 0x10], 1
jne 0x30230c8a
cmp dword [ebp - 0x1c], 4
ja 0x30230c86
jne 0x30230c8a
cmp dword [ebp - 0x18], 0
jbe 0x30230c8a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x30270f4c
call fcn.3007819c
test eax, eax
jge 0x30230cab
mov byte [0x302a5508], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.3022c9c7
add ebp, 0x78
leave
ret
Function at 0x2cd3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02cd378f
jae 0x2cd370e
xor ecx, ecx
call fcn.02cd378f
jae 0x2cd373d
xor eax, eax
call fcn.02cd378f
jae 0x2cd374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02cd378f
adc al, al
jae 0x2cd372f
jne 0x2cd3779
stosb byte es:[edi], al
jmp 0x2cd3711
call fcn.02cd379b
sub ecx, ebx
jne 0x2cd3756
call fcn.02cd3799
jmp 0x2cd3775
lodsb al, byte [esi]
shr eax, 1
je 0x2cd3783
adc ecx, ecx
jmp 0x2cd3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02cd3799
cmp eax, 0x7d00
jae 0x2cd3772
cmp ah, 5
jae 0x2cd3773
cmp eax, 0x7f
ja 0x2cd3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2cd3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x1003cbb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10172890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
lea eax, [edi + 0x10]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x10], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003cca0
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, [edi + 0x10]
call fcn.100586d0
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1003f4d0
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 0x1003f531
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1003f514
cmp edi, 2
jb 0x1003f514
cmp byte [esi], cl
jne 0x1003f514
cmp byte [esi + 1], cl
jne 0x1003f514
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101a69c0]
jmp 0x1003f4e5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101a69c0]
test edi, edi
jne 0x1003f4e5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1003f560
cmp cl, 0x23
jne 0x1003f547
cmp byte [esi], cl
jne 0x1003f547
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 + 0x101a69c0]
test cl, cl
jne 0x1003f538
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1003f6f0
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 0x1003f715
push 0x806
push str.C:UsersWraithDesktopFedoraware_masterFedorawareFedoraware_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 0x1003f722
mov dword [edi], 0
mov edx, 0x101a6268
mov ecx, esi
call fcn.1003f570
mov esi, eax
test esi, esi
je 0x1003f812
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 0x1003f808
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 0x1003f808
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x1003f808
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 0x1003f808
mov eax, dword [0x1029c718]
test eax, eax
je 0x1003f79c
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 0x1003f808
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 0x1003f7ed
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1029c718]
add esp, 4
test eax, eax
je 0x1003f7da
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 0x1003f7ff
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