joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
mov ebp, 1
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
call esi
test eax, eax
jne 0x43200c
mov ecx, dword [esp + 0x128]
push ecx
push str._sConnection
lea edx, [esp + 0x28]
push 0x103
push edx
call fcn.0042b000
mov edx, dword [esp + 0x2c]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
test eax, eax
jne 0x432001
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0xc], eax
mov eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.MediaSubType
push eax
call esi
test eax, eax
jne 0x431ff6
push 0x104
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x103
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.PnpInstanceID
push edx
call esi
test eax, eax
jne 0x431ff6
cmp dword [esp + 0xc], ebp
jne 0x431fe6
mov esi, dword [sym.imp.MSVCR80.dll_strncmp]
push edi
lea eax, [esp + 0x24]
push 0x5959c4
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x431fc4
xor edi, edi
jmp 0x431ff6
cmp dword [esp + 0xc], ebp
jne 0x431fe6
push 3
lea ecx, [esp + 0x24]
push 0x5959c4
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x431fe6
mov edi, 2
jmp 0x431ff6
xor edx, edx
cmp dword [esp + 0xc], 2
setne dl
lea edx, [edx + edx + 1]
mov edi, edx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x118
ret

Function at 0x432b8e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6089a0]
jne 0x432b98
repz ret
jmp fcn.00433484
Function at 0x454060
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e876f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
cmp dword [ebx + 0xec], 0
jne 0x454124
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
call edi
test eax, eax
mov dword [ebx + 0xec], eax
jne 0x454123
push esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x454111
push 0x6a
push esi
call edi
test eax, eax
je 0x454111
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0xec], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
pop esi
pop edi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x454390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov edx, dword [esi]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push edx
mov dword [esp + 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov eax, dword [esp]
mov edx, dword [esp + 0x210]
push eax
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x20c
ret 4
Function at 0x4552b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xec]
test eax, eax
push esi
push edi
je 0x4552d9
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [ebx + 0xec], 0
call fcn.00454060
mov eax, dword [ebp + 8]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
cmp ebx, 0x20
mov dword [ebp - 8], ebx
ja 0x455461
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push str..htm
push closesocket
call edi
test eax, eax
jne 0x455461
lea edx, [ebp - 0x418]
push edx
lea esi, [ebp - 4]
call fcn.00454390
test eax, eax
jne 0x455461
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea eax, [ebp - 0x418]
push eax
call ebx
lea ecx, [ebp - 4]
push ecx
push 1
push 0
lea edx, [ebp - 0x418]
push edx
push closesocket
call edi
test eax, eax
jne 0x45544f
lea eax, [ebp - 0x418]
push eax
lea esi, [ebp - 4]
call fcn.00454390
test eax, eax
jne 0x45544f
mov edi, dword [sym.imp.MSVCR80.dll_wcsstr]
lea ecx, [ebp - 0x418]
push str.__1_
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x4553cf
lea edx, [ebp - 0x418]
push 0x5ed830
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x4553cf
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x41a]
jmp 0x4553d4
mov word [esi], 0
push 0x5ec764
push esi
call ebx
mov ecx, dword [ebp + 8]
push ecx
push esi
call ebx
call dword [0x6089a8]
lea edx, [ebp - 0x418]
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x45541c
xor eax, eax
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea esp, [ebp - 0x424]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edi, [eax + eax]
mov eax, edi
call fcn.004e6580
mov esi, esp
mov edx, ebx
mov ecx, edi
lea eax, [ebp - 0x418]
call fcn.0040dbd0
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea esp, [ebp - 0x424]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x424]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
lea esp, [ebp - 0x424]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461da0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x634448]
push 0
push 0x36e
push str.CTxtWinHost::OnChar
push str..RicheditBase.cpp
push eax
push 0x5e6c64
call fcn.00460150
movzx eax, word [esp + 0x1c]
add esp, 0x18
sub eax, 9
je 0x461df9
sub eax, 1
je 0x461dd8
sub eax, 3
jne 0x461e0c
test byte [esi + 0x24], 8
je 0x461e0c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x461e0c
test dword [esi + 0x1c], 0x1000
jne 0x461e0c
xor eax, eax
ret 4
test byte [esi + 0x24], 8
je 0x461e0c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x461df4
mov eax, 1
ret 4

Function at 0x461e20
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x634444]
push ebx
push edi
push 0
push 0x33e
push str.CTxtWinHost::OnKeyDown
push str..RicheditBase.cpp
push eax
push 0x5e6c64
call fcn.00460150
movzx eax, word [esp + 0x24]
add esp, 0x18
cmp eax, 9
je 0x461f06
cmp eax, 0xd
je 0x461e83
cmp eax, 0x1b
jne 0x461f30
test byte [esi + 0x24], 8
je 0x461f30
mov ecx, dword [esi + 0x14]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
pop ebx
ret 4
test byte [esi + 0x24], 8
je 0x461f30
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x461f30
test dword [esi + 0x1c], 0x1000
jne 0x461f30
mov edx, dword [esi + 0x14]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x400
push edx
call ebx
test ax, ax
je 0x461eff
mov ecx, dword [esi + 0x14]
movzx eax, ax
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x461eff
mov edx, dword [esi + 0x14]
push 1
push edi
push 0x28
push edx
call ebx
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 0x10]
je 0x461eff
push 0
push 0xd
push 0x100
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
pop ebx
ret 4
test byte [esi + 0x24], 8
je 0x461f30
push 0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
push eax
mov eax, dword [esi + 0x14]
push 0x28
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop edi
pop ebx
ret 4
pop edi
mov eax, 1
pop ebx
ret 4
Function at 0x475150
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [0x6268ac]
mov eax, dword [esi]
test eax, eax
push edi
je 0x47516e
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov eax, esi
mov dword [esi], 0
call fcn.00474a90
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4751b2
mov dword [ebp], 1
xor al, al
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4751a1
push eax
mov dword [esi + 0x10], eax
call sub.MFC80U.DLL_Ordinal_265
mov edx, dword [esi + 0x10]
add esp, 4
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4751a1
mov eax, dword [esi]
cmp dword [eax], 1
je 0x4751fd
mov dword [ebp], 2
xor al, al
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, esi
call fcn.00474a00
test al, al
jne 0x475217
mov dword [ebp], 3
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push esi
call fcn.00474b50
push edi
mov bl, al
mov dword [ebp], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret 8
Function at 0x477de0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f1390
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, edi
call fcn.0048b730
test eax, eax
jne 0x477e2c
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [edi + 4]
push 0
push 0x625a80
push 0x624784
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
lea ebx, [esi + 0xb8]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x477e87
mov eax, dword [esi + 0x2c]
push eax
push ebx
mov dword [esp + 0x1c], 0xc
call fcn.004ac840
push eax
call fcn.004aaf20
mov ebx, eax
lea eax, [edi + 0x64]
lea ecx, [esp + 0x14]
call fcn.0040dc90
mov dword [eax], ebx
lea ebx, [esi + 0xbc]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x477ec6
mov eax, dword [esi + 0x2c]
push eax
push ebx
mov dword [esp + 0x1c], 0xa
call fcn.004ac840
push eax
call fcn.004aaf20
mov ebx, eax
lea eax, [edi + 0x64]
lea ecx, [esp + 0x14]
call fcn.0040dc90
mov dword [eax], ebx
lea ebx, [esi + 0xc0]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x477ef2
mov eax, dword [esi + 0x2c]
push 0x12
push edi
mov ecx, ebx
call fcn.0048b6f0
test eax, eax
je 0x477e16
lea ebx, [esi + 0xc4]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x477f1e
mov eax, dword [esi + 0x2c]
push 0xd
push edi
mov ecx, ebx
call fcn.0048b6f0
test eax, eax
je 0x477e16
lea ebx, [esi + 0xc8]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x477f4a
mov eax, dword [esi + 0x2c]
push 0x13
push edi
mov ecx, ebx
call fcn.0048b6f0
test eax, eax
je 0x477e16
xor ebx, ebx
push ebx
push 6
push 0x7f00
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x32
mov dword [esp + 0x34], 0x14
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 8
call sub.MFC80U.DLL_Ordinal_1156
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push ebx
push ebx
mov dword [esp + 0x3c], ebx
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0xcc]
mov eax, dword [eax + 0x60]
push edx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push closesocket
push 0x5e77f0
lea ecx, [edi + 0xcc]
push edx
push ebx
call eax
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0xa4]
sub ecx, dword [esi + 0xa0]
sub ecx, dword [esi + 0xa8]
mov dword [edi + 0x138], ecx
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0x10]
mov dword [edi + 0x13c], edx
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
lea eax, [ebx + 1]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x479ac0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f13a3
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0048b730
test eax, eax
jne 0x479b0c
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 4]
push 0
push 0x625a24
push 0x624784
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
mov edi, eax
add esp, 0x14
lea ebx, [edi + 0xa8]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x479b65
push 4
push ebx
mov dword [esp + 0x1c], 0xe
call fcn.004ac840
push eax
call fcn.004aaf20
mov ebx, eax
lea eax, [esi + 0x64]
lea ecx, [esp + 0x14]
call fcn.0040dc90
mov dword [eax], ebx
lea ebx, [edi + 0xac]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x479ba2
push 4
push ebx
mov dword [esp + 0x1c], 0xf
call fcn.004ac840
push eax
call fcn.004aaf20
mov ebx, eax
lea eax, [esi + 0x64]
lea ecx, [esp + 0x14]
call fcn.0040dc90
mov dword [eax], ebx
lea ebx, [edi + 0xb0]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x479bce
mov eax, dword [edi + 0x2c]
push 2
push esi
mov ecx, ebx
call fcn.0048b6f0
test eax, eax
je 0x479af6
lea ebx, [edi + 0xb4]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x479bfa
mov eax, dword [edi + 0x2c]
push 3
push esi
mov ecx, ebx
call fcn.0048b6f0
test eax, eax
je 0x479af6
xor edi, edi
push edi
push 6
push 0x7f00
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x32
mov dword [esp + 0x34], 0x14
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 8
call sub.MFC80U.DLL_Ordinal_1156
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push edi
push edi
mov dword [esp + 0x3c], edi
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + 0x60]
push edx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push closesocket
push 0x5e77f0
lea ecx, [esi + 0xe8]
push edx
push edi
call eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x2c]
lea eax, [edi + 1]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47b280
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f13c8
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, edi
call fcn.0048b730
test eax, eax
jne 0x47b2cc
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [edi + 4]
push 0
push 0x6259cc
push 0x624784
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
lea ebx, [esi + 0xc0]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x47b327
mov eax, dword [esi + 0x2c]
push eax
push ebx
mov dword [esp + 0x1c], 0xc
call fcn.004ac840
push eax
call fcn.004aaf20
mov ebx, eax
lea eax, [edi + 0x64]
lea ecx, [esp + 0x14]
call fcn.0040dc90
mov dword [eax], ebx
lea ebx, [esi + 0xc4]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x47b366
mov eax, dword [esi + 0x2c]
push eax
push ebx
mov dword [esp + 0x1c], 0xa
call fcn.004ac840
push eax
call fcn.004aaf20
mov ebx, eax
lea eax, [edi + 0x64]
lea ecx, [esp + 0x14]
call fcn.0040dc90
mov dword [eax], ebx
lea ebx, [esi + 0xc8]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x47b392
mov eax, dword [esi + 0x2c]
push 0x12
push edi
mov ecx, ebx
call fcn.0048b6f0
test eax, eax
je 0x47b2b6
lea ebx, [esi + 0xcc]
push 0x5d389c
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x47b3be
mov eax, dword [esi + 0x2c]
push 0xd
push edi
mov ecx, ebx
call fcn.0048b6f0
test eax, eax
je 0x47b2b6
xor esi, esi
push esi
push 6
push 0x7f00
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0x32
mov dword [esp + 0x34], 0x14
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 8
call sub.MFC80U.DLL_Ordinal_1156
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push esi
push esi
mov dword [esp + 0x3c], esi
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0xc4]
mov eax, dword [eax + 0x60]
push edx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push closesocket
push 0x5e77f0
lea ecx, [edi + 0xc4]
push edx
push esi
call eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x2c]
pop edi
lea eax, [esi + 1]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x485570
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov ebx, eax
mov ecx, dword [ebx + 0x20]
push edi
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC80U.DLL_Ordinal_2366
test eax, eax
je 0x4855a4
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
sub edx, eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
sub edx, eax
mov dword [esp + 0x38], eax
lea esi, [ebx + 0xb8]
push esi
lea eax, [esp + 0x24]
push eax
push ecx
mov edi, ebx
mov dword [esp + 0x50], 0x5d389c
mov dword [esp + 0x4c], 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], edx
call fcn.00485400
test eax, eax
jge 0x485611
push 0x5e6b90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push 1
call fcn.004617b0
mov ecx, dword [ebx + 0x58]
push 0
push 0x625708
push 0x624784
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
mov edi, dword [esi]
xor edx, edx
add esp, 0x14
cmp dword [eax + 0x44], 2
sete dl
xor ecx, ecx
mov eax, edx
cmp eax, 1
sete cl
mov eax, ecx
call fcn.00460490
mov eax, dword [esi]
mov edx, dword [ebx + 0xc0]
xor edx, dword [eax + 0x24]
push 0
push 0x3f7
and edx, 1
xor dword [eax + 0x24], edx
mov eax, dword [0x63445c]
mov ebx, dword [ebx + 0xb4]
mov edi, dword [esi]
push str.CTxtWinHost::OnSetBorderColor
push str..RicheditBase.cpp
push eax
push 0x5e6c64
call fcn.00460150
mov dword [edi + 0x34], ebx
mov esi, dword [esi]
add esp, 0x18
call fcn.00462530
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a040
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x84], 0
push edi
jne 0x48a070
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48a061
mov eax, dword [eax + 0x20]
push 0x489e80
push 0xa
push esi
push eax
call dword [sym.imp.USER32.dll_SetTimer]
add esi, 0x88
lea ebx, [ebp + 8]
lea eax, [esp + 0xc]
call fcn.00410100
mov edi, dword [esp + 0xc]
test edi, edi
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
je 0x48a095
cmp edi, esi
je 0x48a09b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x18]
je 0x48a119
test edi, edi
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x48a0b1
call esi
cmp ebx, dword [edi + 4]
jne 0x48a0b8
call esi
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
cmp ebx, dword [edi + 4]
jne 0x48a0c8
call esi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
cmp ebx, dword [edi + 4]
jne 0x48a0d7
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx + 0x10]
mov dword [edx + 0xc], eax
cmp ebx, dword [edi + 4]
jne 0x48a0f1
call esi
cmp ebx, dword [edi + 4]
jne 0x48a0f1
call esi
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0xc]
mov ecx, eax
mov dword [ecx + 8], edx
cmp ebx, dword [edi + 4]
jne 0x48a103
call esi
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x10], 1
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x14
call sub.MFC80U.DLL_Ordinal_762
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, eax
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
mov dword [ebx + 0x10], 1
mov dword [esp + 0x14], ebx
push eax
mov ebx, esi
mov dword [esp + 0x14], edi
call fcn.00410020
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48e880
Capabilities:
Terminate thread

Disassembly:
cmp dword [edi + 0x500], 0
mov dword [edi + 0x504], 1
je 0x48e89b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push esi
lea esi, [edi + 0xbc]
mov ebp, 0x104
mov eax, dword [esi]
test eax, eax
je 0x48e8d9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48e8c6
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
test eax, eax
je 0x48e8d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
add esi, 4
sub ebp, 1
mov dword [edi + 0x4cc], 0
jne 0x48e8a8
pop esi
pop ebp
ret

Function at 0x48fbf0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x500], 0
jne 0x48fcc9
cmp dword [esi + 0x508], 0
je 0x48fc4d
mov ecx, esi
call fcn.0048e840
test eax, eax
je 0x48fc53
lea eax, [esp + 4]
push eax
push 4
push esi
push 0x48f9a0
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x48fc4d
mov ecx, dword [esi + 0x4cc]
mov dword [esi + ecx*4 + 0xbc], eax
add dword [esi + 0x4cc], 1
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0x528]
test eax, eax
je 0x48fc4d
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0x528]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0x528]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x4e4]
push 0
push ecx
mov ecx, dword [esi + 0x4e0]
push ecx
mov ecx, dword [esi + 0x50c]
push 0
push 0
push ecx
push eax
call edx
test eax, eax
pop edi
jne 0x48fc4d
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret