joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4050d5
Capabilities:
Delete file

Disassembly:
mov eax, 0x43ab4c
call fcn.00432e40
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.0041c468
xor ebx, ebx
push 1
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
pop edi
je 0x40512c
cmp dword [ebp + 8], edi
je 0x40512c
push dword [ebp + 8]
push 0x65
call fcn.00402620
mov ecx, eax
call fcn.004026a6
push 2
push 0x45
lea ecx, [ebp - 0x4c]
call fcn.0041c57d
lea ecx, [ebp - 0x4c]
call fcn.0041c713
mov ecx, esi
call fcn.0040503d
push edi
mov ecx, esi
call fcn.004049fd
jmp 0x4052bd
push ebx
push 0x65
call fcn.00402620
mov ecx, eax
call fcn.004026a6
push edi
push 0x45
lea ecx, [ebp - 0x4c]
call fcn.0041c57d
lea ecx, [ebp - 0x4c]
call fcn.0041c713
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.004071ba
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x3e8]
push eax
mov byte [ebp - 4], 1
call fcn.0042bb60
mov ecx, esi
call fcn.00405a8c
test eax, eax
jne 0x4051b2
push edi
push 0x65
call fcn.00402620
mov ecx, eax
call fcn.004026a6
mov ecx, esi
call fcn.0040503d
push edi
mov ecx, esi
call fcn.004049fd
jmp 0x4052b2
mov ecx, esi
call fcn.00405944
test eax, eax
je 0x40520a
push 2
push 0x46
lea ecx, [ebp - 0x4c]
call fcn.0041c57d
lea ecx, [ebp - 0x4c]
call fcn.0041c713
mov ecx, esi
call fcn.004042f2
test eax, eax
mov ecx, esi
je 0x4051e5
call fcn.00405502
jmp 0x4051a5
call fcn.004042eb
test eax, eax
mov ecx, esi
je 0x4051f7
call fcn.00405478
jmp 0x4051a5
call fcn.004042f9
test eax, eax
jne 0x4051a5
mov ecx, esi
call fcn.004053ee
push ebx
jmp 0x4051a6
push edi
push 0x46
lea ecx, [ebp - 0x4c]
call fcn.0041c57d
lea ecx, [ebp - 0x4c]
call fcn.0041c713
mov ecx, esi
call fcn.004042f2
test eax, eax
mov ecx, esi
je 0x405237
call fcn.0040634b
test eax, eax
mov ecx, esi
je 0x4051de
jmp 0x405287
call fcn.004042eb
test eax, eax
mov ecx, esi
je 0x405256
call fcn.004062e8
mov ecx, esi
call fcn.00405944
test eax, eax
mov ecx, esi
je 0x4052ad
jmp 0x4051f0
call fcn.004042f9
test eax, eax
je 0x4052ab
cmp dword [esi + 0x3b8], ebx
je 0x40526a
push ebx
jmp 0x405276
mov eax, dword [esi + 0x284]
cmp eax, 2
jne 0x40528e
push edi
mov ecx, esi
call fcn.0040639f
test eax, eax
je 0x4051a5
mov ecx, esi
call fcn.0040649a
jmp 0x4052b2
cmp eax, ebx
jne 0x4052a2
push edi
mov ecx, esi
call fcn.0040639f
test eax, eax
je 0x4051a5
mov ecx, esi
call fcn.00405364
jmp 0x4052b2
mov ecx, esi
call fcn.004052da
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0041c541
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40558c
Capabilities:
Delete file

