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

Disassembly:
push 0xffffffffffffffff
push 0x596638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x24], 0xd
mov eax, dword [edi + 0x20]
mov dword [esp + 0x28], 0x1a
push eax
mov dword [esp + 0x30], 0x1c
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
fld qword [edi + 0x50]
fcomp qword [0x59f020]
mov esi, eax
fnstsw ax
test ah, 0x40
jne 0x5514d0
mov edx, dword [esi]
add edi, 0xdc
push edi
mov ecx, esi
call dword [edx + 0x30]
push 1
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CDC::SetBkMode
push 0x5ffc10
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0xc]
mov edx, dword [esi]
lea ebx, [esp + 0x20]
push 1
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x48], 0
call dword [edx + 0x70]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x48], 1
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x2c]
sub ecx, ebx
sub eax, edx
push 0xf00021
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x10], 0x59da10
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x5572d0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
lea edi, [esi + 4]
push 0
push 1
push 0
mov dword [esi], 0x5cdbb8
mov dword [edi], 0
mov dword [esi + 8], 0
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 0xc], eax
call ebx
push edi
push 0
push esi
push 0x557390
push 0
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x557800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x596a83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5b7b48
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.005716d0
mov dword [ebx], 0x5cdc14
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.005716d0
or eax, 0xffffffff
push 0x6a2db0
mov dword [ebx], 0x5cdbd8
push edi
mov dword [esi], 0x5cdbec
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x559990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x596c9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5cdc3c
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x559a20
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x5599e7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x559a11
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x559a26
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x559a26
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x59da10
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x59d9fc
mov dword [esp + 0x1c], 0xffffffff
call fcn.00552a08
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x55b450
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x596f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x5cdc28
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call sub.MFC42.DLL_CDC::LineTo
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call sub.MFC42.DLL_CDC::LineTo
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x59da10
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x55c5a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x597040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0x5b8b38
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.00557960
test eax, eax
je 0x55c5fe
push 0xf
jmp 0x55c600
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x55c621
push 0x3fe33333
push 0x33333333
push eax
call fcn.00558880
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
call fcn.00557950
test eax, eax
je 0x55c679
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x55c69d
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.0055b450
jmp 0x55c6b5
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.0055b330
mov dword [esp + 0x10], 0x59da10
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x55cc80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
and esi, 0xffff
push 2
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x55ccbd
xor ebx, ebx
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x55ccbd
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x55ccce
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x55ccde
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.0055cc10
add esp, 4
cmp ax, 0x10
je 0x55ccf4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push edi
push ebx
call sub.MFC42.DLL_AfxLoadSysColorBitmap
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x55cd30
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x6a2de8]
sub esp, 0x134
test eax, eax
jne 0x55ce05
lea eax, [esp]
mov dword [0x6a2de8], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x55ce05
push esi
lea ecx, [esp + 0xc]
push edi
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x55cdf8
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x55cdf8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x55cdf8
mov dword [0x6a2de4], 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [0x6a2de4]
add esp, 0x134
ret

Function at 0x55d290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0xf1
mov edi, ecx
push ebp
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push 0xf1
push ebp
push esi
call ebx
test eax, eax
jne 0x55d2d0
xor esi, esi
push 0xf1
push ebp
push esi
call ebx
test eax, eax
jne 0x55d2d0
pop edi
pop esi
pop ebp
pop ebx
ret 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x55d2e3
pop edi
pop esi
pop ebp
pop ebx
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x55d2f7
pop edi
pop esi
pop ebp
pop ebx
ret 4
xor eax, eax
mov ax, word [esi + 6]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
xor edx, edx
add esp, 4
cmp word [esi + 6], dx
mov ebp, eax
jbe 0x55d330
mov ecx, ebp
lea eax, [esi + 8]
xor ebx, ebx
inc edx
mov bx, word [eax]
add eax, 2
mov dword [ecx], ebx
xor ebx, ebx
mov bx, word [esi + 6]
add ecx, 4
cmp edx, ebx
jl 0x55d318
xor ecx, ecx
mov cx, word [esi + 6]
push ecx
push ebp
mov ecx, edi
call sub.MFC42.DLL_CToolBar::SetButtons
push ebp
mov ebx, eax
call sub.MFC42.DLL_operatordelete
add esp, 4
test ebx, ebx
je 0x55d391
xor ecx, ecx
xor eax, eax
mov cx, word [esi + 4]
mov ax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 7]
lea edx, [eax + 7]
push ebx
push edx
mov ecx, edi
call sub.MFC42.DLL_CToolBar::SetSizes
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dx, word [esi + 2]
xor eax, eax
mov dword [edi + 0xa0], edx
mov ax, word [esi + 4]
push ecx
mov ecx, edi
mov dword [edi + 0xa4], eax
call fcn.0055d3a0
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
Function at 0x55dda0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59723a
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 6]
test eax, eax
je 0x55ded5
push 0xcc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x55ddef
mov ecx, eax
call fcn.0055efa0
mov edi, eax
jmp 0x55ddf1
xor edi, edi
mov eax, dword [esi + 0xe]
mov edx, dword [esi + 0x16]
mov ecx, dword [esi + 0x12]
mov dword [esp + 0xc], eax
add edx, eax
mov eax, dword [esi + 0x1a]
add eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x1e]
mov dword [esp + 0x18], eax
push 0
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esi + 0xa]
or ecx, 0x50cf0000
mov dword [esp + 0x20], edx
mov edx, dword [edi]
push ecx
push eax
push 0
mov ecx, edi
mov dword [esp + 0x3c], 0xffffffff
call dword [edx + 0xfc]
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push 0x50000000
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov ax, word [esi + 4]
push ecx
push 0
push eax
call sub.CRPE32.dll_Ordinal_17
test eax, eax
jne 0x55de8d
pop edi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov cx, word [esi + 4]
push 1
push ecx
call sub.CRPE32.dll_Ordinal_11
test eax, eax
jne 0x55deae
pop edi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ecx, esi
call fcn.0055eb00
xor edx, edx
mov dword [edi + 0xc8], eax
test eax, eax
setne dl
pop edi
mov eax, edx
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov ax, word [esi + 4]
push 1
push eax
call sub.CRPE32.dll_Ordinal_11
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x564770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
mov dword [edx], 0xffffffff
push edi
mov bl, byte [esi]
mov edi, ecx
test bl, bl
je 0x5647b0
mov eax, dword [edx]
and ebx, 0xff
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x6189b4]
xor ecx, eax
inc esi
mov dword [edx], ecx
mov bl, byte [esi]
test bl, bl
jne 0x564789
mov eax, dword [edi + 0x404]
xor esi, esi
test eax, eax
jle 0x5647e7
mov eax, dword [edx]
xor ecx, ecx
mov cl, byte [edi + esi + 4]
mov ebx, eax
and ebx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x6189b4]
xor ecx, eax
inc esi
mov dword [edx], ecx
mov eax, dword [edi + 0x404]
cmp esi, eax
jl 0x5647bc
mov eax, dword [edx]
pop edi
not eax
mov dword [edx], eax
pop esi
xor eax, eax
pop ebx
ret 8

Function at 0x564dd0
Capabilities:
Hash data with md5

Disassembly:
lea edx, [ecx + 0x10]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x565a00
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5977b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esp + 0x450]
push 0x3a
push esi
mov dword [esp + 0x450], 0
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jbe 0x565a53
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_3
jmp 0x565a96
lea eax, [esp + 0x40]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x40]
push ecx
call fcn.0044dfc0
add esp, 4
lea edx, [esp + 0x40]
lea ecx, [esp + 4]
push edx
call sub.MFC42.DLL_CString::operator_3
push 0x5fc40c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
lea eax, [esp + 0x30]
push eax
push str.InternetExplorer.Application
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
lea ecx, [esp + 8]
lea edx, [esp + 0x30]
push ecx
push 0x5cf988
push 5
push 0
push edx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x5cf978
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0xa4]
lea eax, [esp + 0x20]
mov word [esp + 0x10], 3
push eax
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_AfxVariantInit
mov ecx, dword [esp + 4]
push 8
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x450], 1
call sub.MFC42.DLL_COleVariant::SetString
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
call dword [edx + 0x2c]
call dword [sym.imp.ole32.dll_OleUninitialize]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 4]
mov dword [esp + 0x448], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x440]
pop esi
mov dword fs:[0], ecx
add esp, 0x448
ret
Function at 0x566530
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5978d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x5665e0
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x5665c7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x5665c7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x84], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5665f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x566652
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x566860
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x56689e
lea eax, [esp + 4]
push eax
push 0
call sub.MFC42.DLL_CWnd::GetSafeOwner_
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x54]
push ecx
mov ecx, dword [ebx + 0x50]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x21
pop ebx
add esp, 0x20c
ret 8
mov edx, dword [esp + 0x218]
mov eax, dword [esp + 0x214]
push ebp
push esi
push edi
push edx
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebp, eax
cmp ebp, 0x20
ja 0x5669e3
lea ecx, [esp + 0x14]
push ecx
push str..htm
push bind
mov ecx, ebx
call fcn.005665f0
test eax, eax
jne 0x5669e3
mov edi, str._shellopencommand
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push bind
mov ecx, ebx
call fcn.005665f0
test eax, eax
jne 0x5669e3
mov esi, dword [sym.imp.MSVCRT.dll__mbsstr]
lea edx, [esp + 0x14]
push str.__1_
push edx
call esi
mov edx, eax
add esp, 8
test edx, edx
jne 0x566977
lea eax, [esp + 0x14]
push 0x619150
push eax
call esi
mov edx, eax
add esp, 8
test edx, edx
jne 0x566977
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + ecx + 0x13]
jmp 0x56697a
mov byte [edx], 0
mov edi, 0x5fd204
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x220]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x224]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 8