joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9df8e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0xa3e0a8]
mov edi, eax
add esp, 4
test edi, edi
jne 0x9df90d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x9df957
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 0x10], ebx
jmp 0x9df95d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x9df9bb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop dword [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x9df980
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x9df9e7
mov eax, dword [esi + 4]
push 1
push 0xa2a790
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0xa2a791
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x9df9c0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x9dfa40
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000040
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9dfa72
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x800c
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
pop esi
pop ebp
ret

Function at 0x9e1060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9e10b0
push ebx
mov ebx, dword [ebp + 8]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
and dl, 2
movzx ecx, cl
cmp dl, 2
cmovb ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x9e1072
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x9e1100
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9e113f
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0x9f9a72
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f96ef

Function at 0x9ffe95
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009ffd0b
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, ebx
nop
mov eax, ebx
inc eax
mov eax, ebx
mov eax, ebx
mov eax, 0xfe090319
cmp eax, 0xf661a3a2
inc eax
mov eax, 0x27d4016f
inc eax
cmp eax, 0xd9c13c86
mov eax, ebx
cmp eax, 0xffffffaa
cmp eax, 0xffffffe9
nop
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
mov eax, ebx
mov eax, 0xc1f0b091
cmp eax, 0x718f2255
inc eax
mov eax, 0xc12d4d22
inc eax
nop
inc eax
mov eax, 0xf3e948f4
mov eax, ebx
mov eax, ecx
cmp eax, 0xfffffffd
cmp eax, 0xffffffb8
nop
cmp eax, 0xffffffa2
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x33d50a46
cmp eax, 0xffffffee
mov eax, 0x3f3b01eb
mov eax, ecx
mov eax, 0x4b4d273
mov eax, ecx
mov eax, ebx
cmp eax, 0x9bd0bfb8
cmp eax, 0xc79329c0
cmp eax, 0x32c41a0
inc eax
mov eax, ebx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 0xdd361a3a
mov eax, ebx
mov eax, ecx
mov eax, ecx
cmp eax, 0x25
inc eax
mov eax, ebx
mov eax, 0xf9eb6a84
mov eax, 0xcd67069b
mov eax, ecx
cmp eax, 0x61
nop
cmp eax, 0x557813a6
cmp eax, 0x10
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
inc eax
nop
cmp eax, 0xe4087c06
mov eax, 0x90a12780
nop
mov eax, 0xd2b1669a
nop
mov eax, ecx
nop
mov eax, 0x6f0c4d9e
nop
cmp eax, 0xb4bbd34c
inc eax
mov eax, ebx
inc eax
cmp eax, 0x122e0edb
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ebx
mov eax, ebx
nop
mov eax, ebx
cmp eax, 0x37bc1bc5
mov eax, ecx
mov eax, ecx
cmp eax, 0x7a
mov eax, ecx
mov eax, ecx
cmp eax, 0x87eebaa7
cmp eax, 0xf024d28f
mov eax, ebx
inc eax
cmp eax, 0xffffffff
mov eax, ecx
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10021fc0
Capabilities:
Print debug messages
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13bc
call fcn.100aacc0
mov eax, dword [0x100e300c]
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 0x1002202c
push dword [0x100eb520]
lea eax, [esp + 0x24]
push dword [0x100eb51c]
push str._s___d__:
push 0x139b
push eax
call fcn.10021f70
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x10022049
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.10002c70
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10022063
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13b8]
xor ecx, esp
call fcn.10083f5f
mov esp, ebp
pop ebp
ret
cmp esi, 2
jne 0x1002207e
add eax, edi
lea ecx, [esp + 0x20]
add eax, ecx
push 0x100c207c
push eax
call fcn.10002cb0
add esp, 8
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x1c], eax
mov eax, dword [0x100eaf58]
mov dword [esp + 0x14], 0x100e5324
mov dword [esp + 0x18], ebx
cmp eax, 0xffffffff
je 0x100220a9
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
lea eax, [esp + 0x20]
push eax
push 0x100bf660
call fcn.10021f40
add esp, 8
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebx, ebx
cmp esi, 2
je 0x100220d4
cmp esi, 3
sete bl
inc ebx
mov eax, dword [0x100eaf58]
cmp eax, 0xffffffff
je 0x100220e3
push 0
push eax
call edi
mov eax, ebx
sub eax, 0
je 0x100220f1
sub eax, 2
je 0x1002210e
jmp 0x100220f7
cmp esi, 2
je 0x100220f7
int3
mov ecx, dword [esp + 0x13c4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10083f5f
mov esp, ebp
pop ebp
ret
push str.Exiting_on_SPEW_ABORT_n
call fcn.100222a0
add esp, 4
push 0
call fcn.100932ea
int3

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13b4
call fcn.100aacc0
mov eax, dword [0x100e300c]
xor eax, esp
mov dword [esp + 0x13b0], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x100e99ec], esi
jl 0x10022250
lea eax, [ebp + 0x10]
mov edx, 0x139b
push eax
push ecx
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
call fcn.10002c70
add esp, 0xc
cmp eax, 0xffffffff
je 0x10022250
mov eax, dword [0x100eaf58]
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 4], 0x100e5324
mov dword [esp + 8], str.developer
cmp eax, 0xffffffff
je 0x10022224
lea ecx, [esp + 4]
push ecx
push eax
call esi
lea eax, [esp + 0x10]
push eax
push 0x100bf660
call fcn.10021f40
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x100eaf58]
cmp eax, 0xffffffff
je 0x10022250
push 0
push eax
call esi
mov ecx, dword [esp + 0x13b4]
pop esi
xor ecx, esp
call fcn.10083f5f
mov esp, ebp
pop ebp
ret
Function at 0x10022830
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x100e9a48]
push esi
mov esi, edx
test eax, eax
jne 0x10022849
push esi
push eax
push ecx
call fcn.10086700
add esp, 0xc
pop esi
ret
push eax
push esi
push 1
push ecx
call fcn.10094d2f
mov eax, dword [0x100e9a2c]
add esp, 0x10
mov ecx, dword [0x100e9a24]
add eax, esi
mov dword [0x100e9a2c], eax
cmp eax, ecx
jle 0x1002288b
push str.g_CurFilePos___g_FileLen
push str._VCR_ASSERT_FAILED:__s__n
call fcn.100227d0
mov eax, dword [0x100e9a2c]
add esp, 8
mov ecx, dword [0x100e9a24]
cmp eax, ecx
jl 0x10022847
pop esi
jmp dword [0x100e4da4]