Disassembly:
mov eax, 0x43ab70
call fcn.00432e40
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x348]
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4055b4
and dword [edi], eax
and dword [edi + 4], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x4055e6
mov eax, dword [edi]
push dword [ebp - 0x10]
sub eax, dword [esi + 0x340]
mov ecx, dword [edi + 4]
push dword [ebp - 0x14]
sbb ecx, dword [esi + 0x344]
push ecx
push eax
call fcn.00432ec0
add dword [esi + 0x320], eax
push 0
push 0x67
call fcn.00402620
mov ecx, eax
call fcn.004026a6
lea ecx, [ebp - 0x50]
call fcn.0041c468
mov eax, dword [esi + 0x3e0]
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push 1
pop edi
cmp dword [eax + 0x34], edi
jne 0x405642
cmp ecx, 2
jne 0x405629
push edi
push 0x67
call fcn.00402620
mov ecx, eax
call fcn.004026a6
jmp 0x405647
test ecx, ecx
je 0x4056ab
cmp ecx, edi
je 0x4056ab
push ecx
push 0x67
call fcn.00402620
mov ecx, eax
call fcn.004026a6
jmp 0x40566b
cmp ecx, 4
jne 0x40565d
push 3
push 0x47
lea ecx, [ebp - 0x50]
call fcn.0041c57d
lea ecx, [ebp - 0x50]
call fcn.0041c713
jmp 0x40568e
cmp ecx, edi
je 0x4056ab
cmp ecx, 2
je 0x4056ab
cmp ecx, 3
je 0x4056ab
push 2
push 0x47
lea ecx, [ebp - 0x50]
call fcn.0041c57d
lea ecx, [ebp - 0x50]
call fcn.0041c713
mov ecx, esi
call fcn.004057ac
push edi
mov ecx, esi
call fcn.004049fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0041c541
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
mov eax, dword [eax + 0xc]
mov ecx, esi
add dword [esi + 0x324], eax
lea eax, [ebp + 8]
push eax
call fcn.0040710d
mov ecx, dword [esi + 0x3e0]
mov eax, dword [eax]
add ecx, 0x10
mov byte [ebp - 4], 1
push ecx
push eax
call fcn.00431820
and byte [ebp - 4], 0
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
cmp ebx, 2
jne 0x405706
push edi
push 0x47
lea ecx, [ebp - 0x50]
call fcn.0041c57d
lea ecx, [ebp - 0x50]
call fcn.0041c713
mov ecx, esi
call fcn.00407ae0
jmp 0x40568e
test ebx, ebx
je 0x40570e
cmp ebx, edi
jne 0x40568e
push 2
push 0x67
call fcn.00402620
mov ecx, eax
call fcn.004026a6
push 2
push 0x47
lea ecx, [ebp - 0x50]
call fcn.0041c57d
lea ecx, [ebp - 0x50]
call fcn.0041c713
cmp dword [esi + 0x350], 0
lea eax, [esi + 0x350]
jne 0x40567f
inc byte [esi + 0x3b0]
cmp ebx, edi
mov dword [eax], edi
jne 0x4057a0
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.0040710d
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
lea ecx, [ebp + 8]
neg ebx
sbb bl, bl
inc bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4057a0
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.0040710d
push dword [eax]
mov byte [ebp - 4], 2
call fcn.00431640
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
jmp 0x40567f
mov ecx, esi
call fcn.00406644
jmp 0x40568e
Function at 0x40559a
Capabilities:
Delete file

