joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dcd0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [str.JWPrinter.exe]
mov ecx, dword [0x5e259c]
mov edx, dword [0x5e25a0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], eax
mov ax, word [0x5e25a4]
push 0
push 2
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov word [ebp - 0x18], ax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
push 0x128
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x14]
push esi
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40dd85
lea edx, [esi + 0x24]
lea eax, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40dd52
mov ecx, dword [esi + 8]
push ecx
push eax
push 1
call edi
push 0
push eax
call ebx
jmp 0x40dd52
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f460
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x582d16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
push 0x5e2630
lea ecx, [esp + 0xc]
xor esi, esi
mov dword [esp + 0x14], 0x104
call sub.MFC42.DLL_CString::CString_4
push str.jwfile
lea ecx, [esp + 8]
mov dword [esp + 0x124], esi
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40f53e
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x40f4f6
mov esi, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
add esp, 0x120
ret
lea ecx, [esp + 4]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x118]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x40fde0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x582e4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x54]
test ecx, ecx
jne 0x40fe44
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x40fe23
mov ecx, eax
call fcn.0052faa0
jmp 0x40fe25
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], 0xffffffff
mov dword [esi + 0x54], eax
call fcn.00530510
cmp eax, 1
je 0x40fe56
push 0
call dword [sym.imp.MSVCRT.dll_exit]
call fcn.00531b30
cmp eax, 1
je 0x40fe56
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40fe70
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
xor ebx, ebx
push edi
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40fea6
pop edi
pop ebx
add esp, 0x128
ret 4
push ebp
mov ebp, dword [esp + 0x138]
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40fefd
mov esi, ebp
lea eax, [esp + 0x34]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40fef0
test cl, cl
je 0x40feec
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40fef0
add eax, 2
add esi, 2
test cl, cl
jne 0x40fecc
xor eax, eax
jmp 0x40fef5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40feaf
mov ebx, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
mov eax, ebx
pop edi
pop ebx
add esp, 0x128
ret 4

Function at 0x40ff38
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x582e70
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
push eax
call fcn.0040fe70
test eax, eax
jne 0x40ffd2
push 0x5fd02c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x18], 0
call fcn.004138d0
mov ecx, dword [esi + 0x50]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push str._s_s
push eax
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
push 6
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test eax, eax
je 0x40ffc1
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41a100
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x28]
mov esi, ecx
push eax
mov word [esp + 0xc], 2
mov dword [esi + 0x18], edi
call dword [sym.imp.WSOCK32.dll_inet_addr]
push edi
mov dword [esp + 0x10], eax
call dword [sym.imp.WSOCK32.dll_htons]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 8]
push 0x10
mov word [esp + 0xe], ax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esi]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_sendto]
pop edi
pop esi
add esp, 0x10
ret 0x10

Function at 0x41a160
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x14]
test al, al
jne 0x41a22b
push edi
push 0
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
lea edi, [esi + 4]
push 0x232b
mov dword [esi], eax
mov word [edi], 2
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esi + 6], ax
mov eax, dword [esi]
push 0x10
push edi
push eax
mov dword [esi + 8], 0
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x41a1f5
mov ecx, dword [esi]
mov edx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
push ecx
push str.sockFd
push 0x232b
push str.bind_failed
push edx
call esi
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call esi
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 4
xor eax, eax
pop esi
ret
mov eax, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x232b
push str.bind_success
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 4
mov dword [esi + 0x1c], 0x232b
mov byte [esi + 0x14], 1
mov eax, 1
pop esi
ret
Function at 0x41a580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58444f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.0041f640
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x20]
mov edx, dword [0x5e2bd4]
push eax
lea ecx, [esp + 8]
push 0x5e2e74
push ecx
push 8
push 2
push edx
push esi
mov dword [esp + 0x30], 1
call fcn.004239f0
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea eax, [esp + 4]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x41a660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58447f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.0041f640
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x20]
mov edx, dword [0x5e2bd8]
push eax
lea ecx, [esp + 8]
push 0x5e2e74
push ecx
push 8
push 2
push edx
push esi
mov dword [esp + 0x30], 1
call fcn.004239f0
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea eax, [esp + 4]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x45dea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58753f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.00460ec0
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_5
movsx eax, word [esp + 0x20]
mov edx, dword [0x5e7748]
push eax
lea ecx, [esp + 8]
push 0x5e2e70
push ecx
push 8
push 2
push edx
push esi
mov dword [esp + 0x30], 1
call fcn.004649e0
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea eax, [esp + 4]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x45df80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58756f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.00460ec0
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_5
movsx eax, word [esp + 0x20]
mov edx, dword [0x5e774c]
push eax
lea ecx, [esp + 8]
push 0x5e2e70
push ecx
push 8
push 2
push edx
push esi
mov dword [esp + 0x30], 1
call fcn.004649e0
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea eax, [esp + 4]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x47e670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x588b9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.00483450
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_5
movsx eax, word [esp + 0x20]
mov edx, dword [0x5e93d0]
push eax
lea ecx, [esp + 8]
push 0x5e2e70
push ecx
push 8
push 2
push edx
push esi
mov dword [esp + 0x30], 1
call fcn.00488410
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea eax, [esp + 4]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4b3100
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov eax, 8
lea edi, [esi + 0x3dc]
lea ecx, [esi + 0x2e0]
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov word [ebp - 0x3c], ax
mov word [ebp - 0x2c], ax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, edi
call sub.MFC42.DLL_CString::AllocSysString
lea ecx, [esi + 0x3e0]
mov dword [ebp - 0x34], eax
call sub.MFC42.DLL_CString::AllocSysString
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
call ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
lea edi, [esi + 0x320]
push eax
push ecx
mov ecx, edi
mov byte [esi + 0x480], 1
call fcn.004afb10
mov al, byte [esi + 0x3b4]
test al, al
jne 0x4b326a
call fcn.004afd00
mov ecx, edi
call fcn.004afad0
movsx eax, ax
cmp eax, 9
ja case.default.0x4b31b5
xor edx, edx
mov dl, byte [eax + 0x4b32b4]
jmp dword [edx*4 + 0x4b32a8]
call ebx
mov edx, dword [ebp - 0x14]
push ecx
sub eax, edx
mov ecx, esp
cmp eax, 0xbb8
jbe 0x4b31d2
mov dword [ebp - 0x14], esp
jmp 0x4b3232
mov dword [ebp - 0x1c], esp
push 0x5fd02c
call sub.MFC42.DLL_CString::CString_4
push 1
push 2
mov ecx, esi
call fcn.004b1630
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b318b
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5fd02c
call sub.MFC42.DLL_CString::CString_4
push 1
push 3
mov ecx, esi
call fcn.004b1630
mov byte [esi + 0x480], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5fd02c
call sub.MFC42.DLL_CString::CString_4
push 1
push 4
mov ecx, esi
call fcn.004b1630
mov byte [esi + 0x480], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5fd02c
mov byte [esi + 0x480], 0
call sub.MFC42.DLL_CString::CString_4
push 1
push 4
mov ecx, esi
call fcn.004b1630
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6de0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58bbb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
mov word [ebp - 0x2c], 8
call sub.MFC42.DLL_CString::AllocSysString
lea ecx, [edi + 0x3c4]
push 0x5fd02c
mov dword [ebp - 0x24], eax
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x320]
push eax
call fcn.004afb80
mov al, byte [ebp + 0x10]
test al, al
jne 0x4b6e7f
cmp dword [edi + 0x3d8], 4
jne 0x4b6e5b
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004afd00
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x14], eax
call esi
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::MakeUpper
mov bl, 2
jmp 0x4b6e9e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.004afd00
push 0x5fd02c
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString_4
lea eax, [edi + 0x3c4]
lea ecx, [ebp + 0x10]
push eax
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::operator
push ecx
lea edx, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
push ecx
mov ecx, edi
call fcn.004b6f90
test al, al
je 0x4b6f26
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [edi + 0x3b4]
test al, al
je 0x4b6f60
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call esi
lea ecx, [ebp + 0x10]
mov esi, eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
sub esi, dword [ebp - 0x14]
cmp esi, 0x12c
jb 0x4b6e98
jmp 0x4b6f3c
Function at 0x4bb420
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58c4f8
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
mov eax, dword [esp + 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
jne 0x4bb45f
mov dword [esp + 0x250], 0xffffffff
jmp 0x4bb4e9
push esi
or ebx, 0xffffffff
push edi
mov edi, dword [esp + 0x260]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
pop esi
mov al, byte [esp + ecx + 3]
lea ecx, [esp + ecx + 4]
cmp al, 0x5c
jne 0x4bb4b0
cmp byte [ecx - 2], 0x3a
je 0x4bb4e2
cmp al, al
je 0x4bb4b4
cmp al, 0x2f
jne 0x4bb4b8
mov byte [ecx - 1], 0
lea ecx, [esp + 0x108]
lea edx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, ebx
je 0x4bb502
mov cl, byte [esp + 0x108]
push eax
test cl, 0x10
je 0x4bb4fc
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x250], ebx
lea ecx, [esp + 0x258]
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4bb517
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x258]
mov dword [esp + 0x250], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x248]
pop ebx
mov dword fs:[0], ecx
add esp, 0x250
ret 4
Function at 0x4c6770
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
mov word [ebp - 0x2c], 8
call sub.MFC42.DLL_CString::AllocSysString
lea ecx, [edi + 0x644]
push 0x5fd02c
mov dword [ebp - 0x24], eax
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x3a0]
push eax
call fcn.004afb80
mov al, byte [ebp + 0x10]
test al, al
jne 0x4c680f
cmp dword [edi + 0x594], 4
jne 0x4c67eb
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004ba7f0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x14], eax
call esi
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::MakeUpper
mov bl, 2
jmp 0x4c682e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.004ba7f0
push 0x5fd02c
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString_4
lea eax, [edi + 0x644]
lea ecx, [ebp + 0x10]
push eax
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::operator
push ecx
lea edx, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
push ecx
mov ecx, edi
call fcn.004c6920
test al, al
je 0x4c68b6
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [edi + 0x550]
test al, al
je 0x4c68f0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call esi
lea ecx, [ebp + 0x10]
mov esi, eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
sub esi, dword [ebp - 0x14]
cmp esi, 0x12c
jb 0x4c6828
jmp 0x4c68cc
Function at 0x4cb460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58dd30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
call fcn.004cb5a0
call fcn.004ba7f0
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x578]
mov byte [esi + 0x6b4], 1
test eax, eax
jne 0x4cb4c0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x4cb540
jmp 0x4cb4cc
lea ecx, [ebp - 0x14]
push ecx
push 0
push esi
push 0x4cb570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x700], eax
je 0x4cb4fc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x5fd02c
mov byte [esi + 0x6b4], 0
call sub.MFC42.DLL_CString::CString_4
push 1
push 0x15
mov ecx, esi
call fcn.004be280
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret