joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4369cc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4369fe
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x43e1c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
lea eax, [ebp - 0x210]
push esi
mov esi, dword [ebp + 8]
push 0x20a
push 0
push eax
call fcn.004726b0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sym.Install.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00470931
mov esp, ebp
pop ebp
ret

Function at 0x43ef8b
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x43efae
or esi, 2
push 1
call edi
test ax, ax
jns 0x43efba
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x43efc6
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x43efd2
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x441222
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x2d0]
call sym.Install.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, dword [ebp + 8]
test eax, eax
jle 0x441278
push ebx
lea ecx, [esi + 0x2d0]
mov byte [ebp + 0xb], 0
call sym.Install.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x4412e4
lea ecx, [esi + 0x2d0]
inc ebx
call sym.Install.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x441241
sub edi, 0x100
je 0x44134e
sub edi, 4
je 0x4412e8
dec edi
sub edi, 1
jne 0x441343
cmp dword [esi + 0xe0], edi
je 0x441343
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0047c9d3
pop ecx
mov ecx, dword [esi + 0xe0]
lea edx, [ebp + 8]
push 0x80000012
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push sym.Install.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0x104]
mov esi, eax
test esi, esi
je 0x441343
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov al, 1
jmp 0x441345
mov edx, dword [esi + 0xe4]
test edx, edx
je 0x441343
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xf8]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], eax
call fcn.0043ef8b
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x110]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x441343
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x4413a7
mov eax, dword [ecx]
call dword [eax + 0xd0]
test al, al
je 0x4413a7
mov ecx, dword [esi + 0xe4]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x4413a7
mov ecx, dword [esi + 0xe4]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00471eac
pop ecx
pop ecx
test eax, eax
je 0x4413a7
mov ecx, dword [esi + 0xe4]
call sym.Install.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x441343
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call sym.Install.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x4412e4
Function at 0x4426d9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x44270b
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x44270b
cmp esi, dword [ebx + 0xe4]
je 0x44270b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe4]
cmp esi, eax
je 0x4427e6
push edi
test eax, eax
je 0x44276c
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x110]
push 1
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0xe4]
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
mov dword [ebx + 0xe4], edi
test esi, esi
je 0x4427e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp eax, ebx
jne 0x4427e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test al, al
je 0x4427e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x4427e5
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0xe4], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x110]
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0xe4]
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x459627
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4596b1
cmp dword [esi + 0x10], 0
je 0x4596b1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00471540
mov ebx, esp
test ebx, ebx
je 0x4596b1
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1dc
call fcn.0043be71
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x20]
mov ecx, eax
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, eax
call sym.Install.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x4596b1
mov ecx, dword [esi + 0x10]
call sym.Install.exe_public:_void___thiscall_DuiLib::CControlUI::Invalidate_void_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45f10d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x684], edi
je 0x45f179
cmp dword [ebp + 8], 0x100
jne 0x45f168
cmp word [ebp + 0xc], 0xd
jne 0x45f168
cmp byte [esi + 0x68a], 0
je 0x45f14d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45f168
cmp byte [esi + 0x68b], 0
jne 0x45f168
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x45f164
push 1
push edi
push edi
push edi
push str.return
push esi
call sym.Install.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool__bool_
xor eax, eax
jmp 0x45f17c
mov eax, dword [esi + 0x684]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x45f92e
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x497842
call fcn.004714c7
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x6d0], ebx
cmp dword [edi + 4], ebx
jne 0x45f9c0
lea eax, [ebp - 0xa8]
push eax
call fcn.0045f582
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x20]
mov ecx, eax
call sym.Install.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call sym.Install.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [edi + 0x10]
mov ecx, esi
call sym.Install.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, eax
call sym.Install.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, eax
mov dword [ebp - 4], ebx
call sym.Install.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
lea ecx, [ebp - 0x94]
mov bl, al
call sym.Install.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov esi, 0x6c0
test bl, bl
je 0x45f9fb
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00471482
ret 4
Function at 0x463307
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4633bd
movzx eax, word [esi]
test ax, ax
je 0x4633bd
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x463347
cmp ax, 0x5c
jne 0x463349
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x46333b
cmp edi, esi
je 0x463390
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.004819c1
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x4633cd
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00463307
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00481984
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00481953
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00470931
mov esp, ebp
pop ebp
ret
call fcn.00470855
int3

Function at 0x463992
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x463a0e
cmp dword [edi + 4], 0xffffffff
jne 0x463a0e
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4a6634
push esi
call fcn.00481953
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x4639e0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4639e0
mov eax, 0x2000000
jmp 0x463a13
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00465ebe
add esp, 0x10
test eax, eax
jne 0x4639fe
mov eax, dword [ebp - 4]
jmp 0x463a13
push eax
call fcn.004665cb
mov dword [edi], eax
mov eax, dword [0x4d9854]
pop ecx
jmp 0x463a13
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x465fcb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x465fff
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x465ffa
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x466026
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x46600f
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00472130
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4661a7
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x466266
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
sub edi, 1
jne 0x4661bf
pop edi
test esi, esi
je 0x466282
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a4e00]
inc edx
sub esi, 1
jne 0x46626a
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x46d97e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x46d9a2
cmp dword [esi + 8], edi
jge 0x46d99a
push esi
call fcn.00469e1a
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x46d9cb
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x46d9ae
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x46d9e5
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x46d9d6
xor dl, dl
jmp 0x46d9db
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x46d9cd
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x46da1a
push str.zlib_corrupt
call fcn.00469d43
add esp, 4
jmp 0x46da5a
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x46da2a
push str.read_past_buffer
jmp 0x46da10
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x46da44
push edi
push ecx
push esi
call fcn.00470513
add esp, 0xc
test eax, eax
je 0x46da5a
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00472130
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x488a53
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004888d2

Function at 0x44a010
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push str.CONOUT_
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [0x64f054], esi
je 0x44a05f
mov ecx, dword [0x64fd3c]
push 0x64fa58
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, esi
pop edi
pop esi
pop ecx
ret
Function at 0x10001d60
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1000
call fcn.1000dd30
mov eax, dword [esp + 0x1004]
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0xc]
xor ebx, ebx
push 0x1000
lea ecx, [esp + 0x10]
push ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
push eax
mov byte [esi], 1
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x10001de8
lea eax, [esp + 0xc]
mov byte [esi + 8], 1
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10001db0
sub eax, edx
add eax, 1
push eax
mov ecx, edi
call fcn.10001d10
mov edx, dword [esi + 0x18]
mov ecx, dword [edi]
push edx
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.1000e5d0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1000
ret 4
pop edi
mov byte [esi + 8], bl
mov eax, esi
pop esi
pop ebx
add esp, 0x1000
ret 4

Function at 0x10002c00
Capabilities:
Check mutex on windows

Disassembly:
push str.hl2_singleton_mutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push eax
mov dword [0x10027d50], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10002c37
cmp eax, 0x80
je 0x10002c37
mov eax, dword [0x10027d50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
ret
mov al, 1
ret
Function at 0x10007c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10006d1a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10006ccf
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10006d0a
rcl dword [edx - 0x2e], 0x42
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.10006d0a
leave
jl 0x10007d8f
sbb al, 0x80
loopne 0x10007d28
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.10006d1a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10006ccf
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
add al, 1
add byte [eax], al
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x10007db6
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x550]
movsx eax, byte [ebp + eax - 0x655]
cmp eax, 0x5c
jne 0x10007dd6
mov eax, dword [ebp - 0x550]
dec eax
mov dword [ebp - 0x550], eax
and dword [ebp - 0x338], 0
and dword [ebp - 0x3d0], 0
jmp 0x10007df3
mov eax, dword [ebp - 0x3d0]
inc eax
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0x104
jge 0x10007e5a
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
and eax, 0x80
test eax, eax
je 0x10007e25
mov eax, dword [ebp - 0x3d0]
inc eax
mov dword [ebp - 0x3d0], eax
jmp 0x10007e58
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
cmp eax, 0x5c
jne 0x10007e44
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
test eax, eax
jne 0x10007e58
jmp 0x10007e5a
jmp 0x10007de6
mov eax, dword [ebp - 0x670]
add eax, dword [ebp - 0x384]
mov dword [ebp - 0x670], eax
mov eax, dword [ebp - 0x670]
inc eax
mov dword [ebp - 0x670], eax
push dword [ebp - 0x338]
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10006c7b
add esp, 0xc
mov eax, dword [ebp - 0x670]
inc eax
mov dword [ebp - 0x670], eax
mov eax, dword [ebp - 0x670]
inc eax
mov dword [ebp - 0x670], eax
and dword [ebp - 4], 0
and dword [ebp - 0x3a0], 0
and dword [ebp - 0x37c], 0
add byte [ebx - 0x3875b], al
inc dword [eax]
Function at 0x10008d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x10008da0
lea eax, [ebp - 0x714]
push eax
call fcn.10006d1a
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
jne 0x10008da6
call fcn.10006ccf
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x10008dab
jmp 0x10008db0
jmp 0x100086ac
cmp dword [ebp - 0x37c], 0
jne 0x10008e5a
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
call dword [eax - 1]
mov ch, 0xb8
clc
invalid
invalid
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10006ee6
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x10008e46
lea eax, [ebp - 0x714]
push eax
call fcn.10006d1a
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.10006daf
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
invalid
invalid

Function at 0x1000df10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x1000df3d
call fcn.1001264a
mov dword [eax], esi
call fcn.10012637
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.100125d8
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x1000df19
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1000df6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1001265d
pop ecx
call fcn.10012637
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x1000df93
test al, 1
je 0x1000df93
test byte [esp + 0xc], 2
je 0x1000df93
call fcn.1001264a
mov dword [eax], 5
call fcn.10012637
mov dword [eax], 0xd
jmp 0x1000df63
xor eax, eax
pop esi
ret