joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4048cd
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x10], eax
xor eax, eax
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x40494e
push str.GlobalAccess_DirectInput
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, ebx
je 0x404910
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.0040479a
test eax, eax
je 0x40491e
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x404930
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x404945
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 4], ebx
jne 0x404aa1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, ebx
je 0x404a9e
dec eax
jne 0x404aa1
mov dword [ebp - 8], 1
cmp dword [edi + 0x58], ebx
je 0x404a93
mov eax, dword [edi + 0x58]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0x28]
push edx
push 0x14
push eax
call dword [ecx + 0x28]
cmp eax, ebx
jl 0x404a85
cmp dword [ebp - 8], ebx
je 0x404a93
push dword [ebp - 0x28]
mov ecx, edi
call fcn.00403fa2
mov esi, dword [edi + 0x5c]
xor ecx, ecx
cmp eax, 0xa2
je 0x404a24
cmp eax, 0xa3
je 0x404a24
cmp eax, 0xa0
je 0x404a09
cmp eax, 0xa1
je 0x404a09
cmp eax, 0xa4
je 0x4049ee
cmp eax, 0xa5
je 0x4049ee
and esi, 0xfff70000
test byte [ebp - 0x24], 0x80
jne 0x4049ea
mov ecx, eax
jmp 0x404a3d
or esi, eax
jmp 0x404a50
test byte [ebp - 0x24], 0x80
jne 0x404a01
and esi, 0xfffbffff
mov ecx, 0x40000
jmp 0x404a41
or esi, 0x40000
jmp 0x404a50
test byte [ebp - 0x24], 0x80
jne 0x404a1c
and esi, 0xfffeffff
mov ecx, 0x10000
jmp 0x404a41
or esi, 0x10000
jmp 0x404a50
test byte [ebp - 0x24], 0x80
jne 0x404a37
and esi, 0xfffdffff
mov ecx, 0x20000
jmp 0x404a41
or esi, 0x20000
cmp ecx, ebx
je 0x404a50
or ecx, 0x80000000
push ecx
mov ecx, dword [edi + 0x50]
call fcn.004595e6
mov eax, esi
mov ecx, 0x8ffff
and eax, ecx
je 0x404a6d
mov edx, dword [edi + 0x5c]
and edx, ecx
cmp eax, edx
je 0x404a6d
mov ecx, dword [edi + 0x50]
push esi
call fcn.004595e6
cmp esi, 0xe002e
jne 0x404a77
xor esi, esi
mov dword [edi + 0x5c], esi
cmp dword [ebp - 8], ebx
jne 0x40497c
jmp 0x404a93
cmp eax, 0x8007001e
jne 0x404a93
mov dword [ebp - 4], 1
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x404aa1
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], ebx
jne 0x4048ef
mov ecx, edi
call fcn.00403f72
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x40887f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4088f6
push ebx
mov ebx, dword [esp + 8]
push esi
push ebx
call sub.MSVCR90.dll_strlen
pop ecx
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4088f4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x4088f3
push ebx
push ebx
call sub.MSVCR90.dll_strlen
pop ecx
inc eax
push eax
push edi
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x4088e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4088f3
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
pop ebx
ret 4

