joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4302122f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4b682e15
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x4ba7a1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3390
cmp edx, dword [eax]
je 0x4ba7c3
add eax, 8
inc ecx
cmp eax, 0x4c3420
jl 0x4ba7b4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3390]
jne 0x4ba8f1
mov eax, dword [0x4c7d30]
cmp eax, 1
je 0x4ba8cb
test eax, eax
jne 0x4ba7f4
cmp dword [0x4c32b8], 1
je 0x4ba8cb
cmp edx, 0xfc
je 0x4ba8f1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba82b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bb180
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb610
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba86e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb610
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfb04
push edi
call fcn.004bd4e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bb180
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb190
lea eax, [ebp - 0xa0]
push 0x4bfae4
push eax
call fcn.004bb190
push dword [esi + 0x4c3394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb190
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd454
add esp, 0x2c
pop edi
jmp 0x4ba8f1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3394]
push 0
push eax
push dword [esi]
call fcn.004bb610
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]
pop esi
leave
ret
Function at 0x783da0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a6000]
push edi
jmp 0x783dba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x783dc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x783db0
mov eax, 1
add ebx, ebx
jne 0x783dd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x783de4
jne 0x783e03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x783e03
dec eax
add ebx, ebx
jne 0x783df0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x783dc8
add ebx, ebx
jne 0x783dff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x783e55
xor ecx, ecx
sub eax, 3
jb 0x783e1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x783e8a
sar eax, 1
mov ebp, eax
jmp 0x783e26
add ebx, ebx
jne 0x783e26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x783df4
inc ecx
add ebx, ebx
jne 0x783e34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x783df4
add ebx, ebx
jne 0x783e41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x783e36
jne 0x783e52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x783e36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x783e74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x783e66
jmp 0x783db6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x783e74
add edi, ecx
jmp 0x783db6
pop esi
mov edi, esi
mov ecx, 0x193819
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x783eaf
cmp byte [edi], 0x1a
jne 0x783e94
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x783e92
lea edi, [esi + 0x380000]
mov eax, dword [edi]
or eax, eax
je 0x783f00
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x389c3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x389d80]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x783eb5
mov ecx, edi
jns 0x783ee4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x389d88]
or eax, eax
je 0x783efa
mov dword [ebx], eax
add ebx, 4
jmp 0x783ed2
call dword [esi + 0x389d84]
mov ebp, dword [esi + 0x389d8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x783f34
sub esp, 0xffffff80
jmp 0x5a1fc0
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x407467
pop dword [ebp - 8]
mov eax, 0x407467
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x761a73d5
sub dword [ebp - 0x18], 0x27c82e8a
mov dword [ebp - 0x14], 0xf4ff4076
add dword [ebp - 0x14], 0x3d340bcf
mov dword [ebp - 0x10], 0x5e321f48
add dword [ebp - 0x10], 0xee1a24e6
mov dword [ebp - 0xc], 0x338cbe14
add dword [ebp - 0xc], 0xcc7341ec
lea eax, [ebp - 0x18]
push eax
mov eax, 0x69273a2b
sub eax, 0x68e6b9b3
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x501c3d26
add dword [ebp - 0x18], 0x24562c30
mov dword [ebp - 0x14], 0x56f5ce72
sub dword [ebp - 0x14], 0x15896cfd
mov dword [ebp - 0x10], 0x433bc142
add dword [ebp - 0x10], 0x2033ab2a
mov dword [ebp - 0xc], 0x7c1dce0c
sub dword [ebp - 0xc], 0x7c1dce0c
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x137bb788
add eax, 0xecc4c8f4
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x36984
push 0
call eax
mov ecx, 0x9ee6e76d
add ecx, 0x61195e8c
xor esi, esi
add esi, eax
mov edx, 0xf313e5a8
add edx, 0xd312e58
add edx, dword [ebp - 8]
mov ebx, 0x73f053e8
xor dword [ebp - 4], eax
mov edi, dword [edx]
xor edi, ebx
xor dword [ebp - 4], esi
mov dword [esi], edi
sub dword [ebp - 4], ecx
add esi, 0x5aecc9c8
sub esi, 0x5aecc9c4
add edx, 0x46fb0527
add edx, 0xb904fadd
loop 0x407580
add eax, 0x462619f0
sub eax, 0x46250f39
mov ebx, eax
add eax, 5
mov ecx, 0x5ac46f4a
sub ecx, 0x5a846f4a
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x671bd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x186000]
push edi
or ebp, 0xffffffff
jmp 0x671bf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x671bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x671be8
mov eax, 1
add ebx, ebx
jne 0x671c0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x671c1c
jne 0x671c3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x671c3b
dec eax
add ebx, ebx
jne 0x671c28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x671c00
add ebx, ebx
jne 0x671c37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x671c8d
xor ecx, ecx
sub eax, 3
jb 0x671c53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x671cc2
sar eax, 1
mov ebp, eax
jmp 0x671c5e
add ebx, ebx
jne 0x671c5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x671c2c
inc ecx
add ebx, ebx
jne 0x671c6c
pop es
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x671c2c
add ebx, ebx
jne 0x671c79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x671c6e
jne 0x671c8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x671c6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x671cac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x671c9e
jmp 0x671bee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x671cac
add edi, ecx
jmp 0x671bee
pop esi
mov edi, esi
mov ecx, 0x6d42
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x671cca
cmp byte [edi], 0x1e
jne 0x671cca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x671ccf
lea edi, [esi + 0x26e000]
mov eax, dword [edi]
or eax, eax
je 0x671d47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x275b54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x275c6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x671cfc
mov ecx, edi
jns 0x671d2b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x275c70]
or eax, eax
je 0x671d41
mov dword [ebx], eax
add ebx, 4
jmp 0x671d19
call dword [esi + 0x275c80]
mov ebp, dword [esi + 0x275c74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x671d7b
sub esp, 0xffffff80
jmp 0x4ed466
Function at 0x4b442e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5768
dec ebx
add byte [eax + 0x20], ch
inc esp
dec ebx
add byte [ecx], ah
add byte [eax], al
add byte [eax + 0x64], dl
mov dword [0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x4b9fa8], 0xffffffff
or dword [0x4b9fac], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4b9fa4]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4b9fa0]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4b9fb0], eax
call fcn.004b45a5
cmp dword [0x4b8260], ebx
jne 0x4b44a9
push 0x4b45a2
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004b4590
push 0x4b800c
push 0x4b8008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4b9f9c]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0x4b9f98]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x4b8004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4b453c
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x4b4510
cmp al, 0x22
jne 0x4b4502
cmp byte [esi], 0x22
jne 0x4b4519
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x4b4523
cmp al, 0x20
jbe 0x4b4515
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4b4547
movzx eax, word [ebp - 0x2c]
jmp 0x4b454a
cmp byte [esi], 0x20
jbe 0x4b4519
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4b453c
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x10002800
Capabilities:
Print debug messages
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13bc
call fcn.100a35c0
mov eax, dword [0x100f2010]
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 0x1000286c
push dword [0x100f8584]
lea eax, [esp + 0x24]
push dword [0x100f8580]
push str._s___d__:
push 0x139b
push eax
call fcn.100027b0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x10002889
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.10002730
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100028a3
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13b8]
xor ecx, esp
call fcn.1007c473
mov esp, ebp
pop ebp
ret
cmp esi, 2
jne 0x100028be
add eax, edi
lea ecx, [esp + 0x20]
add eax, ecx
push 0x100b5ea8
push eax
call fcn.10002770
add esp, 8
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x1c], eax
mov eax, dword [0x100f8244]
mov dword [esp + 0x14], 0x100f2cd0
mov dword [esp + 0x18], ebx
cmp eax, 0xffffffff
je 0x100028e9
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
lea eax, [esp + 0x20]
push eax
push 0x100b5a4c
call fcn.10002700
add esp, 8
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebx, ebx
cmp esi, 2
je 0x10002914
cmp esi, 3
sete bl
inc ebx
mov eax, dword [0x100f8244]
cmp eax, 0xffffffff
je 0x10002923
push 0
push eax
call edi
mov eax, ebx
sub eax, 0
je 0x10002931
sub eax, 2
je 0x1000294e
jmp 0x10002937
cmp esi, 2
je 0x10002937
int3
mov ecx, dword [esp + 0x13c4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007c473
mov esp, ebp
pop ebp
ret
push str.Exiting_on_SPEW_ABORT_n
call fcn.10002ae0
add esp, 4
push 0
call fcn.100864cb
int3

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13b4
call fcn.100a35c0
mov eax, dword [0x100f2010]
xor eax, esp
mov dword [esp + 0x13b0], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x100f695c], esi
jl 0x10002a90
lea eax, [ebp + 0x10]
mov edx, 0x139b
push eax
push ecx
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
call fcn.10002730
add esp, 0xc
cmp eax, 0xffffffff
je 0x10002a90
mov eax, dword [0x100f8244]
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 4], 0x100f2cd0
mov dword [esp + 8], str.developer
cmp eax, 0xffffffff
je 0x10002a64
lea ecx, [esp + 4]
push ecx
push eax
call esi
lea eax, [esp + 0x10]
push eax
push 0x100b5a4c
call fcn.10002700
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x100f8244]
cmp eax, 0xffffffff
je 0x10002a90
push 0
push eax
call esi
mov ecx, dword [esp + 0x13b4]
pop esi
xor ecx, esp
call fcn.1007c473
mov esp, ebp
pop ebp
ret
Function at 0x10003080
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x100f69b8]
push esi
mov esi, edx
test eax, eax
jne 0x10003099
push esi
push eax
push ecx
call fcn.1007e880
add esp, 0xc
pop esi
ret
push eax
push esi
push 1
push ecx
call fcn.1008c374
mov eax, dword [0x100f699c]
add esp, 0x10
mov ecx, dword [0x100f6990]
add eax, esi
mov dword [0x100f699c], eax
cmp eax, ecx
jle 0x100030db
push str.g_CurFilePos___g_FileLen
push str._VCR_ASSERT_FAILED:__s__n
call fcn.10003020
mov eax, dword [0x100f699c]
add esp, 8
mov ecx, dword [0x100f6990]
cmp eax, ecx
jl 0x10003097
pop esi
jmp dword [0x100f2a9c]

Function at 0x100381b0
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 0x100381ce
mov eax, dword [ecx]
push 1
call dword [eax + 0x220]
lea ecx, [esi + 0x134]
call fcn.10008ec0
mov ecx, dword [esi + 0x128]
mov dword [esi + 0x12c], 0
mov eax, dword [esi + 0x120]
test ecx, ecx
js 0x10038249
test eax, eax
je 0x10038212
push eax
call fcn.10081353
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 0x1003824f
test eax, eax
je 0x1003823d
push eax
call fcn.10081353
add esp, 4
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
jmp 0x1003824f
mov dword [esi + 0x130], eax
mov ecx, dword [esi + 0x114]
mov dword [esi + 0x118], 0
mov eax, dword [esi + 0x10c]
test ecx, ecx
js 0x100382bf
test eax, eax
je 0x10038288
push eax
call fcn.10081353
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 0x100382c5
test eax, eax
je 0x100382b3
push eax
call fcn.10081353
add esp, 4
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
jmp 0x100382c5
mov dword [esi + 0x11c], eax
mov ecx, dword [esi + 0x100]
mov dword [esi + 0x104], 0
mov eax, dword [esi + 0xf8]
test ecx, ecx
js 0x10038335
test eax, eax
je 0x100382fe
push eax
call fcn.10081353
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 0x1003833b
test eax, eax
je 0x10038329
push eax
call fcn.10081353
add esp, 4
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
jmp 0x1003833b
mov dword [esi + 0x108], eax
lea ecx, [esi + 0xd4]
call fcn.10032bf0
cmp dword [esi + 0xdc], 0
jl 0x10038376
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x1003836c
push eax
call fcn.10081353
add esp, 4
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
pop edi
mov ecx, esi
pop esi
jmp fcn.10041d20
Function at 0x10041d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5fe0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100f2010]
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.10043b60
cmp eax, 0xffffffff
je 0x10041dac
push dword [esi + 0x40]
call fcn.10040370
mov edi, eax
test edi, edi
je 0x10041dac
mov edx, dword [edi + 0x14]
xor ecx, ecx
test edx, edx
jle 0x10041dac
mov ebx, dword [edi + 8]
mov eax, ebx
cmp dword [eax], esi
je 0x10041d81
inc ecx
add eax, 4
cmp ecx, edx
jl 0x10041d73
jmp 0x10041dac
cmp ecx, 0xffffffff
je 0x10041dac
mov eax, edx
sub eax, ecx
dec eax
test eax, eax
jle 0x10041da6
shl eax, 2
lea ecx, [ebx + ecx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.1007eab0
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 0x10041dc2
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.10048db0
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.10042b80
mov ecx, dword [0x100f6a14]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
je 0x10041e3b
mov ecx, dword [0x100f6a14]
push 0
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x100f6a14]
mov edi, eax
push edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
call edx
mov ecx, dword [0x100f6a14]
test al, al
mov eax, dword [ecx]
je 0x10041e23
push edi
call dword [eax + 0x78]
jmp 0x10041e29
push 0
push edi
call dword [eax + 0x40]
mov ecx, dword [0x100f6a14]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
jne 0x10041df1
mov ecx, dword [0x100f6a08]
push dword [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x24]
push dword [esi + 0x48]
call fcn.1007c4b2
mov edi, dword [esi + 0x24]
add esp, 4
mov dword [esi + 0x44], 0
test edi, edi
je 0x10041ecd
mov ecx, dword [edi + 0x34]
mov dword [edi + 0x38], 0
mov eax, dword [edi + 0x2c]
test ecx, ecx
js 0x10041eb7
test eax, eax
je 0x10041e8c
push eax
call fcn.10081353
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 0x10041eba
test eax, eax
je 0x10041eae
push eax
call fcn.10081353
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
jmp 0x10041eba
mov dword [edi + 0x3c], eax
lea ecx, [edi + 0x18]
call fcn.10008ec0
push 0x5c
push edi
call fcn.1007c481
add esp, 8
lea ecx, [esi + 0x54]
call fcn.10008ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret