joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409b40
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42c6b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 8]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], 0xa
call sub.MFC42.DLL_CString::CString
push 0x43caf4
mov ecx, ebx
mov byte [esp + 0x20], 0xb
mov dword [esi], edi
call fcn.0042a502
push 0x43caf4
mov ecx, ebp
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x10]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x14]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0xc]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], edi
call fcn.0042a502
or eax, 0xffffffff
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
push 0x43caf4
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x3c]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], edi
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x48]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x68]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x70]
call fcn.0042a502
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409d00
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x42c75a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 8]
mov dword [esp + 0x1c], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 0xc
call sub.MFC42.DLL_CString::CString
push 0x43caf4
mov ecx, edi
mov byte [esp + 0x20], 0xd
mov dword [esi], 0
call fcn.0042a502
push 0x43caf4
mov ecx, ebx
call fcn.0042a502
push 0x43caf4
mov ecx, ebp
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x10]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x14]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x18]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x1c]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x20]
call fcn.0042a502
xor eax, eax
push 0x43caf4
lea ecx, [esi + 0x2c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x30]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x34]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x38]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x3c]
call fcn.0042a502
push 0x43caf4
lea ecx, [esi + 0x40]
call fcn.0042a502
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x414670
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x42e244
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 8]
sub esp, 0x18
mov esi, esp
lea eax, [esp + 0x38]
mov dword [esp + 0x24], esp
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x40]
lea ecx, [esi + 8]
push edx
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x44]
lea ecx, [esi + 0xc]
push eax
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x30], 4
push ecx
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x4c]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString_2
push ebp
mov ecx, edi
mov byte [esp + 0x34], 0
call fcn.00415f30
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 0xa
call fcn.0042a4f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 9
call fcn.0042a4f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], 8
call fcn.0042a4f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 7
call fcn.0042a4f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 6
call fcn.0042a4f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.0042a4f0
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 0x18
Function at 0x41cf10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ef58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0x108]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x41d046
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x104]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x114]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x41cff2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x108]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x108]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x104]
sub ecx, edi
test edx, edx
je 0x41d067
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0042a8da
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x41d850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42efe5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
call fcn.00401510
lea edi, [esi + 0xe4]
mov dword [esp + 0x2c], 0
mov ecx, edi
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::CString
lea ebx, [edi + 4]
mov byte [esp + 0x2c], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
lea ebp, [edi + 8]
mov byte [esp + 0x2c], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xc]
mov byte [esp + 0x2c], 3
mov dword [esp + 0x10], ecx
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x10]
mov byte [esp + 0x2c], 4
mov dword [esp + 0x14], ecx
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x14]
mov byte [esp + 0x2c], 5
mov dword [esp + 0x18], ecx
call sub.MFC42.DLL_CString::CString
push 0x43caf4
mov ecx, edi
mov byte [esp + 0x30], 6
call fcn.0042a502
push 0x43caf4
mov ecx, ebx
call fcn.0042a502
push 0x43caf4
mov ecx, ebp
call fcn.0042a502
mov ecx, dword [esp + 0x10]
push 0x43caf4
call fcn.0042a502
mov ecx, dword [esp + 0x14]
push 0x43caf4
call fcn.0042a502
mov ecx, dword [esp + 0x18]
push 0x43caf4
call fcn.0042a502
push str.PRINTER
lea ecx, [esi + 0xd8]
mov byte [esp + 0x30], 7
mov dword [esi], 0x433134
mov dword [esi + 0x40], 0x433130
call fcn.0042a502
mov ecx, esi
call fcn.00401660
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xe0], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x422c50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x42fa77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x433924
mov dword [edi + 0x40], 0x433920
lea esi, [edi + 0xe8]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 0xd
call fcn.0042a4f0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 0xc
call fcn.0042a4f0
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 0xb
call fcn.0042a4f0
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 0xa
call fcn.0042a4f0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 9
call fcn.0042a4f0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 8
call fcn.0042a4f0
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 7
call fcn.0042a4f0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 6
call fcn.0042a4f0
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 5
call fcn.0042a4f0
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 4
call fcn.0042a4f0
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 3
call fcn.0042a4f0
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call fcn.0042a4f0
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.0042a4f0
lea ecx, [esi + 4]
mov byte [esp + 0x18], 0
call fcn.0042a4f0
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.004015d0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x428cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0x3ff
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CScrollView::GetDeviceScrollPosition
mov edx, dword [esp + 0xc]
push 0x43c930
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x428de0
push 0x43c92c
push 0x3ff
mov ecx, esi
mov dword [esi + 0x26c], eax
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov ebx, dword [esi + 0x14c]
xor edi, edi
test ebx, ebx
jle 0x428d7e
mov eax, dword [esi + 0x148]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
call dword [edx + 0x60]
mov eax, dword [esi + 0x148]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x428d6b
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0x148]
inc edi
cmp edi, ebx
mov dword [eax + edi*4 - 4], 0
jl 0x428d49
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x144]
call fcn.0042a120
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x428e62
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x428e62
mov ecx, dword [esi + 0x1a8]
mov eax, dword [esi + 0x1a4]
mov ebx, dword [esi + 0x1a0]
mov edi, dword [esi + 0x19c]
mov edx, dword [esp + 0x14]
add ecx, eax
add ecx, ebx
push 1
add ecx, edi
push 0
sub ecx, edx
mov edx, dword [esp + 0x18]
add ecx, 5
push 0
neg edx
push ecx
push edx
jmp 0x428e55
push 0x43c930
push 0x3ff
mov ecx, esi
mov dword [esi + 0x26c], 1
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0
mov ecx, esi
call fcn.00425c60
mov eax, dword [esi + 0xb0]
test eax, eax
jne 0x428e62
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x428e62
mov eax, dword [esi + 0x1b0]
mov edx, dword [esi + 0x1a8]
mov ecx, dword [esi + 0x1a4]
mov ebx, dword [esi + 0x1a0]
mov edi, dword [esi + 0x19c]
add eax, edx
mov edx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
add eax, ebx
add eax, edi
push 1
sub eax, edx
push 0
add eax, 5
push 0
neg ecx
push eax
push ecx
push 0
lea ecx, [esi + 0xb4]
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x1b0]
mov edx, dword [esi + 0x1a8]
mov eax, dword [esi + 0x1a4]
mov ebx, dword [esi + 0x1a0]
mov edi, dword [esp + 0x28]
add ecx, edx
mov edx, dword [esi + 0x19c]
add ecx, eax
mov eax, dword [esp + 0x30]
add ecx, ebx
add ecx, edx
sub eax, edi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
lea edx, [ecx - 5]
add ecx, 5
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x20]
push 1
push eax
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.0042a4f0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4c9e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x87000]
push edi
jmp 0x4c9e9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c9ea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9e90
mov eax, 1
add ebx, ebx
jne 0x4c9eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c9ec4
jne 0x4c9ee3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9ee3
dec eax
add ebx, ebx
jne 0x4c9ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c9ea8
add ebx, ebx
jne 0x4c9edf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c9f35
xor ecx, ecx
sub eax, 3
jb 0x4c9efb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c9f6a
sar eax, 1
mov ebp, eax
jmp 0x4c9f06
add ebx, ebx
jne 0x4c9f06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9ed4
inc ecx
add ebx, ebx
jne 0x4c9f14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c9ed4
add ebx, ebx
jne 0x4c9f21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c9f16
jne 0x4c9f32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c9f16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c9f54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c9f46
jmp 0x4c9e96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c9f54
add edi, ecx
jmp 0x4c9e96
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c9f72
cmp byte [edi], 0x13
jne 0x4c9f72
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 0x4c9f77
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c9fef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe2808]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe295c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c9fa4
mov ecx, edi
jns 0x4c9fd3
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 + 0xe2960]
or eax, eax
je 0x4c9fe9
mov dword [ebx], eax
add ebx, 4
jmp 0x4c9fc1
call dword [esi + 0xe2970]
mov ebp, dword [esi + 0xe2964]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4ca023
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x401007
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [0x80d368]
mov dword [ebp - 0x38], eax
mov eax, dword [0x80d36c]
push esi
push edi
mov edi, dword [ebx + 4]
xor esi, esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
call fcn.00401000
mov eax, dword [0x80d370]
add dword [ebp - 0x20], 0x23f
mov dword [ebp - 0x34], eax
mov eax, dword [0x80d374]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, dword [ebp - 0xc]
shl eax, 4
cmp dword [0x1e07174], 0xc
mov dword [ebp - 4], eax
jne 0x401086
push esi
lea eax, [ebp - 0x3c]
push eax
push esi
lea eax, [ebp - 0x43c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov eax, dword [ebp - 0x34]
add dword [ebp - 4], eax
mov eax, dword [0x1e07174]
cmp eax, 0xfa9
jne 0x4010a2
mov dword [0x1e07170], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010b6
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x1e070c4], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1e0716c], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
sub edi, eax
mov dword [ebp - 8], eax
mov eax, edi
shl eax, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
cmp dword [0x1e07174], 0xb03
jne 0x401154
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push str.soleyalidep
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add dword [ebp - 0x20], 0x61c88647
dec dword [ebp - 0x28]
jne 0x401055
mov eax, dword [ebp - 0xc]
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], eax
pop esi
leave
ret
Function at 0x404dd2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80c6d0]
jne 0x404ddc
repz ret
jmp fcn.004097f5