Disassembly:
mov eax, 0x43ab70
call fcn.00432e40
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x348]
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4055b4
and dword [edi], eax
and dword [edi + 4], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x4055e6
mov eax, dword [edi]
push dword [ebp - 0x10]
sub eax, dword [esi + 0x340]
mov ecx, dword [edi + 4]
push dword [ebp - 0x14]
sbb ecx, dword [esi + 0x344]
push ecx
push eax
call fcn.00432ec0
add dword [esi + 0x320], eax
push 0
push 0x67
call fcn.00402620
mov ecx, eax
call fcn.004026a6
lea ecx, [ebp - 0x50]
call fcn.0041c468
mov eax, dword [esi + 0x3e0]
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push 1
pop edi
cmp dword [eax + 0x34], edi
jne 0x405642
cmp ecx, 2
jne 0x405629
push edi
push 0x67
call fcn.00402620
mov ecx, eax
call fcn.004026a6
jmp 0x405647
test ecx, ecx
je 0x4056ab
cmp ecx, edi
je 0x4056ab
push ecx
push 0x67
call fcn.00402620
mov ecx, eax
call fcn.004026a6
jmp 0x40566b
cmp ecx, 4
jne 0x40565d
push 3
push 0x47
lea ecx, [ebp - 0x50]
call fcn.0041c57d
lea ecx, [ebp - 0x50]
call fcn.0041c713
jmp 0x40568e
cmp ecx, edi
je 0x4056ab
cmp ecx, 2
je 0x4056ab
cmp ecx, 3
je 0x4056ab
push 2
push 0x47
lea ecx, [ebp - 0x50]
call fcn.0041c57d
lea ecx, [ebp - 0x50]
call fcn.0041c713
mov ecx, esi
call fcn.004057ac
push edi
mov ecx, esi
call fcn.004049fd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0041c541
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
mov eax, dword [eax + 0xc]
mov ecx, esi
add dword [esi + 0x324], eax
lea eax, [ebp + 8]
push eax
call fcn.0040710d
mov ecx, dword [esi + 0x3e0]
mov eax, dword [eax]
add ecx, 0x10
mov byte [ebp - 4], 1
push ecx
push eax
call fcn.00431820
and byte [ebp - 4], 0
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
cmp ebx, 2
jne 0x405706
push edi
push 0x47
lea ecx, [ebp - 0x50]
call fcn.0041c57d
lea ecx, [ebp - 0x50]
call fcn.0041c713
mov ecx, esi
call fcn.00407ae0
jmp 0x40568e
test ebx, ebx
je 0x40570e
cmp ebx, edi
jne 0x40568e
push 2
push 0x67
call fcn.00402620
mov ecx, eax
call fcn.004026a6
push 2
push 0x47
lea ecx, [ebp - 0x50]
call fcn.0041c57d
lea ecx, [ebp - 0x50]
call fcn.0041c713
cmp dword [esi + 0x350], 0
lea eax, [esi + 0x350]
jne 0x40567f
inc byte [esi + 0x3b0]
cmp ebx, edi
mov dword [eax], edi
jne 0x4057a0
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.0040710d
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
lea ecx, [ebp + 8]
neg ebx
sbb bl, bl
inc bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4057a0
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.0040710d
push dword [eax]
mov byte [ebp - 4], 2
call fcn.00431640
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
jmp 0x40567f
mov ecx, esi
call fcn.00406644
jmp 0x40568e
Function at 0x4061ce
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43ac9c
call fcn.00432e40
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esi + 0x28]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_2
mov edi, 0x457968
lea ecx, [esi + 0x24]
push edi
mov byte [ebp - 4], 7
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov word [esi + 8], bx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], ebx
call fcn.004326b6
push edi
lea ecx, [esi + 0x28]
call fcn.004326b6
push edi
lea ecx, [esi + 0x2c]
call fcn.004326b6
push edi
lea ecx, [esi + 0x30]
call fcn.004326b6
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], 1
call fcn.004326b6
push edi
lea ecx, [esi + 0x40]
mov word [esi + 0x3c], bx
call fcn.004326b6
push edi
lea ecx, [esi + 0x48]
mov word [esi + 0x44], bx
call fcn.004326b6
push edi
lea ecx, [esi + 0x50]
mov word [esi + 0x4c], bx
call fcn.004326b6
fld qword [0x441398]
push 0x10
lea eax, [esi + 0x10]
fstp qword [esi + 0x60]
push ebx
push eax
mov dword [esi + 0x58], 2
mov dword [esi + 0x54], 0x32
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40649a
Capabilities:
Delete file

Disassembly:
mov eax, 0x43acd4
call fcn.00432e40
sub esp, 0x44
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
mov esi, ecx
push eax
call fcn.0040710d
mov ecx, dword [esi + 0x3e0]
mov eax, dword [eax]
add ecx, 0x10
xor edi, edi
push ecx
push eax
mov dword [ebp - 4], edi
call fcn.00431820
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
call fcn.0041c468
mov eax, dword [esi + 0x3e0]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
mov eax, dword [eax]
push dword [eax]
call fcn.0041c648
mov eax, dword [esi + 0x3e0]
lea ecx, [ebp - 0x50]
push dword [eax + 4]
call fcn.0041c6e0
mov eax, dword [esi + 0x3e0]
lea ecx, [ebp - 0x50]
movzx eax, word [eax + 8]
push eax
call fcn.0041c6fa
lea ecx, [ebp - 0x50]
call fcn.0041c713
cmp ebx, 2
jne 0x406537
mov ecx, esi
call fcn.00406bf2
jmp 0x4065a7
cmp ebx, edi
je 0x406594
cmp ebx, 1
jne 0x4065a7
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0040710d
mov eax, dword [eax]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.004318f0
pop ecx
mov ebx, eax
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x3e0]
cmp dword [eax + 0xc], ebx
ja 0x4065c2
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040710d
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [esi + 0x358], edi
mov dword [esi + 0x320], edi
mov dword [esi + 0x324], edi
mov ecx, esi
call fcn.00406644
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0041c541
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea ebx, [esi + 0x390]
mov ecx, esi
push ebx
call fcn.004080ee
test eax, eax
je 0x40658e
mov eax, dword [esi + 0x3e0]
mov ebx, dword [ebx]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x40658e
mov eax, dword [esi + 0x3e0]
mov ecx, dword [esi + 0x394]
cmp ecx, dword [eax + 4]
jne 0x40658e
mov cx, word [esi + 0x398]
cmp cx, word [eax + 8]
jne 0x40658e
add eax, 0x10
push 0x10
push eax
lea eax, [esi + 0x39a]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x40658e
mov eax, dword [esi + 0x3ac]
mov dword [esi + 0x358], 1
mov dword [esi + 0x320], eax
jmp 0x4065a0
Function at 0x40a87b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43b6b0
call fcn.00432e40
sub esp, 0x238
push ebx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Empty
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::Empty
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push 1
push ebx
push str.SOFTWARETencentTraveler
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40a926
push 0x200
lea eax, [ebp - 0x244]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x200
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x45415c
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x40a91d
lea eax, [ebp - 0x244]
lea ecx, [ebp - 0x10]
push eax
call fcn.004326b6
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
jne 0x40a970
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0040a802
push str.TTraveler.exe
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x40a9ce
push 0x24
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x40a9c3
cmp dword [ebp - 0x44], 0xffffffff
je 0x40a9c3
cmp dword [ebp - 0x44], 0x10
je 0x40a9c3
cmp dword [ebp - 0x44], 0x800
je 0x40a9c3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
mov dword [ebp - 0x1c], 1
jmp 0x40a9ce
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Empty
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40a9ed
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43b6ec
call fcn.00432e40
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 1
push 2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004329ec
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x18]
mov esi, 0x45418c
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push str.mailto:
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x40aa85
push dword [ebp + 0x10]
push ebx
push ebx
push dword [ebp + 0xc]
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40aae2
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::Empty
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0040a87b
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, ebx
mov edi, str.open
je 0x40aac8
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push edi
push dword [ebp + 8]
call esi
cmp eax, 0x20
jg 0x40aad6
push dword [ebp + 0x10]
push ebx
push ebx
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x418203
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
lea eax, [ebp - 0x94]
push edi
mov edi, ecx
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
ja 0x418242
jne 0x41823b
cmp dword [ebp - 0x8c], 1
jae 0x418242
mov esi, 0xaf
jmp 0x418247
mov esi, 0xb0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
movzx ecx, si
mov esi, dword [sym.imp.USER32.dll_LoadImageA]
push 0x10
push 0x10
push 1
push ecx
push eax
call esi
test eax, eax
mov dword [edi + 0x1de0], eax
je 0x4182a3
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0x10
push 0x10
push 1
push 0xae
push eax
call esi
test eax, eax
mov dword [edi + 0x1de4], eax
jne 0x4182a7
push dword [edi + 0x1de0]
call dword [sym.imp.USER32.dll_DestroyIcon]
and dword [edi + 0x1de0], 0
xor eax, eax
jmp 0x4182aa
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x418354
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43cdac
call fcn.00432e40
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004183e9
test al, al
jne 0x4183a5
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0041843d
test al, al
je 0x4183a5
mov ecx, esi
call fcn.0041866b
test al, al
jne 0x4183a5
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
jmp 0x4183ac
push 1
push ebx
push ebx
push dword [ebp + 8]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
lea ecx, [ebp - 0x14]
setg byte [ebp - 0xd]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41866b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
xor ebx, ebx
cmp dword [0x457b48], ebx
push edi
jne 0x418717
push esi
push 0xd
pop ecx
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x5c]
mov esi, str.SOFTWAREMicrosoftInternet_ExplorerVersion_Vector
lea edi, [ebp - 0x5c]
push ebx
push eax
push closesocket
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
je 0x4186b1
xor al, al
jmp 0x418723
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x27]
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], 0x1f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push 0x4548bc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41870e
xor ecx, ecx
cmp dword [ebp - 4], ebx
jle 0x41870e
mov eax, dword [0x457b48]
mov dl, byte [ebp + ecx - 0x28]
cmp dl, 0x2e
je 0x41870e
movzx edx, dl
lea eax, [eax + eax*4]
inc ecx
cmp ecx, dword [ebp - 4]
lea eax, [edx + eax*2 - 0x30]
mov dword [0x457b48], eax
jl 0x4186f0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [0x457b48], 7
setge al
pop edi
pop ebx
leave
ret

Function at 0x418727
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x43cdec
call fcn.00432e40
sub esp, 0x110
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x41875b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 1
push ebx
push str.command
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x418762
xor al, al
jmp 0x418825
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
mov byte [ebp - 0x11c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x103
push eax
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x11c]
lea ecx, [ebp + 8]
push eax
mov dword [ebp - 0x10], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::TrimLeft_1
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [ebp + 8]
pop edi
cmp dword [eax - 8], ebx
jle 0x418817
mov al, byte [eax]
cmp al, 0x22
jne 0x418817
push 1
push 0x22
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 1
jl 0x418817
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx - 8]
jge 0x418817
dec eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push 1
push eax
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov al, bl
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8