joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449b80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x449bb3
push esi
call fcn.0044cc80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x449bac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x449c39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x449c22
mov eax, dword [esi + 8]
test eax, eax
je 0x449bd7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x449c1e
cmp eax, 2
je 0x449c22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x449bca
cmp eax, 3
je 0x449bfd
cmp eax, 1
jne 0x449bca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x449bca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x449bca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00449c60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x449c48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00449c60
add esp, 4
pop esi
ret

Function at 0x456710
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4567b3
test eax, eax
jbe 0x4567b3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4567b3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45675e
xor esi, esi
jmp 0x456764
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45678f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004582c0
add esi, eax
push esi
mov ebx, esi
call fcn.004582c0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x456770
pop ebp
test edi, edi
pop edi
jne 0x4567b3
test ebx, ebx
je 0x4567b3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045c6c0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4568f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x456a0d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x456a0d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046d43b
mov esi, eax
test esi, esi
je 0x456a0d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x456a0d
mov ecx, esi
call fcn.00456860
cmp edi, eax
jge 0x456a0d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x456993
mov dword [esp + 0x34], 1
jmp 0x4569ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x456a0d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004550e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46dddf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46de17
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046be96
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046be6e
jmp 0x46de23
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46f4d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46f512
call fcn.00474fcc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f512
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f509
xor eax, eax
jmp 0x46f51a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f520
pop edi
pop esi
pop ebx
ret 4
Function at 0x4754fc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47552a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x475548
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00475462
jmp 0x475548
mov eax, dword [esi + 0x14]
test eax, eax
je 0x475548
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00475462
test edi, edi
mov eax, edi
jne 0x475532
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x408e68
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408eba
test eax, edx
je 0x408ebd
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408e7d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408ea3
add ecx, 4
js 0x408e93
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408ea0
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408ec9
test edx, edx
jne 0x408e70
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41d310
Capabilities:
Encode data using xor

Disassembly:
loop 0x41d330
mov dword [0x923aad20], eax
mov al, byte [0xa858bd25]
daa
outsd dx, dword [esi]
add ecx, dword [edi + 0x25c559b3]
adc esp, ebx
xchg edx, eax
mov dl, 0x45
push ecx
sub dword [eax], ebp
cwde
mov byte [esi - 0x61cb83ee], bh
adc bh, byte [esp + esi - 0x62]
push edx
mov esi, 0x9c0ac3ee
push 0xffffffffffffff97
div byte [ecx + 0x3d76ac82]
test al, 0x8b
jmp 0x41d37f
lea esi, [ecx]
cmp esi, esp
xor eax, 0x89f98661
jnp 0x41d3c4
aad 0xeb
scasd eax, dword es:[edi]
popal
dec ebp
shr ah, 0xcc
inc ebx
invalid
and ah, byte ss:[eax - 0x62]
shr byte [eax - 0x29], 0x7b
scasd eax, dword es:[edi]
scasb al, byte es:[edi]
aas
add dl, 0x1f
cmp dl, byte [edx]
push ss
invalid
Function at 0x4023b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dfe2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.004021b0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 1
call fcn.00402290
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.00402230
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x402d00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4dff28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x402daa
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004156cc
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402d91
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x402d91
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x68], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00415612
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402dc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x402e22
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x402e30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x402f24
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocString
mov ecx, edi
call fcn.00402dc0
test eax, eax
jne 0x402f24
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocString
mov ecx, edi
call fcn.00402dc0
test eax, eax
jne 0x402f24
lea edx, [esp + 0x10]
push str.__1_
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x402ef5
lea eax, [esp + 0x10]
push 0x535270
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x402ef5
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x402ef8
mov byte [esi], 0
push 0x53526c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4061a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e07bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
lea ecx, [esp]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 8]
mov dword [esp + 0x128], 1
push eax
push str.SOFTWAREClassesApplicationsiexplore.exe_shellopencommand
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4062db
push edi
mov ecx, 0x40
lea edi, [esp + 0x21]
mov byte [esp + 0x20], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
stosb byte es:[edi], al
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
lea ecx, [esp + 4]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::MakeLower
push str.iexplore.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 8]
mov byte [esp + 0x12c], 2
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
pop edi
je 0x4062bc
mov edx, dword [esp + 4]
mov ecx, dword [edx - 8]
add ecx, eax
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x12c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], 2
call fcn.00415612
push 0x5353fc
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 4]
mov byte [esp + 0x128], 1
call fcn.00415612
push esi
mov esi, dword [esp + 0x134]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x18], 1
lea ecx, [esp + 4]
mov byte [esp + 0x12c], 0
call fcn.00415612
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x12c
ret 4

