joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cca0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x434
push ebx
push esi
push edi
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42cd7a
mov ebx, dword [sym.imp.kernel32.dll_GetCurrentProcessId]
call ebx
mov edi, eax
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x22c
call sub.kernel32.dll_Process32FirstW
test eax, eax
je 0x42cd73
cmp dword [esp + 0x14], edi
je 0x42ccfd
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
je 0x42cd17
cmp dword [esp + 0x14], edi
jne 0x42cce8
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x30]
lea eax, [esp + 0x238]
push edx
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
add esp, 8
call ebx
cmp edi, eax
je 0x42cd73
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.kernel32.dll_Process32FirstW
test eax, eax
je 0x42cd73
cmp dword [esp + 0x14], edi
je 0x42cd47
lea edx, [esp + 0xc]
push edx
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
je 0x42cd73
cmp dword [esp + 0x14], edi
jne 0x42cd32
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x238]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_wcscmp]
add esp, 8
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x434
ret
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x434
ret
Function at 0x42f440
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea ecx, [eax + eax + 4]
push ecx
call sub.mfc42u.dll_operatornew
mov edx, dword [edi]
mov esi, eax
push edx
push esi
call dword [sym.imp.msvcrt.dll_wcscpy]
mov eax, dword [edi]
add esp, 0xc
lea edx, [esp + 8]
mov ecx, dword [eax - 8]
xor eax, eax
push edx
mov word [esi + ecx*2 + 2], ax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], 0x50
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
call dword [sym.imp.shell32.dll_SHFileOperationW]
push esi
call sub.mfc42u.dll_operatordelete
add esp, 4
pop edi
pop esi
add esp, 0x20
ret

Function at 0x432450
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push edi
push 0
push 0xf
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x432471
xor eax, eax
pop edi
add esp, 0x22c
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0x22c
push eax
push edi
call sub.kernel32.dll_Process32FirstW
test eax, eax
jne 0x432499
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
pop edi
add esp, 0x22c
ret
push ebx
push esi
mov esi, dword [sym.imp.msvcrt.dll_wcscmp]
xor ebx, ebx
lea ecx, [esp + 0x30]
push ecx
push 0x61a060
call esi
add esp, 8
test eax, eax
jne 0x4324b9
inc ebx
jmp 0x4324c8
lea edx, [esp + 0x30]
push edx
push 0x61a044
call esi
add esp, 8
lea eax, [esp + 0xc]
push eax
push edi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x4324a3
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
pop esi
test ebx, ebx
pop ebx
pop edi
setne al
add esp, 0x22c
ret
Function at 0x432f60
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c6cc8
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
mov eax, dword [edi + 0x1d8]
push edx
mov esi, dword [eax + ecx*4]
mov ecx, esi
call fcn.004f46e0
mov ecx, dword [edi + 0x1dc]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], 0
jle 0x432fd2
mov edx, dword [edi + 0x1d8]
mov ecx, dword [esi + 0x168]
mov edx, dword [edx + eax*4]
mov edx, dword [edx + 0x168]
cmp ecx, edx
jg 0x432fc1
mov ecx, edx
mov dword [esi + 0x168], ecx
mov ecx, dword [edi + 0x1dc]
inc eax
cmp eax, ecx
jl 0x432fa6
mov eax, dword [esi + 0x168]
lea ecx, [esi + 0xc]
inc eax
mov dword [esi + 0x168], eax
mov eax, dword [esp + 0x1c]
push eax
call sub.mfc42u.dll_CString::operator_2
mov dword [esi + 0x204], 4
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x433042
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x43301d
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x433042
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004f46e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.kernel32.dll_MoveFileW]
lea ecx, [esp + 0x1c]
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x43a880
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5c7fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004d0030
lea ecx, [esi + 0x84]
mov dword [esp + 0x28], 0
call fcn.0043a920
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call sub.mfc42u.dll_CString::CString_1
lea ecx, [esp + 0x10]
call fcn.004d0130
mov eax, dword [esi + 0x94]
push 0
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov ecx, esi
call fcn.00432960
mov ecx, 0xa
xor eax, eax
lea edi, [esi + 0xb3c]
mov dword [esp + 0x28], 0xffffffff
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
call fcn.004d00c0
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret
Function at 0x43d850
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c8260
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov al, byte [esi + 0xb2c]
test al, al
jne 0x43d969
mov eax, dword [esi + 0xb34]
mov ecx, dword [esi + 0xb30]
inc eax
mov dword [esi + 0xb34], eax
mov dword [esi + 0xb38], eax
sub eax, ecx
cmp eax, 0xc8
jle 0x43d8d3
inc ecx
mov dword [esi + 0xb30], ecx
mov ecx, esi
call fcn.0043ebc0
mov eax, dword [esi + 0xb30]
lea ecx, [esp + 4]
dec eax
push eax
push ecx
mov ecx, esi
call fcn.0043ef10
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea ecx, [esp + 4]
call sub.mfc42u.dll_CString::CString
jmp 0x43d8da
mov ecx, esi
call fcn.0043ebc0
mov eax, dword [esi + 0xb34]
push edi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0043ef10
mov eax, dword [eax]
push 0
push 1
push eax
lea ecx, [esi + 0x2e0]
mov dword [esp + 0x28], 0
call fcn.004daac0
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.mfc42u.dll_CString::CString
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0043ef50
mov edi, dword [eax]
mov eax, dword [esi + 0xb34]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.0043ef10
mov eax, dword [eax]
push 0
push edi
push eax
call dword [sym.imp.kernel32.dll_CopyFileW]
lea ecx, [esp + 0xc]
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.mfc42u.dll_CString::CString
pop edi
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x43d980
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c8288
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov al, byte [esi + 0xb2c]
test al, al
jne 0x43db4f
mov eax, dword [esi + 0xb34]
mov ecx, dword [esi + 0xb30]
inc eax
mov dword [esi + 0xb34], eax
mov dword [esi + 0xb38], eax
sub eax, ecx
cmp eax, 0xc8
jle 0x43da03
inc ecx
mov dword [esi + 0xb30], ecx
mov ecx, esi
call fcn.0043ebc0
mov eax, dword [esi + 0xb30]
lea ecx, [esp + 4]
dec eax
push eax
push ecx
mov ecx, esi
call fcn.0043ef10
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea ecx, [esp + 4]
call sub.mfc42u.dll_CString::CString
jmp 0x43da0a
mov ecx, esi
call fcn.0043ebc0
push edi
push 1
mov ecx, esi
call fcn.0043b330
mov ecx, esi
call fcn.00436b70
mov eax, dword [eax + 0xd4]
lea edi, [eax + 0x1c8]
mov ecx, edi
call fcn.00508980
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.004b2c80
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.0050abc0
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.004b2c70
sub esp, 8
lea ecx, [esi + 0x2e8]
fstp qword [esp]
call fcn.004b6d10
lea edi, [esi + 0x2e0]
mov ecx, edi
call fcn.004e3f70
mov eax, dword [esi + 0xb34]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.0043ef10
mov eax, dword [eax]
push 0
push 1
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.004daac0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call sub.mfc42u.dll_CString::CString
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0043ef50
mov edi, dword [eax]
mov eax, dword [esi + 0xb34]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x28], 1
call fcn.0043ef10
mov eax, dword [eax]
push 0
push edi
push eax
call dword [sym.imp.kernel32.dll_CopyFileW]
lea ecx, [esp + 8]
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, esi
call fcn.00449420
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x64]
lea eax, [esp + 0x10]
push eax
call sub.mfc42u.dll_CTime::GetTickCount
lea ecx, [esp + 0x14]
push 0x619e88
push ecx
lea ecx, [esp + 0x18]
call sub.mfc42u.dll_CTime::Format
push eax
lea ecx, [esi + 0x1b8]
mov dword [esp + 0x24], 2
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call sub.mfc42u.dll_CString::CString
pop edi
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x43e790
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c83a8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
call fcn.0043e8d0
test al, al
je 0x43e851
mov eax, dword [esi + 0xb34]
lea ecx, [esp + 4]
dec eax
push eax
push ecx
mov ecx, esi
call fcn.0043ef10
mov edx, dword [esp + 4]
mov dword [esp + 0x14], 0
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, dword [esi + 0xb34]
cmp eax, 0xffffffff
je 0x43e833
dec ecx
lea eax, [esp + 4]
mov dword [esi + 0xb34], ecx
push 0
push eax
mov ecx, esi
call fcn.0043e120
test al, al
je 0x43e828
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0043ef50
mov eax, dword [eax]
mov edx, dword [esp + 4]
push 0
push eax
push edx
call dword [sym.imp.kernel32.dll_CopyFileW]
lea ecx, [esp + 8]
call sub.mfc42u.dll_CString::CString
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x64]
jmp 0x43e840
mov dword [esi + 0xb30], ecx
mov ecx, esi
call fcn.0043ebc0
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x441110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c86a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, ecx
mov ecx, 0x5e2824
push edi
mov eax, dword [esi + 0x170]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esi + 0x170], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov edi, dword [esi + 0xa7c]
mov byte [esp + 0x68], 3
cmp edi, eax
je 0x4411b7
mov edi, dword [esi + 0xa78]
mov edi, dword [edi + 8]
mov dword [esp + 8], edi
jmp 0x4411bb
mov dword [esp + 8], eax
push ebx
mov ebx, dword [esp + 0xc]
xor edi, edi
cmp ebx, eax
jle 0x441266
mov ebx, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x7c]
jmp 0x4411d7
xor eax, eax
push ebp
lea ecx, [esp + 0x58]
push ebx
push ecx
push eax
push edi
mov ecx, esi
call fcn.00444620
push ebp
lea edx, [esp + 0x44]
push ebx
push edx
push 2
push edi
mov ecx, esi
call fcn.00444620
push ebp
lea eax, [esp + 0x30]
push ebx
push eax
push 1
push edi
mov ecx, esi
call fcn.00444620
push ebp
lea ecx, [esp + 0x1c]
push ebx
push ecx
push 3
push edi
mov ecx, esi
call fcn.00444620
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
add eax, edx
add eax, dword [esp + 0x48]
add eax, ecx
je 0x44124d
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
push edi
call fcn.0050e080
add esp, 0x14
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x4411d5
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ecx, 0x5e2824
pop ebp
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esi + 0x170], edi
cmp edx, eax
mov byte [esp + 0x6c], 4
pop ebx
je 0x44128e
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
xor eax, eax
mov ecx, 0x5e2824
mov esi, 0x5e262c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x28]
mov byte [esp + 0x68], 5
cmp edx, eax
je 0x4412b8
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
xor eax, eax
mov ecx, 0x5e2824
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x68], 6
cmp edx, eax
je 0x4412dd
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
xor eax, eax
mov ecx, 0x5e2824
mov dword [esp + 0x38], esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x50]
pop edi
cmp ecx, eax
mov dword [esp + 0x64], 7
pop esi
je 0x441300
push ecx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x449a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c93c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.mfc42u.dll_CString::CString_3
mov eax, dword [esi + 0x84]
lea ecx, [esp + 4]
push eax
push 0x61b388
push ecx
mov dword [esp + 0x3c], 0
call sub.mfc42u.dll_CString::Format_1
add esp, 0xc
lea ecx, [esp + 0xc]
call sub.mfc42u.dll_CFileFind::CFileFind
mov edx, dword [esp + 4]
push 0
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.mfc42u.dll_CFileFind::FindFile
test eax, eax
je 0x449b17
lea ecx, [esp + 0xc]
call sub.mfc42u.dll_CFileFind::FindNextFileW
mov esi, eax
mov eax, dword [esp + 0xc]
push 0x20
lea ecx, [esp + 0x10]
call dword [eax + 0x40]
test eax, eax
je 0x449b13
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call sub.mfc42u.dll_CFileFind::GetFilePath
mov eax, dword [eax]
push 0
push 1
push eax
mov byte [esp + 0x3c], 2
call fcn.004da6f0
add esp, 0xc
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call sub.mfc42u.dll_CString::CString
test esi, esi
jne 0x449ac7
lea ecx, [esp + 0xc]
call sub.mfc42u.dll_CFileFind::Close
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005c145a
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x450ca0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5ca507
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
lea eax, [esi + 0x24]
mov dword [esp + 0x10], 0
push eax
call sub.mfc42u.dll_CString::CString_1
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], 1
mov eax, dword [ecx - 8]
test eax, eax
jne 0x450d00
push 0
push 0
push 0x61b774
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call sub.mfc42u.dll_AfxMessageBox_1
jmp 0x450dc5
lea edi, [esi + 0x2e0]
mov ecx, edi
call fcn.004dfab0
mov edx, dword [eax + 8]
xor eax, eax
mov ecx, dword [edx - 8]
test ecx, ecx
sete al
test eax, eax
je 0x450d3a
push 0
push 0
push 0x61b7b8
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call sub.mfc42u.dll_AfxMessageBox_1
jmp 0x450dc5
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax - 8]
mov edx, dword [ecx - 8]
sub eax, edx
lea edx, [esp + 8]
push eax
push edx
lea ecx, [esp + 0x14]
call sub.mfc42u.dll_CString::Left
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.004dfab0
add eax, 8
lea ecx, [esp + 8]
push eax
call sub.mfc42u.dll_CString::operator_1
push 0x61b7ac
lea ecx, [esp + 0xc]
call fcn.005c0e5a
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x450db7
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.mfc42u.dll_CString::CString_1
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.mfc42u.dll_CString::CString
jmp 0x450ddd
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.mfc42u.dll_CString::CString
mov esi, dword [esp + 0x24]
push 0x626d30
mov ecx, esi
call sub.mfc42u.dll_CString::CString_2
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x465aa0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cc940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, ecx
push esi
lea eax, [esp + 0xc]
mov ecx, dword [ebx + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.user32.dll_GetWindowRect]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov edi, eax
mov esi, dword [ecx]
sub edi, dword [ecx + 8]
sub esi, edx
cmp esi, edi
jle 0x465b0b
sub eax, edx
cmp esi, eax
jge 0x465b0b
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esp + 0x10]
add esi, ecx
mov dword [esp + 0x18], esi
jmp 0x465b1a
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [ebp + 8]
call fcn.0050b020
push eax
lea ecx, [esp + 0x24]
call fcn.004b6cb0
fld qword [esp + 0x20]
fsub qword [0x5e79a8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0
fstp qword [esp + 0x20]
fld qword [esp + 0x28]
fsub qword [0x5e79a8]
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fadd qword [0x5e79a8]
fstp qword [esp + 0x30]
fld qword [esp + 0x38]
fadd qword [0x5e79a8]
fstp qword [esp + 0x38]
call fcn.004b2ac0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push 0x3ff00000
push 0
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x20]
cdq
sub eax, edx
mov byte [esp + 0x80], 1
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x3c]
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push 0xbff00000
push 0
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
sar esi, 1
sar edi, 1
call fcn.004b2ca0
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0xd4]
push edx
call fcn.004d34b0
mov ecx, dword [ebp + 8]
push esi
push edi
push 0
push 0
call fcn.0050b040
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
call fcn.0050b040
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov ecx, dword [ebx + 0xd4]
call fcn.004d2f90
mov ecx, eax
call fcn.004d2830
push esi
push edi
push 0
mov ecx, ebx
call fcn.004d4850
push esi
push edi
push 0
mov ecx, ebx
call fcn.004d4950
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 0
call fcn.0042bd50
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x70]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4685c0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x200
push esi
push edi
mov edi, dword [esp + 0x20c]
mov esi, ecx
push edi
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 4], eax
jne 0x4685ee
pop edi
pop esi
add esp, 0x200
ret 4
lea eax, [esp + 0x12]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
mov ecx, dword [0x61c3d0]
mov edx, dword [0x61c3d4]
mov ax, word [0x61c3d8]
add esp, 8
mov dword [esp + 8], ecx
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x14], edx
mov word [esp + 0x18], ax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.00468650
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov eax, edi
pop edi
pop esi
add esp, 0x200
ret 4

Function at 0x46c810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ccf80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push eax
push ecx
call fcn.004aaae0
add esp, 0x10
lea ecx, [esp]
push eax
call sub.mfc42u.dll_CString::CString_1
mov edx, dword [esp]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.004aaab0
mov edx, dword [eax]
add esp, 0x10
push edx
push 0x61c6fc
push 0x61c6e4
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0046c5e0
lea ecx, [esp + 0x30]
push 0x3ed
push ecx
mov byte [esp + 0x28], 1
call fcn.0046c780
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x473ff0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5cd8b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.user32.dll_GetDC]
push eax
call sub.mfc42u.dll_CDC::FromHandle
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
mov esi, eax
call dword [sym.imp.user32.dll_GetClientRect]
xor eax, eax
mov dword [esp + 0x10], 0x5e5254
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.gdi32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x14]
call sub.mfc42u.dll_CGdiObject::Attach
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.mfc42u.dll_CDC::SelectClipRgn
call sub.mfc42u.dll_CDC::GetHalftoneBrush
push eax
mov ecx, esi
call sub.mfc42u.dll_CDC::SelectObject_1
mov ebp, eax
mov eax, dword [esp + 0x38]
push 0x5a0049
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
mov eax, dword [eax + 8]
sub ecx, edx
sub eax, ebx
push ecx
push eax
push edx
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.gdi32.dll_PatBlt]
push ebp
mov ecx, esi
call sub.mfc42u.dll_CDC::SelectObject_1
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.user32.dll_ReleaseDC]
mov dword [esp + 0x10], 0x5e3df4
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.mfc42u.dll_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4