joyce8/EMBER2024-capa huggingface dataset:
Function at 0x503150
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x574b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x124], 0
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x50319f
push 0x5b739c
lea ecx, [esp + 0x130]
call fcn.00557276
mov eax, dword [esp + 0x12c]
mov eax, dword [eax - 8]
push ebx
push ebp
push esi
dec eax
push edi
push eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x148]
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__findfirst]
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
cmp esi, 0xffffffff
je 0x503344
push esi
call dword [sym.imp.MSVCRT.dll__findclose]
add esp, 4
lea edx, [esp + 0x13c]
lea eax, [esp + 0x10]
push 0x5bcca0
push edx
push eax
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
cmp esi, 0xffffffff
je 0x5032e1
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.MSVCRT.dll_remove]
cmp eax, 0x10
je 0x503283
lea edx, [esp + 0x28]
lea eax, [esp + 0x13c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
test eax, eax
setl bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x503283
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x503368
mov ebp, dword [sym.imp.MSVCRT.dll__findnext]
lea edx, [esp + 0x14]
push edx
push esi
call ebp
add esp, 8
cmp eax, 0xffffffff
je 0x5032e1
cmp dword [esp + 0x14], 0x10
je 0x5032d1
lea eax, [esp + 0x28]
lea ecx, [esp + 0x13c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
test eax, eax
setl bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x503328
lea eax, [esp + 0x14]
push eax
push esi
call ebp
add esp, 8
cmp eax, 0xffffffff
jne 0x503299
push esi
call dword [sym.imp.MSVCRT.dll__findclose]
mov ecx, dword [esp + 0x140]
add esp, 4
lea edx, [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x13c]
dec eax
push eax
push 0
push edx
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__rmdir]
add esp, 4
lea ecx, [esp + 0x10]
test eax, eax
setl bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x50334f
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x503368
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll__findclose]
add esp, 4
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4
Function at 0x5045a0
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x574fa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x88], esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], 2
call sub.MFC42.DLL_CString::CString_3
push str.BB.MDB
lea eax, [esp + 0x1c]
mov bl, 3
push 0x5c0394
push eax
mov byte [esp + 0x94], bl
call sub.MFC42.DLL_operator_4
mov ecx, dword [esp + 0x90]
mov eax, dword [eax]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [esp + 0x18]
sete byte [esp + 0xb]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0xb]
test al, al
jne 0x504c5c
push ecx
lea edx, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x5c0424]
push esi
push 0x5c03f0
call fcn.004178f0
cmp eax, esi
je 0x504c5c
push 0x5c0168
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x5c03f0
call fcn.00419040
cmp esi, 0xc
ja 0x504bb6
jmp dword [esi*4 + 0x504cac]
mov eax, dword [esp + 0xc]
push 1
push eax
mov ecx, 0x5c03f0
call fcn.00418c90
test eax, eax
je 0x504c52
inc esi
cmp esi, 0xc
jle 0x504684
mov ecx, 0x5c03f0
call fcn.004190f0
mov ecx, 0x5c03f0
call fcn.00418ba0
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x88], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov dword [esp + 0x88], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x80]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret 4
mov ecx, 0x5c03f0
call fcn.004191a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x88], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov dword [esp + 0x88], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x504c39
Function at 0x50cc60
Capabilities:
Access peb ldr_data
Change the wallpaper

Disassembly:
push 0xffffffffffffffff
push 0x576686
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov esi, ecx
push 7
call edi
push 0xe
mov dword [esi + 0x24], eax
call edi
push 0xf
mov dword [esi + 0x28], eax
call edi
push 4
mov dword [esi + 0x2c], eax
call edi
push 0xd
mov dword [esi + 0x30], eax
call edi
push 0x14
mov dword [esi + 0x34], eax
call edi
push 0x10
mov dword [esi + 0x38], eax
call edi
push 0x11
mov dword [esi + 0x3c], eax
call edi
push 0xf
mov dword [esi + 0x40], eax
call edi
push 0x14
mov dword [esi + 0x44], eax
call edi
push 0x10
mov dword [esi + 0x48], eax
call edi
mov edx, dword [esi + 0x38]
mov dword [esi + 0x4c], eax
mov eax, 0x14
xor ebx, ebx
mov ecx, eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x14], 0x808080
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xc0c0c0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0xffffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x580178
lea eax, [esp + 0x14]
push 3
push eax
push ebx
push 0x204
push 2
push 0x204
mov dword [esp + 0x1a0], ebx
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
push ebx
push 1
push 5
push 0x13
push 0x13
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CImageList::Create
mov ecx, dword [esi + 0x2c]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x20]
neg eax
sbb eax, eax
and eax, edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea edx, [esp + 0x2c]
push ebx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x30]
push edx
push ebx
push 0x29
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [esi + 8], eax
mov byte [esi + 0x60], bl
mov byte [esi + 0x61], bl
mov dword [esp + 0xc], 0x57f4d8
lea ecx, [esp + 0xc]
mov dword [esp + 0x188], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x180
ret
Function at 0x50ce10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5766a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], ebp
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
and esi, 0xffff
push 0xf1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x50ce60
xor al, al
jmp 0x50cf2b
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x50ce7b
xor al, al
jmp 0x50cf2b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
jne 0x50ce8f
xor al, al
jmp 0x50cf2b
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x580178
push esi
push 2
push esi
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
push 0xc0c0c0
and eax, ecx
push eax
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CGdiObject::DeleteObject
cmp word [edi + 6], 0
lea esi, [edi + 8]
jbe 0x50cf10
mov ax, word [esi]
test ax, ax
je 0x50cf02
mov ecx, ebp
push eax
push ecx
mov ecx, dword [esp + 0x18]
inc ebp
call fcn.0050d100
xor ecx, ecx
inc ebx
mov cx, word [edi + 6]
add esi, 2
cmp ebx, ecx
jl 0x50ceec
mov dword [esp + 0x14], 0x57f4d8
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov al, 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x50cf40
Capabilities:
Enumerate pe sections
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5766c0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
and ecx, 0xffff
push 0xf1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
xor ebp, ebp
cmp edi, ebp
jne 0x50cf9a
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x50cfc4
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x50cfe7
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
xor edx, edx
xor eax, eax
mov dx, word [edi + 2]
xor ecx, ecx
mov dword [esi + 0xc], edx
mov ax, word [edi + 4]
mov dword [esi + 0x10], eax
mov cx, word [edi + 6]
push ebp
push ecx
push 0xff
push eax
push edx
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CImageList::Create
test eax, eax
jne 0x50d02a
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
mov eax, dword [esi + 0x2c]
push ebx
push eax
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x580178
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ebp
and eax, 0xffff
push eax
push 2
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
xor eax, eax
lea ebx, [edi + 8]
cmp word [edi + 6], ax
jbe 0x50d0c8
mov cx, word [ebx]
test cx, cx
je 0x50d0ba
mov edx, eax
inc eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.0050d100
mov eax, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x50d09e
mov dword [esp + 0x10], 0x57f4d8
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x18]
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x5101c0
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
push 0x586f10
mov ecx, ebx
call sub.MFC42.DLL_CObject::IsKindOf
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x510215
push 0x584630
mov ecx, ebx
call sub.MFC42.DLL_CObject::IsKindOf
test eax, eax
jne 0x510215
push 0x57f2a8
mov ecx, ebx
call sub.MFC42.DLL_CObject::IsKindOf
test eax, eax
je 0x510398
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xba
push ecx
call edi
mov ebp, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x20], ebp
call fcn.005100f0
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
jg 0x5103e6
mov eax, dword [esi + 0x48]
dec ecx
push eax
push ecx
mov word [eax], 0xc8
mov ecx, dword [esi + 0x20]
push 0xc4
push ecx
call edi
test ebx, ebx
mov ebp, eax
jne 0x510267
xor esi, esi
jmp 0x51026a
mov esi, dword [ebx + 0x20]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], 0x100
jne 0x5102a9
cmp dword [ecx + 8], 0xd
jne 0x5102a9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x5102a5
push 0
push 0xd
push 0x100
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
cmp eax, 0x100
jne 0x510398
cmp dword [ecx + 8], 0x27
jne 0x5102f5
mov edx, dword [esp + 0x14]
dec edx
cmp edx, ebp
jl 0x510398
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jl 0x510398
push 0
push 0x27
push 0x100
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
cmp eax, 0x100
jne 0x510398
cmp dword [ecx + 8], 0x25
jne 0x510335
mov eax, dword [esp + 0x14]
mov ebp, 1
cmp eax, ebp
jne 0x510398
cmp dword [esp + 0x10], ebp
jne 0x510398
push 0
push 0x25
push 0x100
push esi
call edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
cmp eax, 0x100
jne 0x510398
cmp dword [ecx + 8], 0x26
jne 0x510364
cmp dword [esp + 0x10], 1
jne 0x510398
push 0
push 0x26
push 0x100
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
cmp eax, 0x100
jne 0x510398
cmp dword [ecx + 8], 0x28
jne 0x510398
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jl 0x510398
push 0
push 0x28
push 0x100
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
push 0x586f10
mov ecx, ebx
call sub.MFC42.DLL_CObject::IsKindOf
test eax, eax
je 0x5103e6
test ebx, ebx
je 0x5103af
mov ebx, dword [ebx + 0x20]
mov eax, dword [esp + 0x20]
cmp dword [eax + 4], 0x100
jne 0x5103e6
cmp dword [eax + 8], 0x2e
jne 0x5103e6
mov eax, dword [0x5c0364]
test eax, eax
je 0x5103e6
push 1
push 0x75
push 0x100
push ebx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
Function at 0x514ad0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5773c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 1
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [esi + 0xc0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x303
push eax
call ebx
lea ecx, [esp + 0x10]
lea edi, [esi + 0x104]
push ecx
mov ecx, edi
call fcn.005153d0
push eax
lea ecx, [esi + 0x144]
mov dword [esp + 0x4c], 0
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.00515480
mov ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
mov ecx, edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
call fcn.005154a0
mov ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edi
mov dword [esp + 0x1c], edx
call fcn.005154c0
mov ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
mov ecx, edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x18], edx
call fcn.005154e0
mov ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
push 0
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
mov dword [esp + 0x18], edx
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [esi + 0x124]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
add edx, 0xfffffffe
push 8
push edx
mov edx, dword [esp + 0x24]
add eax, 0xfffffffc
push eax
lea edi, [esi + 0xa0]
lea eax, [ecx + edx + 1]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
lea edx, [ecx + ebp + 2]
mov ecx, edi
push edx
push eax
call sub.MFC42.DLL_CWnd::SetWindowPos
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetFocus
mov ecx, dword [edi + 0x20]
push 0x3e8
push 0x3e8
push 0xb1
push ecx
call ebx
mov edx, dword [edi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebx
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0x94]
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x20], eax
add edx, eax
mov eax, dword [esi + 0x90]
mov dword [esp + 0x24], ecx
add eax, ecx
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x124]
lea ecx, [esp + 0x20]
push 1
push ecx
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x51c178
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x577b86
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
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 2
push eax
push 0x1cb
call sub.MFC42.DLL_CDialog::CDialog_1
lea edi, [esi + 0x60]
mov byte [esp + 0x1c], 3
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x64]
mov byte [esp + 0x1c], 4
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 0x68]
mov byte [esp + 0x1c], 5
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x70], 0x57f9a0
lea ecx, [esi + 0xb0]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0xb0], 0x57f9a0
lea ecx, [esi + 0xf0]
mov byte [esp + 0x1c], 8
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xf4]
mov byte [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString_3
push 0x5c0168
lea ecx, [esi + 0xf0]
mov byte [esp + 0x20], 0xa
mov dword [esi], 0x589d70
call sub.MFC42.DLL_CString::operator_1
push 0x5c0168
lea ecx, [esi + 0xf4]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x6c], ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop edi
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x51d1c0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x577df4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
push 0
push 0x17f
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CDialog::CDialog_1
lea edi, [esi + 0x70]
mov byte [esp + 0x18], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x74]
mov byte [esp + 0x18], 2
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x57f9a0
lea ebx, [esi + 0xb4]
mov byte [esp + 0x18], 3
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
push 0x5c0168
mov ecx, ebx
mov byte [esp + 0x1c], 4
mov dword [esi], 0x589f90
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x64], ecx
lea ecx, [esp + 0x30]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, edi
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x52e4b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x579caa
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
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
push eax
push 0x17b
call sub.MFC42.DLL_CDialog::CDialog_1
lea edi, [esi + 0x60]
mov byte [esp + 0x1c], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x64]
mov byte [esp + 0x1c], 2
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 0x68]
mov byte [esp + 0x1c], 3
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 4
call fcn.0052df20
lea ecx, [esi + 0xb8]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString_3
push 0x5c0168
lea ecx, [esi + 0xb8]
mov byte [esp + 0x20], 6
mov dword [esi], 0x58bcc0
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x5c02f0]
push ecx
push 0x5b622c
push edi
call sub.MFC42.DLL_CString::Format
mov edx, dword [0x5c02f8]
push edx
push 0x5b622c
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x6c], ecx
lea ecx, [esp + 0x30]
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], eax
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
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 0x14