Function at 0x40b9a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
call fcn.0040f333
mov edx, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
test edx, edx
jbe 0x40b9df
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, ecx
mov cl, byte [ebp - 8]
xor byte [eax], cl
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
ror eax, cl
add eax, ecx
mov dword [ebp - 8], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jb 0x40b9bd
leave
ret 8
Function at 0x40ed33
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x7f9c]
mov eax, 0x801c
call fcn.00467fb0
mov eax, dword [0x49ce78]
xor eax, ebp
mov dword [ebp + 0x7f98], eax
mov eax, dword [ebp + 0x7fa4]
push ebx
mov ebx, dword [ebp + 0x7fa8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x7fb0]
push esi
mov dword [ebp - 0x6c], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x7fac]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x70], eax
cmp dword [ebp + 0x7fb4], eax
je 0x40ee71
cmp dword [ebp + 0x7fb8], eax
push 1
lea eax, [ebp - 0x74]
push eax
je 0x40ee0d
call fcn.0040ea6f
pop ecx
pop ecx
push dword [eax + 4]
mov esi, 0x8000
push esi
lea eax, [ebp - 0x68]
push eax
mov edi, 0x475850
push edi
push dword [ebp - 0x78]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call ebx
lea ecx, [ebp - 0x74]
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
lea eax, [ebp - 0x68]
push edi
push eax
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x40edfd
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040ea6f
pop ecx
pop ecx
push dword [eax + 4]
lea eax, [ebp - 0x68]
push esi
push eax
push edi
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call ebx
lea ecx, [ebp - 0x74]
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
lea eax, [ebp - 0x68]
push edi
push eax
call sub.MSVCR90.dll_strcmp
pop ecx
jmp 0x40eea9
call fcn.0040ea6f
pop ecx
pop ecx
push dword [eax + 4]
mov esi, 0x8000
push esi
lea eax, [ebp - 0x68]
push eax
push 0x4749d0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
call edi
mov ebx, dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
lea ecx, [ebp - 0x74]
call ebx
lea eax, [ebp - 0x68]
push eax
call sub.MSVCR90.dll_strlen
pop ecx
test eax, eax
jne 0x40eea0
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040ea6f
pop ecx
pop ecx
push dword [eax + 4]
lea eax, [ebp - 0x68]
push esi
push eax
push 0x4749d0
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call edi
lea ecx, [ebp - 0x74]
call ebx
jmp 0x40eea0
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040ea6f
pop ecx
pop ecx
push dword [eax + 4]
mov esi, 0x8000
push esi
lea eax, [ebp - 0x68]
push eax
push 0x4749d0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x74]
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
lea eax, [ebp - 0x68]
push eax
call sub.MSVCR90.dll_strlen
pop ecx
test eax, eax
jne 0x40eec4
cmp dword [ebp - 0x6c], eax
je 0x40eec4
push dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov ecx, dword [ebp + 0x7f98]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467bd4
add ebp, 0x7f9c
leave
ret
Function at 0x40f037
Capabilities:
Create directory

Disassembly:
push 0x18
mov eax, 0x469cd8
call fcn.00467be3
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.0040e7af
and dword [ebp - 4], 0
push str.Profiles_
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.RTFC.dll_class_CStringLite___cdecl_operator_class_CStringLite_const___char_const__]
push dword [eax + 4]
call dword [sym.imp.MSVCR90.dll__mkdir]
mov esi, dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
add esp, 0x18
lea ecx, [ebp - 0x14]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call esi
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.0040ea6f
pop ecx
pop ecx
push dword [eax + 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x24]
call esi
call fcn.00467c82
ret

Function at 0x40f0ac
Capabilities:
Create directory

Disassembly:
push 0x18
mov eax, 0x469cd8
call fcn.00467be3
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.0040e7af
and dword [ebp - 4], 0
push str.Profiles_
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.RTFC.dll_class_CStringLite___cdecl_operator_class_CStringLite_const___char_const__]
push dword [eax + 4]
call dword [sym.imp.MSVCR90.dll__mkdir]
mov esi, dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
add esp, 0x18
lea ecx, [ebp - 0x14]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call esi
lea eax, [ebp - 0x24]
push eax
call fcn.0040e920
pop ecx
push dword [eax + 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x24]
call esi
call fcn.00467c82
ret
Function at 0x40f411
Capabilities:
Persist via run registry key

Disassembly:
push 0x38
mov eax, 0x469d8a
call fcn.00467be3
mov edi, 0x4bda30
mov ecx, edi
call fcn.0041cd25
test eax, eax
je 0x40f4a8
lea ecx, [ebp - 0x44]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::constructor_void_]
and dword [ebp - 4], 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
lea ecx, [ebp - 0x44]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::SetRegistryKey_struct_HKEY_____char_const__]
mov esi, 0x477128
push esi
lea ecx, [ebp - 0x44]
call dword [sym.imp.RTFC.dll_public:_int___thiscall_CRegValue::DeleteValue_char_const__]
cmp dword [ebp + 8], 0
je 0x40f498
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0040e7af
pop ecx
pop ecx
mov eax, dword [eax + 4]
push 0x4784d4
push eax
push 0x4749d0
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00466460
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
jmp 0x40f4a0
push esi
mov ecx, edi
call fcn.00466498
lea ecx, [ebp - 0x44]
jmp 0x40f543
lea ecx, [ebp - 0x30]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::constructor_void_]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::SetRegistryKey_struct_HKEY_____char_const__]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea eax, [ebp - 0x1c]
push 1
push eax
mov byte [ebp - 4], 3
call fcn.0040e7af
push dword [eax + 4]
lea eax, [ebp - 0x10]
push str.__s___s
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x14
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
cmp dword [ebp + 8], 0
je 0x40f529
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x477128
lea ecx, [ebp - 0x30]
call dword [sym.imp.RTFC.dll_public:_int___thiscall_CRegValue::SetValue_char_const___char_const__]
jmp 0x40f537
push 0x477128
lea ecx, [ebp - 0x30]
call dword [sym.imp.RTFC.dll_public:_int___thiscall_CRegValue::DeleteValue_char_const__]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x30]
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CRegValue::destructor_void_]
call fcn.00467c82
ret
Function at 0x40f5ea
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [sym.imp.RTCore.dll_class_COSVersion_g_osVersion]
sub esp, 0x14
call dword [sym.imp.RTFC.dll_public:_int___thiscall_COSVersion::IsWindows9x_void_]
test eax, eax
je 0x40f606
push 0xffffffffffffffff
push 6
jmp 0x40f654
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40f650
push esi
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffffffffffffffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
leave
ret

Function at 0x40fac8
Capabilities:
Enumerate gui resources
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x469e8c
call fcn.00467c16
push 0x478544
push 0xc4
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40fb98
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x40fb98
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [ebp - 0x34]
mov esi, eax
call sub.mfc90.dll_Ordinal_404
push ebx
push 0x1001
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call sub.mfc90.dll_Ordinal_5520
test eax, eax
je 0x40fb80
lea ecx, [ebp - 0x24]
call sub.mfc90.dll_Ordinal_320
push edi
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call sub.mfc90.dll_Ordinal_6793
mov dword [ebp - 4], 1
jmp 0x40fb76
mov byte [ebp - 4], bl
call sub.mfc90.dll_Ordinal_1265
jmp 0x40fb83
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.mfc90.dll_Ordinal_663
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
cmp esi, ebx
je 0x40fbc0
push esi
push 0x40faad
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
jmp 0x40fbc3
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
call fcn.00467c82
ret
Function at 0x4100f2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
fld dword [0x477c20]
mov edx, dword [eax + 4]
fstp dword [ebp - 4]
push esi
xor ecx, ecx
push edi
cmp edx, 0x20005
jb 0x410227
mov eax, dword [ebp + 0x10]
sub eax, ecx
je 0x4101fa
dec eax
je 0x4101da
dec eax
je 0x4101bd
dec eax
je 0x4101a0
dec eax
je 0x410177
dec eax
jne 0x410285
cmp edx, 0x2000d
jb 0x410285
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x12c], ecx
je 0x410285
mov eax, dword [eax + 0x23dc]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
test eax, eax
jge 0x41016c
fadd dword [0x477aa8]
fdiv qword [0x4785c8]
jmp 0x410282
cmp edx, 0x2000d
jb 0x410285
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x12c], ecx
je 0x410285
mov eax, dword [eax + 0x23d8]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jmp 0x410162
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x12c], ecx
je 0x410285
mov eax, dword [eax + 0x138]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jmp 0x410162
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x12c], ecx
je 0x410285
mov eax, dword [eax + 0x134]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jmp 0x410162
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x12c], ecx
je 0x410285
mov eax, dword [eax + 0x130]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jmp 0x410162
mov edi, dword [ebp + 0xc]
lea esi, [edi + 0x110]
cmp dword [esi], ecx
je 0x410285
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi]
cmp eax, 0x7d0
ja 0x410280
mov eax, dword [edi + 0x13a0]
fild dword [edi + 0x13a0]
jmp 0x410162
cmp dword [ebp + 0x10], ecx
jne 0x410285
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0x110]
cmp dword [eax], ecx
je 0x410285
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7d0
ja 0x410280
mov eax, dword [edi + 0x114]
fild dword [edi + 0x114]
test eax, eax
jge 0x410260
fadd dword [0x477aa8]
sub esi, dword [edi + 0x10c]
fmul qword [0x4785c0]
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jge 0x41027c
fadd dword [0x477aa8]
fdivp st(1)
jmp 0x410282
fldz
fstp dword [ebp - 4]
fld dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x4103b4
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x49ce78]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x20
mov eax, 0x469eff
call fcn.00467be3
mov edi, dword [ebp + 0x41c]
mov eax, dword [ebp + 0x420]
xor esi, esi
push eax
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [ebp - 4], esi
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x208]
inc ebx
push eax
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push str._04d__02d__02d__02d__02d__02d__03d
lea eax, [ebp + 0x104]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0040e7af
push dword [eax + 4]
lea eax, [ebp + 0x30c]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
mov esi, dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
add esp, 0x3c
lea ecx, [ebp - 0x28]
call esi
lea eax, [ebp + 0x30c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040e7af
pop ecx
pop ecx
push dword [eax + 4]
mov ecx, edi
push str._AB_
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc90.dll_Ordinal_5924]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call esi
lea eax, [ebp + 0x30c]
push eax
push str._ABDir_
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_5924]
lea eax, [ebp + 0x208]
push eax
push str._SysDir_
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_5924]
lea eax, [ebp]
push eax
push str._WinDir_
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_5924]
lea eax, [ebp + 0x104]
push eax
push str._Time_
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00467bd4
add ebp, 0x414
leave
ret
Function at 0x4128b0
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x46a2a1
call fcn.00467be3
lea eax, [ebp - 0x10]
push eax
call fcn.0040e812
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov dword [esp], str._lang
call dword [sym.imp.mfc90.dll_Ordinal_310]
push dword [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00408911
mov esi, eax
push str.RTSS.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.00408911
add esp, 0x18
push 1
lea ecx, [ebp - 0x10]
mov edi, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
call fcn.00467c82
ret
Function at 0x41470d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x49ce78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [esi], vtable.CMSIAfterburnerHAL.0
call fcn.004144f1
xor edi, edi
cmp dword [0x49d380], edi
je 0x414763
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 1
push edi
push edi
lea eax, [ebp - 0x108]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public_virtual:_void___thiscall_CHAL::destructor_void_]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00467bd4
leave
ret

Function at 0x41bdb5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x10
mov edi, ecx
call esi
xor ebx, ebx
test ax, ax
push 0x11
setl bl
call esi
xor ecx, ecx
test ax, ax
setge cl
lea eax, [ebp - 0x10]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
and dword [ebp - 8], 0
test ebx, ebx
je 0x41be1b
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0x10]
call fcn.0041aa2b
push eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.00418d10
test eax, eax
je 0x41be68
mov dword [ebp - 4], 1
jmp 0x41be68
test esi, esi
je 0x41be68
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0x10]
call fcn.0041aa2b
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.0041a9be
cmp eax, 1
jle 0x41be68
push dword [ebp - 8]
mov ecx, edi
call fcn.00418d10
test eax, eax
je 0x41be68
cmp dword [ebp - 8], 0x4d4
jne 0x41be61
lea ecx, [edi + 0x4ec]
call fcn.00462b13
test eax, eax
je 0x41be68
mov dword [ebp - 4], 2
lea esi, [edi + 0x4ec]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.mfc90.dll_Ordinal_2592
cmp eax, esi
jne 0x41be90
mov ecx, esi
call fcn.00462b13
test eax, eax
je 0x41be90
mov dword [ebp - 4], 2
mov esi, dword [ebp - 4]
cmp dword [edi + 0x148], esi
je 0x41beeb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 8], 0
jne 0x41beb3
test esi, esi
jne 0x41beb3
cmp eax, dword [edi + 0x14c]
jbe 0x41beeb
add eax, 0x3e8
mov ecx, edi
mov dword [edi + 0x148], esi
mov dword [edi + 0x14c], eax
call fcn.00419a92
lea ecx, [edi + 0x348]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x417
mov ecx, edi
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_6559
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420e11
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push 0x738
push dword [esp + 0x10]
mov esi, ecx
lea edi, [esi + 8]
push edi
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 4], eax
test eax, eax
jne 0x420e3f
xor eax, eax
jmp 0x420f12
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSourcesNum
push eax
call edi
mov dword [esi + 0x740], eax
test eax, eax
jne 0x420e60
mov ecx, esi
call fcn.00420dcd
jmp 0x420e38
push str.GetSourceDesc
push dword [esi + 4]
call edi
mov dword [esi + 0x744], eax
test eax, eax
je 0x420e57
push str.GetSourceData
push dword [esi + 4]
call edi
mov dword [esi + 0x748], eax
test eax, eax
je 0x420e57
push ebx
push str.SetupSource
push dword [esi + 4]
call edi
lea ebx, [esi + 0x74c]
mov dword [ebx], eax
test eax, eax
je 0x420eb5
mov ecx, dword [esp + 0x10]
push 0
push dword [ecx + 0x104]
call eax
pop ecx
pop ecx
test eax, eax
jne 0x420eb5
and dword [ebx], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x104]
cmp eax, 0xffffffff
je 0x420efe
lea ecx, [esi + 0x110]
push ecx
push eax
call dword [esi + 0x744]
pop ecx
pop ecx
test eax, eax
je 0x420f11
lea ebx, [esi + 0x31c]
push ebx
mov ecx, esi
call fcn.00420d10
test eax, eax
jne 0x420efe
push 0x4749d0
push 0x104
push ebx
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
push str.Uninit
push dword [esi + 4]
call edi
mov dword [esi + 0x750], eax
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
ret 4