Function at 0x409e1e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404edc
and dword [ebp - 4], 0
cmp dword [0x81f9ac], 0
mov ebx, eax
jne 0x409ecf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409f80
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409f80
push eax
call fcn.00404e6a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x81f9ac], eax
call esi
push eax
call fcn.00404e6a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x81f9b0], eax
call esi
push eax
call fcn.00404e6a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81f9b4], eax
call esi
push eax
call fcn.00404e6a
pop ecx
mov dword [0x81f9bc], eax
test eax, eax
je 0x409ecf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404e6a
pop ecx
mov dword [0x81f9b8], eax
mov eax, dword [0x81f9b8]
cmp eax, ebx
je 0x409f27
cmp dword [0x81f9bc], ebx
je 0x409f27
push eax
call fcn.00404ee5
push dword [0x81f9bc]
mov esi, eax
call fcn.00404ee5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409f27
test edi, edi
je 0x409f27
call esi
test eax, eax
je 0x409f1e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409f1e
test byte [ebp - 0xc], 1
jne 0x409f27
or dword [ebp + 0x10], 0x200000
jmp 0x409f60
mov eax, dword [0x81f9b0]
cmp eax, ebx
je 0x409f60
push eax
call fcn.00404ee5
pop ecx
test eax, eax
je 0x409f60
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409f60
mov eax, dword [0x81f9b4]
cmp eax, ebx
je 0x409f60
push eax
call fcn.00404ee5
pop ecx
test eax, eax
je 0x409f60
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81f9ac]
call fcn.00404ee5
pop ecx
test eax, eax
je 0x409f80
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409f82
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret