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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47ab58
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42e249
inc eax
mov dword [esi + 0x10], eax
jmp 0x42e35c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42e25d
mov eax, 0xffffffc7
jmp 0x42e35e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42e26e
cmp dword [esi + 8], eax
jne 0x42e25d
cmp dword [esi + 8], eax
jne 0x42e287
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42e287
mov eax, 0xffffffc7
jmp 0x42e35e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42e29b
push eax
mov ecx, ebx
call fcn.0042da40
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401c80
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42e2cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401ca0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042d1b0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42e2ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4931a0
call fcn.00401e80
mov eax, dword [esp + 0x38]
jmp 0x42e35e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042e070
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42e343
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042e090
mov esi, eax
test esi, esi
jne 0x42e373
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042e070
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42e315
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4931a0
call fcn.00401e80
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4931a0
call fcn.00401e80
mov eax, esi
jmp 0x42e35e

Function at 0x432d40
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x432da0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x432da0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x432da0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x432da0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x432de0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43eb40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004742a8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e4a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004741d6
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00470a97
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00470a97
push 1
push 0
push 0
mov ecx, esi
call fcn.00470a3f
push 1
push 0
push 1
mov ecx, esi
call fcn.00470a3f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047431a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ecc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004742a8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e4a0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004741d6
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43ed84
cmp dword [esp + 0x40], 1
jne 0x43ed82
cmp ecx, eax
jge 0x43ed84
mov eax, ecx
cmp eax, 0xc8
jge 0x43ed90
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043eb40
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047431a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f590
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b513
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046eeb7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00474550
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00475a6c
test eax, eax
je 0x43f6ac
mov ecx, dword [esp + 0x3c]
call fcn.0047457d
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f670
push edi
mov ecx, esi
call fcn.00471bde
mov ecx, esi
call fcn.0043f850
cmp dword [esp + 0x38], 1
jne 0x43f6a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00471d19
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4418a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4418d3
push esi
call fcn.0044fc40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4418cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441959
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441942
mov eax, dword [esi + 8]
test eax, eax
je 0x4418f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44193e
cmp eax, 2
je 0x441942
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4418ea
cmp eax, 3
je 0x44191d
cmp eax, 1
jne 0x4418ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4418ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4418ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441980
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441968
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441980
add esp, 4
pop esi
ret

Function at 0x4421f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442211
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442211
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442211
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x46fcad
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46fce5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046dd64
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046dd3c
jmp 0x46fcf1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47139b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4713dd
call fcn.00476e57
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4713dd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4713d4
xor eax, eax
jmp 0x4713e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004713eb
pop edi
pop esi
pop ebx
ret 4
Function at 0x477387
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4773b5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4773d3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004772ed
jmp 0x4773d3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4773d3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004772ed
test edi, edi
mov eax, edi
jne 0x4773bd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0xdd3e1c
Capabilities:
Encode data using xor

Disassembly:
fisttp word [ecx + 0x42]
xchg esp, eax
push ebx
insb byte es:[edi], dx
push edi
inc edx
push edx
jmp 0xdd3e26
pushal
call 0xdd3e2c
pop ebp
sub ebp, 0x10
sub ebp, 0x9d3e1c
jmp 0xdd3e42
mov eax, 0x9d3e1c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ba
mov edx, 0x1ee05669
mov edx, 0xba000005
imul edx, dword [esi - 0x20], 0x4010301e
xor byte [eax], dl
inc eax
dec ecx
jne 0xdd3e59
jmp 0xdd3e6c
loop 0xdd3e12
loop 0xdd3e50
push ebp
imul ebp, dword [ecx + 0x69], 0x6991a8e8
imul ebp, dword [ecx + 0x6a], 0x6961d1a4
imul ebp, dword [ecx - 0x2d], 0x69696941
call 0x6a46d021
imul ebp, dword [edx - 0x5c], 0x696961d1
imul edx, ebx, 0x69696941
sahf
mov ebp, dword [edx - 0x5f]
loop 0xdd3e74
imul ebp, dword gs:[ecx + 0x69], 0xe439ac6a
or eax, 0x6de0954d
dec ebp
add dword [ecx + 4], edi
dec eax
imul eax, dword [ecx], 0x6912b865
push 0xeb014d45
xchg ebx, eax
stosd dword es:[edi], eax
cmp eax, dword [ecx + 0x6969696c]
add byte [ebx + 0x69], 0x69
imul edi, dword [esp], 0xe2694d05
in al, dx
popal
imul ebp, dword [ecx + 0x69], 0x6965fce2
imul ebp, dword [ecx - 0x1e], 0x696979e4
imul ebp, dword [eax + 0x6b586b80], 0x206dabea
in al, dx
popfd
xchg esi, eax
xchg esi, eax
xchg esi, eax
xor al, 0xab
imul esp, edx, 0x696d4de5
imul ebp, dword [ecx + 1], 0x69480479
add dword [ebp - 0x48], esp
adc ch, byte [ecx + 0x68]
inc ebp
dec ebp
in al, 0xd
dec ebp
xchg ebp, eax
loopne 0xdd3f5f
dec ebp
sub dword [ecx + ebp*2 + 0x69], 0x6b5c8069
imul ebp, dword [ecx + 0x3c], 0x694d05e4
xchg esi, eax
sbb al, 0x65
xchg esi, eax
sbb al, 0x61
or dword [edi], 0xe2696969
aam 0x61
imul ebp, dword [ecx + 0x69], 0xbb5aa05a
ljmp 0x27ed
insd dword es:[edi], dx
adc ah, 0x96
xchg esi, eax
xchg esi, eax
inc eax
cmp eax, 0xa8ea6b50
outsd dx, dword [esi]
ljmp 0x806c
Function at 0x10022a10
Capabilities:
Print debug messages
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13bc
call fcn.100aeb10
mov eax, dword [0x100e600c]
xor eax, esp
mov dword [esp + 0x13b8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [ebp + 0x14]
mov ebx, edx
push edi
xor edi, edi
mov dword [esp + 0x10], ecx
cmp esi, 2
jne 0x10022a7c
push dword [0x100ee558]
lea eax, [esp + 0x24]
push dword [0x100ee554]
push str._s___d__:
push 0x139b
push eax
call fcn.100229c0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x10022a99
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov edx, 0x139b
lea ecx, [esp + 0x28]
push eax
sub edx, edi
add ecx, edi
call fcn.10002c50
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10022ab3
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13b8]
xor ecx, esp
call fcn.1008764f
mov esp, ebp
pop ebp
ret
cmp esi, 2
jne 0x10022ace
add eax, edi
lea ecx, [esp + 0x20]
add eax, ecx
push 0x100c8a38
push eax
call fcn.10002c90
add esp, 8
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x1c], eax
mov eax, dword [0x100edf90]
mov dword [esp + 0x14], 0x100e8330
mov dword [esp + 0x18], ebx
cmp eax, 0xffffffff
je 0x10022af9
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
lea eax, [esp + 0x20]
push eax
push 0x100c6004
call fcn.10022990
add esp, 8
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebx, ebx
cmp esi, 2
je 0x10022b24
cmp esi, 3
sete bl
inc ebx
mov eax, dword [0x100edf90]
cmp eax, 0xffffffff
je 0x10022b33
push 0
push eax
call edi
mov eax, ebx
sub eax, 0
je 0x10022b41
sub eax, 2
je 0x10022b5e
jmp 0x10022b47
cmp esi, 2
je 0x10022b47
int3
mov ecx, dword [esp + 0x13c4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008764f
mov esp, ebp
pop ebp
ret
push str.Exiting_on_SPEW_ABORT_n
call fcn.10022cf0
add esp, 4
push 0
call fcn.100963aa
int3

Function at 0x10022c00
Capabilities:
Print debug messages
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13b4
call fcn.100aeb10
mov eax, dword [0x100e600c]
xor eax, esp
mov dword [esp + 0x13b0], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x100eca20], esi
jl 0x10022ca0
lea eax, [ebp + 0x10]
mov edx, 0x139b
push eax
push ecx
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
call fcn.10002c50
add esp, 0xc
cmp eax, 0xffffffff
je 0x10022ca0
mov eax, dword [0x100edf90]
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 4], 0x100e8330
mov dword [esp + 8], str.developer
cmp eax, 0xffffffff
je 0x10022c74
lea ecx, [esp + 4]
push ecx
push eax
call esi
lea eax, [esp + 0x10]
push eax
push 0x100c6004
call fcn.10022990
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x100edf90]
cmp eax, 0xffffffff
je 0x10022ca0
push 0
push eax
call esi
mov ecx, dword [esp + 0x13b4]
pop esi
xor ecx, esp
call fcn.1008764f
mov esp, ebp
pop ebp
ret
Function at 0x10023290
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x100eca80]
push esi
mov esi, edx
test eax, eax
jne 0x100232a9
push esi
push eax
push ecx
call fcn.10089ec0
add esp, 0xc
pop esi
ret
push eax
push esi
push 1
push ecx
call fcn.10097def
mov eax, dword [0x100eca64]
add esp, 0x10
mov ecx, dword [0x100eca58]
add eax, esi
mov dword [0x100eca64], eax
cmp eax, ecx
jle 0x100232eb
push str.g_CurFilePos___g_FileLen
push str._VCR_ASSERT_FAILED:__s__n
call fcn.10023230
mov eax, dword [0x100eca64]
add esp, 8
mov ecx, dword [0x100eca58]
cmp eax, ecx
jl 0x100232a7
pop esi
jmp dword [0x100e7dc4]

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

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xd0]
mov dword [esi], vtable.vgui::Menu.0
test ecx, ecx
je 0x10056e9e
mov eax, dword [ecx]
push 1
call dword [eax + 0x220]
lea ecx, [esi + 0x134]
call fcn.1000d750
mov ecx, dword [esi + 0x128]
mov dword [esi + 0x12c], 0
mov eax, dword [esi + 0x120]
test ecx, ecx
js 0x10056f19
test eax, eax
je 0x10056ee2
push eax
call fcn.10090ffd
add esp, 4
mov dword [esi + 0x120], 0
mov ecx, dword [esi + 0x128]
xor eax, eax
mov dword [esi + 0x124], 0
mov dword [esi + 0x130], eax
test ecx, ecx
js 0x10056f1f
test eax, eax
je 0x10056f0d
push eax
call fcn.10090ffd
add esp, 4
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
jmp 0x10056f1f
mov dword [esi + 0x130], eax
mov ecx, dword [esi + 0x114]
mov dword [esi + 0x118], 0
mov eax, dword [esi + 0x10c]
test ecx, ecx
js 0x10056f8f
test eax, eax
je 0x10056f58
push eax
call fcn.10090ffd
add esp, 4
mov dword [esi + 0x10c], 0
mov ecx, dword [esi + 0x114]
xor eax, eax
mov dword [esi + 0x110], 0
mov dword [esi + 0x11c], eax
test ecx, ecx
js 0x10056f95
test eax, eax
je 0x10056f83
push eax
call fcn.10090ffd
add esp, 4
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
jmp 0x10056f95
mov dword [esi + 0x11c], eax
mov ecx, dword [esi + 0x100]
mov dword [esi + 0x104], 0
mov eax, dword [esi + 0xf8]
test ecx, ecx
js 0x10057005
test eax, eax
je 0x10056fce
push eax
call fcn.10090ffd
add esp, 4
mov dword [esi + 0xf8], 0
mov ecx, dword [esi + 0x100]
xor eax, eax
mov dword [esi + 0xfc], 0
mov dword [esi + 0x108], eax
test ecx, ecx
js 0x1005700b
test eax, eax
je 0x10056ff9
push eax
call fcn.10090ffd
add esp, 4
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
jmp 0x1005700b
mov dword [esi + 0x108], eax
lea ecx, [esi + 0xd4]
call fcn.100518b0
cmp dword [esi + 0xdc], 0
jl 0x10057046
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x1005703c
push eax
call fcn.10090ffd
add esp, 4
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
pop edi
mov ecx, esi
pop esi
jmp fcn.10060a00
Function at 0x10060a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1e00
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100e600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.vgui::Panel.0
call fcn.10021190
cmp eax, 0xffffffff
je 0x10060a8c
push dword [esi + 0x40]
call fcn.1005f050
mov edi, eax
test edi, edi
je 0x10060a8c
mov edx, dword [edi + 0x14]
xor ecx, ecx
test edx, edx
jle 0x10060a8c
mov ebx, dword [edi + 8]
mov eax, ebx
cmp dword [eax], esi
je 0x10060a61
inc ecx
add eax, 4
cmp ecx, edx
jl 0x10060a53
jmp 0x10060a8c
cmp ecx, 0xffffffff
je 0x10060a8c
mov eax, edx
sub eax, ecx
dec eax
test eax, eax
jle 0x10060a86
shl eax, 2
lea ecx, [ebx + ecx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.1008a0f0
mov edx, dword [edi + 0x14]
add esp, 0xc
lea eax, [edx - 1]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x24]
cmp byte [eax + 1], 0
je 0x10060aa2
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.10067ae0
mov ax, word [esi + 0x50]
mov ecx, 0xffbf
and ax, cx
mov ecx, esi
or ax, 1
push 0
mov word [esi + 0x50], ax
call fcn.10061880
mov ecx, dword [0x100ecaec]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
je 0x10060b1b
mov ecx, dword [0x100ecaec]
push 0
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x100ecaec]
mov edi, eax
push edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
call edx
mov ecx, dword [0x100ecaec]
test al, al
mov eax, dword [ecx]
je 0x10060b03
push edi
call dword [eax + 0x78]
jmp 0x10060b09
push 0
push edi
call dword [eax + 0x40]
mov ecx, dword [0x100ecaec]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
jne 0x10060ad1
mov ecx, dword [0x100ecae4]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x24]
push dword [esi + 0x48]
call fcn.10087dde
mov edi, dword [esi + 0x24]
add esp, 4
mov dword [esi + 0x44], 0
test edi, edi
je 0x10060bad
mov ecx, dword [edi + 0x34]
mov dword [edi + 0x38], 0
mov eax, dword [edi + 0x2c]
test ecx, ecx
js 0x10060b97
test eax, eax
je 0x10060b6c
push eax
call fcn.10090ffd
add esp, 4
mov dword [edi + 0x2c], 0
mov ecx, dword [edi + 0x34]
xor eax, eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x3c], eax
test ecx, ecx
js 0x10060b9a
test eax, eax
je 0x10060b8e
push eax
call fcn.10090ffd
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
jmp 0x10060b9a
mov dword [edi + 0x3c], eax
lea ecx, [edi + 0x18]
call fcn.1000d750
push 0x5c
push edi
call fcn.10087a93
add esp, 8
lea ecx, [esi + 0x54]
call fcn.1000d750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret