joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493fdc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x583c20]
cmp dword [eax + 0x30], 0
je 0x494086
cmp dword [ebx + 0x94], 0
jne 0x494080
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x493f6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x494080
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x494046
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x494080
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041df24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x494055
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x494be8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x494c1d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404480
jmp 0x494c2a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x495ca4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x495ce5
mov eax, esi
call fcn.0047b4e8
test al, al
je 0x495ce5
mov eax, dword [ebx + 0x84]
call fcn.0047b1e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x495ce5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047b1e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4b9800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4b9894
push 0
mov eax, ebx
call fcn.00404850
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4b986f
mov eax, esi
call fcn.00404650
inc eax
push eax
mov eax, esi
call fcn.00404850
push eax
push 1
push 0
mov eax, edi
call fcn.00404850
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x4b988a
mov ecx, dword [0x581e0c]
mov dl, 1
mov eax, dword [0x4b9424]
call fcn.0040d0d4
call fcn.00403dcc
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4d5b44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d5cc5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x580a48], 0
jne 0x4d5ca2
push 0x583ce0
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4d5c9b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x580a48], 0
jne 0x4d5c83
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004049dc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404850
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408a50
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4d5cdc
call fcn.0040a000
mov eax, dword [ebp - 0xc]
call fcn.00404850
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x4d5c04
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004049dc
jmp 0x4d5c3b
lea eax, [ebp - 8]
mov edx, 0x4d5cfc
call fcn.00404428
xor eax, eax
push ebp
push 0x4d5c31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004b9898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d5c3b
mov eax, dword [ebp - 8]
call fcn.00404850
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x580a48], eax
cmp dword [0x580a48], 0
jne 0x4d5c6e
mov ecx, dword [0x581ff8]
mov dl, 1
mov eax, dword [0x407dd4]
call fcn.0040d0d4
call fcn.00403dcc
push 0x4d5d08
mov eax, dword [0x580a48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x583cf8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5ca2
push 0x583ce0
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5ccc
lea eax, [ebp - 0x18]
call fcn.00404390
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004043b4
ret
Function at 0x4e127c
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x4e12b7
cmp dword [ebx + 0x5c], 0
je 0x4e12b7
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.004d98ac
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4e1402
cmp dword [ebx + 0x7c], 0
jne 0x4e12dd
mov dl, 1
mov eax, dword [0x41b6c0]
call fcn.0040350c
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4e13db
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4e1408]
push eax
mov al, byte [0x4e140c]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x582048]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x4d1784]
call fcn.004d3a44
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4e13d4
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004d98ac
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.004d98ac
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x4d7168]
call fcn.00405878
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4e13a7
mov edx, dword [0x5823d4]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4e13b8
cmp eax, 0x1007
jne 0x4e13b4
mov byte [ebx + 0x74], 0x18
jmp 0x4e13b8
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1402
mov eax, dword [ebp - 4]
call fcn.0040353c
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004d98ac
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4e2d80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e2fe0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4e2de3
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004e2848
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040da1c
cmp al, 1
jne 0x4e2de3
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004e2b60
test al, al
je 0x4e2f6f
cmp dword [ebp - 8], 0
jge 0x4e2e01
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004e2848
mov eax, dword [ebp - 0x210]
call fcn.00404650
cmp ebx, eax
jge 0x4e2e4b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004e2848
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x582534]
and eax, 0xff
bt dword [edx], eax
jae 0x4e2e4b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4e2e5f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004e2d5c
cmp ebx, dword [ebp - 8]
je 0x4e2f61
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4e2e8b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403738
and eax, 0x7f
movzx eax, word [eax*2 + 0x580a9c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4e2f4e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403738
and eax, 0x7f
movzx eax, word [eax*2 + 0x580a9c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0047b1e4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403738
and eax, 0x7f
movzx eax, word [eax*2 + 0x580a9c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0047b1e4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2f55
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4e2fc2
cmp dword [ebp - 8], 0
jge 0x4e2f7a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004e2848
mov eax, dword [ebp - 0x218]
call fcn.00404650
cmp eax, dword [ebp - 8]
jg 0x4e2fb4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004e2848
mov eax, dword [ebp - 0x21c]
call fcn.00404650
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e2d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2fe7
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004043b4
ret
Function at 0x4efd90
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4efdb1
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4efdb1
xor eax, eax
ret
mov al, 1
ret

Function at 0x50fbfb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x581812
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x50fc53
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x581833
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x50fc49
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x50fc57
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x51d544
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
push esp
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x14]
shr eax, 1
add eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x521ac8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef0
mov ebx, eax
push esp
push 0x20019
push 0
push 0x521b94
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x521b8a
mov dword [esp + 4], 0x105
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x521bb8
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x521b81
mov eax, ebx
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00404600
mov edx, dword [ebx]
mov eax, 0x521bc8
call fcn.00404994
test eax, eax
jle 0x521b55
push ebx
mov edx, dword [ebx]
mov eax, 0x521bc8
call fcn.00404994
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.004048b0
mov eax, dword [ebx]
call fcn.00404650
cmp eax, 2
jle 0x521b81
mov eax, dword [ebx]
call fcn.00404650
mov edx, eax
mov eax, dword [ebx]
call fcn.0040dccc
test al, al
jne 0x521b81
mov eax, ebx
mov edx, 0x521bd4
call fcn.00404658
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x110
pop ebx
ret
Function at 0x100bc2c
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, 0x102f278
call sub.MSVCRT.dll__EH_prolog
push ecx
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
xor ebx, ebx
call sub.MFC42u.DLL_CString::CString_2
push 0x87
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::LoadStringW
mov esi, dword [ebp - 0x10]
call sub.MFC42u.DLL_AfxGetModuleState
push dword [ebp - 0x10]
mov edi, dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push esi
push 1
mov esi, 0x80000000
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x100bc90
mov bl, 1
call sub.MFC42u.DLL_AfxGetModuleState
push dword [eax + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x100cbdf
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x102f535
call sub.MSVCRT.dll__EH_prolog
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov dword [esi], 0x100282c
mov dword [ebp - 4], 8
call fcn.0100ceeb
cmp dword [esi + 0x184], 0
je 0x100cc43
lea ecx, [esi + 0x194]
call fcn.010263d1
push 0x1388
push dword [esi + 0x188]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100cc3c
push 0
push dword [esi + 0x184]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 0x184], 0
mov eax, dword [esi + 0x188]
test eax, eax
je 0x100cc54
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x274]
push eax
call edi
lea eax, [esi + 0x654]
push eax
call edi
lea eax, [esi + 0x14c]
push eax
call edi
lea eax, [esi + 0x164]
push eax
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString_2
push 0xc36e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call sub.MFC42u.DLL_CString::LoadStringW
push 0xc36f
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
call sub.MFC42u.DLL_AfxGetModuleState
push dword [esi + 0x2ac]
mov eax, dword [eax + 4]
mov ecx, eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.MFC42u.DLL_CWinApp::WriteProfileInt
push 0xc371
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
call sub.MFC42u.DLL_AfxGetModuleState
push dword [esi + 0x2b0]
mov eax, dword [eax + 4]
mov ecx, eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.MFC42u.DLL_CWinApp::WriteProfileInt
push 0xc436
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::LoadStringW
push 0xc437
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
call sub.MFC42u.DLL_AfxGetModuleState
push dword [esi + 0x648]
mov eax, dword [eax + 4]
mov ecx, eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.MFC42u.DLL_CWinApp::WriteProfileInt
call sub.MFC42u.DLL_AfxOleUnlockApp
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 7
call fcn.01025c4e
lea ecx, [esi + 0x290]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CObList::CObList
lea ecx, [esi + 0x234]
mov byte [ebp - 4], 5
call fcn.010145cf
lea ecx, [esi + 0x1d8]
mov byte [ebp - 4], 4
call fcn.010265af
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 3
call fcn.01026374
mov byte [ebp - 4], 2
lea ecx, [esi + 0x130]
call sub.MFC42u.DLL_CObList::CObList
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 1
call fcn.0101a993
and byte [ebp - 4], 0
lea ecx, [esi + 0x5c]
call sub.MFC42u.DLL_CDialog::CDialog
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call sub.MFC42u.DLL_CDocument::CDocument
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x100cddf
Capabilities:
Create thread

Disassembly:
mov eax, 0x102f558
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x58
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0xc4]
call fcn.0101a9ca
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
lea eax, [ebp - 0x10]
xor ebx, ebx
push 0xc44f
push eax
mov dword [ebp - 4], ebx
call fcn.01028e60
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CFile::CFile
push ebx
push 0x20
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CFile::Open
test eax, eax
je 0x100ce88
push ebx
push 0x1000
lea eax, [ebp - 0x20]
push 3
push eax
lea ecx, [ebp - 0x64]
call sub.MFC42u.DLL_CArchive::CArchive
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
call sub.MFC42u.DLL_CFile::GetLength
test eax, eax
je 0x100ce6c
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, esi
call dword [eax + 0xb8]
lea ecx, [ebp - 0x64]
call sub.MFC42u.DLL_CArchive::Close
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0102b7dc
lea eax, [esi + 0x184]
push eax
push ebx
push esi
push 0x100d08e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x100cea9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x1d8]
call fcn.01026622
call fcn.0100c33c
mov ecx, esi
mov dword [esi + 0x230], eax
call fcn.0100dc44
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0102b7d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x100dc44
Capabilities:
Delete file

Disassembly:
mov eax, 0x102f650
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x38
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x654]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call sub.MFC42u.DLL_AfxGetModuleState
mov edi, dword [eax + 4]
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_2
push 0xc422
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::LoadStringW
push 0xc426
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::LoadStringW
push 0x1e
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
lea ecx, [ebp - 0x14]
mov edi, eax
call sub.MFC42u.DLL_CString::CString_2
lea eax, [ebp - 0x14]
push 0xc44e
push eax
mov byte [ebp - 4], 2
call fcn.01028e60
lea ecx, [ebp - 0x34]
call sub.MFC42u.DLL_CFile::CFile
push 0
push 0x7022
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CFile::Open
test eax, eax
je 0x100ddb2
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push edi
push eax
mov dword [ebp - 0x20], 1
call fcn.0100de2a
test eax, eax
je 0x100dda4
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
call fcn.01028f8f
test eax, eax
je 0x100dd98
xor edi, edi
lea eax, [ebp - 0x34]
push edi
mov ecx, esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call fcn.0100e175
test eax, eax
je 0x100dd98
lea ecx, [ebp - 0x34]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x20], edi
call sub.MFC42u.DLL_CFile::CFile
push edi
push 0x4022
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CFile::Open
test eax, eax
je 0x100dd8c
push 1
lea eax, [ebp - 0x44]
push edi
push eax
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0100e175
lea ecx, [ebp - 0x44]
call sub.MFC42u.DLL_CFile::Close
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0102b7d6
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
cmp dword [ebp - 0x20], 0
je 0x100ddb2
lea ecx, [ebp - 0x34]
call sub.MFC42u.DLL_CFile::Close
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0102b7d6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x100f017
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor esi, esi
push edi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
je 0x100f142
lea eax, [ebp - 0x24]
push esi
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x100f142
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp + 0xc], eax
add eax, 0x12c
mov dword [ebp - 8], eax
call edi
cmp eax, dword [ebp - 8]
jae 0x100f142
mov edi, 0x12c
mov ecx, dword [esi]
mov ebx, eax
mov eax, dword [ebp - 0x24]
sub ebx, dword [ebp + 0xc]
sub eax, ecx
mov ecx, edi
imul eax, ebx
cdq
idiv ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ebx
sub ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 4]
sub eax, ecx
mov ecx, edi
imul eax, ebx
cdq
idiv ecx
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sub eax, dword [ebp - 0x24]
add eax, dword [esi]
sub eax, dword [esi + 8]
imul eax, ebx
cdq
mov ebx, edi
idiv ebx
mov ebx, dword [ebp - 0x18]
sub ecx, eax
mov eax, ebx
sub eax, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x24]
sub eax, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, edi
add eax, dword [esi + 4]
imul eax, dword [ebp - 8]
cdq
idiv ecx
sub ebx, eax
mov eax, dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndTopMost]
sub ebx, dword [ebp - 0x20]
cmp dword [ebp + 0x10], 0
jne 0x100f102
mov eax, dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndNoTopMost]
push 0x10
push ebx
push dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
mov ecx, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
call sub.MFC42u.DLL_CWnd::SetWindowPos
push 0x105
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xc]
add ecx, 0x12c
cmp eax, ecx
jb 0x100f082
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
sub edx, eax
push 0x10
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebx
push dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndTopMost]
call sub.MFC42u.DLL_CWnd::SetWindowPos
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x100f18d
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
sub edx, eax
push 0x10
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebx
push dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndNoTopMost]
call sub.MFC42u.DLL_CWnd::SetWindowPos
push 0x105
push edi
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
leave
ret 0xc