Function at 0x406420
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e0820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push str.loadedscript
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00406330
lea ecx, [esp + 4]
mov byte [esp + 0x14], 2
call fcn.00415612
mov edx, dword [esp + 8]
push 5
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4085b0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00415b80
mov cl, byte [0x5565a8]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x4085ef
mov dl, cl
mov ecx, 0x5565a4
or dl, al
mov byte [0x5565a8], dl
call sub.MFC42.DLL_CString::CString_3
push 0x408650
call fcn.00415bec
add esp, 4
mov eax, dword [0x5565a4]
push 0x556570
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x408626
lea ecx, [esp + 4]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 4]
mov ecx, 0x5565a4
push edx
call sub.MFC42.DLL_CString::operator
push esi
mov esi, dword [esp + 0x100c]
push 0x5565a4
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop esi
add esp, 0x1004
ret

Function at 0x408660
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00415b80
mov cl, byte [0x5565a0]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x40869f
mov dl, cl
mov ecx, 0x55659c
or dl, al
mov byte [0x5565a0], dl
call sub.MFC42.DLL_CString::CString_3
push 0x408730
call fcn.00415bec
add esp, 4
mov eax, dword [0x55659c]
push esi
push 0x556570
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x408709
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x535218
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x55659c
call sub.MFC42.DLL_CString::operator
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x55659c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop esi
add esp, 0x1004
ret

Function at 0x408740
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00415b80
mov cl, byte [0x556598]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x40877f
mov dl, cl
mov ecx, 0x556594
or dl, al
mov byte [0x556598], dl
call sub.MFC42.DLL_CString::CString_3
push 0x408810
call fcn.00415bec
add esp, 4
mov eax, dword [0x556594]
push esi
push 0x556570
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4087e9
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x535218
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x556594
call sub.MFC42.DLL_CString::operator
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x556594
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x408820
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00415b80
mov al, byte [0x556588]
push ebx
mov ebx, 1
push esi
test bl, al
mov dword [esp + 8], 0
jne 0x408863
mov dl, al
mov ecx, 0x556584
or dl, bl
mov byte [0x556588], dl
call sub.MFC42.DLL_CString::CString_3
push 0x4088f0
call fcn.00415bec
add esp, 4
mov eax, dword [0x556584]
push 0x556570
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4088c9
push edi
push ebx
lea ecx, [esp + 0x14]
push 0x1a
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x535218
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x556584
call sub.MFC42.DLL_CString::operator
pop edi
mov esi, dword [esp + 0x1010]
push 0x556584
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop esi
pop ebx
add esp, 0x1004
ret
Function at 0x409c90
Capabilities:
Terminate process

Disassembly:
push str.runner.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x409cb1
push 0x535a40
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409cb1
call eax
jmp fcn.00415d90

Function at 0x409fa0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x900
lea eax, [esp + 0x100]
lea edx, [esp + 0x100]
push eax
lea eax, [esp + 0x504]
push edx
push eax
mov eax, dword [ecx + 0x90]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea ecx, [esp]
push ecx
mov ecx, 0x556608
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x500]
mov ecx, 0x556608
push edx
call fcn.004156cc
mov eax, dword [0x556608]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add esp, 0x900
ret

Function at 0x40a0b0
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4e1157
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CDialog::CDialog_1
lea edi, [esi + 0x60]
mov dword [esp + 0x1c], 0
mov ecx, edi
call fcn.00417c10
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xa4]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xa8]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 0xb4]
mov byte [esp + 0x1c], 4
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xbc]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc0]
mov byte [esp + 0x1c], 6
call fcn.00415ff0
lea ecx, [esi + 0x140]
mov byte [esp + 0x1c], 7
call fcn.00415ff0
lea ebx, [esi + 0x1c0]
mov byte [esp + 0x1c], 8
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x4ef48c
lea ecx, [esi + 0x200]
mov byte [esp + 0x1c], 9
call fcn.00409800
lea ecx, [esi + 0x264]
mov byte [esp + 0x1c], 0xa
call fcn.00409800
push 0
lea ecx, [esi + 0x2d0]
mov byte [esp + 0x20], 0xb
call fcn.004076e0
mov bl, 0xc
push 0x556570
mov ecx, ebp
mov byte [esp + 0x20], bl
mov dword [esi], 0x4f03bc
mov dword [edi], 0x4f03b8
call sub.MFC42.DLL_CString::operator
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x32a0
mov dword [esi + 0x2c8], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 0xd
je 0x40a210
push 0
mov ecx, eax
call fcn.00406ef0
jmp 0x40a212
xor eax, eax
push 8
mov byte [esp + 0x20], bl
mov dword [esi + 0x2cc], eax
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x40a239
mov dword [eax + 4], 0
mov dword [eax], 0x4ef478
jmp 0x40a23b
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x70], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4