Function at 0x10053d90
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 0x10053dae
mov eax, dword [ecx]
push 1
call dword [eax + 0x220]
lea ecx, [esi + 0x134]
call fcn.1000d0a0
mov eax, dword [esi + 0x128]
mov dword [esi + 0x12c], 0
test eax, eax
js 0x10053dfa
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x10053df0
push ecx
call fcn.1008df3d
mov dword [esi + 0x120], 0
add esp, 4
mov eax, dword [esi + 0x128]
mov dword [esi + 0x124], 0
mov ecx, dword [esi + 0x120]
mov dword [esi + 0x130], ecx
test eax, eax
js 0x10053e2b
test ecx, ecx
je 0x10053e21
push ecx
call fcn.1008df3d
add esp, 4
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov eax, dword [esi + 0x114]
mov dword [esi + 0x118], 0
test eax, eax
js 0x10053e6c
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x10053e62
push ecx
call fcn.1008df3d
mov dword [esi + 0x10c], 0
add esp, 4
mov eax, dword [esi + 0x114]
mov dword [esi + 0x110], 0
mov ecx, dword [esi + 0x10c]
mov dword [esi + 0x11c], ecx
test eax, eax
js 0x10053e9d
test ecx, ecx
je 0x10053e93
push ecx
call fcn.1008df3d
add esp, 4
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov eax, dword [esi + 0x100]
mov dword [esi + 0x104], 0
test eax, eax
js 0x10053ede
mov ecx, dword [esi + 0xf8]
test ecx, ecx
je 0x10053ed4
push ecx
call fcn.1008df3d
mov dword [esi + 0xf8], 0
add esp, 4
mov eax, dword [esi + 0x100]
mov dword [esi + 0xfc], 0
mov ecx, dword [esi + 0xf8]
mov dword [esi + 0x108], ecx
test eax, eax
js 0x10053f0f
test ecx, ecx
je 0x10053f05
push ecx
call fcn.1008df3d
add esp, 4
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
lea ecx, [esi + 0xd4]
call fcn.1004fc20
cmp dword [esi + 0xdc], 0
jl 0x10053f4a
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x10053f40
push eax
call fcn.1008df3d
add esp, 4
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
pop edi
mov ecx, esi
pop esi
jmp fcn.1005da30
Function at 0x1005da30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aee30
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100e300c]
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.100206e0
cmp eax, 0xffffffff
je 0x1005dab8
push dword [esi + 0x40]
call fcn.1005c160
mov edi, eax
test edi, edi
je 0x1005dab8
mov edx, dword [edi + 0x14]
xor ecx, ecx
test edx, edx
jle 0x1005dab8
mov ebx, dword [edi + 8]
mov eax, ebx
cmp dword [eax], esi
je 0x1005da91
inc ecx
add eax, 4
cmp ecx, edx
jl 0x1005da83
jmp 0x1005dab8
cmp ecx, 0xffffffff
je 0x1005dab8
sub edx, ecx
dec edx
test edx, edx
jle 0x1005dab5
lea eax, [edx*4]
lea ecx, [ebx + ecx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.100868c0
add esp, 0xc
dec dword [edi + 0x14]
mov eax, dword [esi + 0x24]
cmp byte [eax + 1], 0
je 0x1005dace
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.10064a00
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.1005e810
mov ecx, dword [0x100e9ab0]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
je 0x1005db4a
nop dword [eax]
mov ecx, dword [0x100e9ab0]
push 0
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x100e9ab0]
mov edi, eax
push edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
call edx
mov ecx, dword [0x100e9ab0]
test al, al
mov eax, dword [ecx]
je 0x1005db32
push edi
call dword [eax + 0x78]
jmp 0x1005db38
push 0
push edi
call dword [eax + 0x40]
mov ecx, dword [0x100e9ab0]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
jne 0x1005db00
mov ecx, dword [0x100e9aa4]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x24]
push dword [esi + 0x48]
call fcn.100845c6
mov edi, dword [esi + 0x24]
add esp, 4
mov dword [esi + 0x44], 0
test edi, edi
je 0x1005dbdd
mov ecx, dword [edi + 0x34]
mov dword [edi + 0x38], 0
mov eax, dword [edi + 0x2c]
test ecx, ecx
js 0x1005dbc7
test eax, eax
je 0x1005db99
push eax
call fcn.1008df3d
mov dword [edi + 0x2c], 0
add esp, 4
mov ecx, dword [edi + 0x34]
mov dword [edi + 0x30], 0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], eax
test ecx, ecx
js 0x1005dbca
test eax, eax
je 0x1005dbbe
push eax
call fcn.1008df3d
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
jmp 0x1005dbca
mov dword [edi + 0x3c], eax
lea ecx, [edi + 0x18]
call fcn.1000d0a0
push 0x5c
push edi
call fcn.1008427b
add esp, 8
lea ecx, [esi + 0x54]
call fcn.1000d0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10073f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x178]
mov dword [esi], vtable.vgui::TextEntry.0
test ecx, ecx
je 0x10073f5d
mov eax, dword [ecx]
push 1
call dword [eax + 0x220]
mov ecx, dword [esi + 0x388]
test ecx, ecx
je 0x10073f71
mov eax, dword [ecx]
push 1
call dword [eax + 0x220]
mov eax, dword [esi + 0xfc]
mov dword [esi + 0x100], 0
test eax, eax
js 0x10073fb2
mov ecx, dword [esi + 0xf4]
test ecx, ecx
je 0x10073fa8
push ecx
call fcn.1008df3d
mov dword [esi + 0xf4], 0
add esp, 4
mov eax, dword [esi + 0xfc]
mov dword [esi + 0xf8], 0
mov ecx, dword [esi + 0xf4]
mov dword [esi + 0x104], ecx
test eax, eax
js 0x10073fe3
test ecx, ecx
je 0x10073fd9
push ecx
call fcn.1008df3d
add esp, 4
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
lea ecx, [esi + 0xe0]
call fcn.1000d0a0
lea ecx, [esi + 0xcc]
call fcn.1000d0a0
mov ecx, esi
pop esi
jmp fcn.1005da30

Function at 0x1007aa00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b24ce
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x100e300c]
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 edi, ecx
mov dword [ebp - 0x814], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x818], edi
mov dword [edi], vtable.vgui::Image.0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, dword [edi]
push 0xffffffffffffffff
mov dword [edi + 0x14], 0xffffffff
call dword [eax + 0x48]
mov dword [ebp - 4], 0
mov dword [edi], vtable.vgui::TextImage.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], eax
mov byte [ebp - 4], 1
xor eax, eax
mov dword [edi + 0x20], eax
mov ebx, 0x100bbe90
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x1c], eax
mov al, byte [edi + 0x34]
and al, 0xfd
mov dword [edi + 0x18], 0
and al, 0xfb
mov dword [edi + 0x2c], 0xffffffff
and al, 0xf7
mov dword [edi + 0x44], 0
test esi, esi
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], al
cmovne ebx, esi
cmp byte [ebx], 0x23
jne 0x1007ab1d
mov ecx, dword [0x100e9abc]
lea eax, [ebx + 1]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov dword [edi + 0x2c], eax
cmp eax, 0xffffffff
je 0x1007ab1d
mov ecx, dword [0x100e9abc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov edx, dword [edi]
mov ecx, edi
push 0
push eax
call dword [edx + 0x68]
jmp 0x1007ab45
mov ecx, dword [0x100e9abc]
lea edx, [ebp - 0x810]
push 0x800
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [edi]
lea ecx, [ebp - 0x810]
push 0
push ecx
mov ecx, edi
call dword [eax + 0x68]
mov eax, edi
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.10083f5f
mov esp, ebp
pop ebp
ret 4
Function at 0x10080940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xf0]
mov dword [esi], vtable.vgui::TreeView.0
test ecx, ecx
je 0x1008096d
test byte [esi + 0xbc], 4
je 0x10080963
push ecx
call fcn.1004ad30
mov dword [esi + 0xf0], 0
lea ecx, [esi + 0x100]
call fcn.1000d0a0
lea ecx, [esi + 0xc0]
call fcn.1004fc20
cmp dword [esi + 0xc8], 0
jl 0x100809b3
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x100809a9
push eax
call fcn.1008df3d
add esp, 4
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
pop edi
mov ecx, esi
pop esi
jmp fcn.1005da30

Function at 0x100931d2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10093211
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10093211
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10093211
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10093211
cmp dword [ecx + 0x74], 0xe
jbe 0x10093211
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10093dad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100aacc0
mov eax, dword [0x100e300c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1009a41d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10093def
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10093f4b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100aab50
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100e8fe8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1009e83f
mov ecx, dword [esi*4 + 0x100e8fe8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10093f44
cmp eax, dword [ecx + edi + 0x24]
jne 0x10093f44
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10093f44
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1009e83f
add esp, 0x14
test edx, edx
jl 0x10093f44
jg 0x10093eba
test eax, eax
jb 0x10093f44
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10093f44
jl 0x10093ed4
cmp dword [ebp - 0x1008], eax
ja 0x10093f44
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10093ef2
test ebx, ebx
je 0x10093f2b
cmp ecx, edi
jae 0x10093f2b
mov al, byte [ecx]
cmp al, 0xd
jne 0x10093f0c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10093f18
cmp byte [ecx + 1], 0xa
jne 0x10093f18
inc ecx
jmp 0x10093f18
movzx eax, al
movsx eax, byte [eax + 0x100e3420]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10093ef2
cmp edx, ebx
jne 0x10093ef2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10093f49
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10083f5f
leave
ret

Function at 0x1009d2c1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b82e4
push 0x100b82dc
push str.FlsAlloc
push 0x1f
call fcn.1009d0ec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009d2f5
push dword [ebp + 8]
mov ecx, esi
call dword [0x100b42b0]
call esi
jmp 0x1009d2fb
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4