joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x405f70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x410618]
mov dword [0x410894], eax
mov ecx, dword [0x410894]
mov dword [0x410890], ecx
mov dword [0x410884], 0
mov esi, esp
push str.POSIXLY_CORRECT
call dword [sym.imp.ucrtbased.dll_getenv]
add esp, 4
cmp esi, esp
call fcn.004010e1
mov dword [0x41088c], eax
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + eax]
cmp edx, 0x2d
jne 0x405fd9
mov dword [0x410888], 2
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
jmp 0x406021
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 0x10]
movsx ecx, byte [eax + edx]
cmp ecx, 0x2b
jne 0x406002
mov dword [0x410888], 0
mov edx, dword [ebp + 0x10]
add edx, 1
mov dword [ebp + 0x10], edx
jmp 0x406021
cmp dword [0x41088c], 0
je 0x406017
mov dword [0x410888], 0
jmp 0x406021
mov dword [0x410888], 1
mov eax, dword [ebp + 0x10]
pop esi
cmp ebp, esp
call fcn.004010e1
pop ebp
ret
Function at 0xa9bc50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x418000]
push edi
jmp 0xa9bc6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa9bc71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9bc60
mov eax, 1
add ebx, ebx
jne 0xa9bc83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa9bc94
jne 0xa9bcb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9bcb3
dec eax
add ebx, ebx
jne 0xa9bca0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa9bc78
add ebx, ebx
jne 0xa9bcaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa9bd05
xor ecx, ecx
sub eax, 3
jb 0xa9bccb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa9bd3a
sar eax, 1
mov ebp, eax
jmp 0xa9bcd6
add ebx, ebx
jne 0xa9bcd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9bca4
inc ecx
add ebx, ebx
jne 0xa9bce4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9bca4
add ebx, ebx
jne 0xa9bcf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa9bce6
jne 0xa9bd02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa9bce6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa9bd24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa9bd16
jmp 0xa9bc66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa9bd24
add edi, ecx
jmp 0xa9bc66
pop esi
mov edi, esi
mov ecx, 0x3660af
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xa9bd5f
cmp byte [edi], 0x61
jne 0xa9bd44
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xa9bd42
lea edi, [esi + 0x696000]
mov eax, dword [edi]
or eax, eax
je 0xa9bdb0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6d1fc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6d21d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa9bd65
mov ecx, edi
jns 0xa9bd94
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6d21e0]
or eax, eax
je 0xa9bdaa
mov dword [ebx], eax
add ebx, 4
jmp 0xa9bd82
call dword [esi + 0x6d21dc]
mov ebp, dword [esi + 0x6d21e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xa9bde4
sub esp, 0xffffff80
jmp 0x6452cb
Function at 0x403770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov ecx, 0x447878
mov dword [ebp - 0x10], esp
push 0x2e
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x447878
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, 0x447878
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::operator_1
or esi, 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString
push 0x447878
lea ecx, [ebp - 0x18]
push 0x4461b0
push ecx
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x447878
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString
push 0
push 0
push 0
push 0
mov ebx, 2
push 1
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00426580
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
push 0
push 0
push 0x84000001
push 1
push str.http:__www.speederxp.com_en_ver.txt
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CInternetSession::OpenURL
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x60]
mov ecx, dword [0x447878]
push ebx
push 0x4461b0
push ecx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x403934
mov eax, dword [ebp - 0x14]
mov edx, dword [0x447878]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x403918
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x60]
push 0x446180
push str.SpeederXP
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Replace
mov edx, dword [ebp - 0x14]
push 0
push 4
push edx
call sub.MFC42.DLL_AfxMessageBox_1
cmp eax, 6
jne 0x403918
push 5
push 0
push 0
push str.http:__www.softcows.com
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CInternetSession::Close
test esi, esi
je 0x4038ee
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CInternetSession::CInternetSession
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CInternetSession::Close
test esi, esi
je 0x403934
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CInternetSession::CInternetSession
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404390
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x4043bc
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x10], 1
jle 0x4043bc
lea ecx, [esi + 0x58]
push ecx
push 0
push esi
push 0x4042e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x54], eax
pop esi
ret

Function at 0x4043d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esi + 0x54]
mov ecx, dword [esp + 8]
push edx
mov dword [esi + 0x74], ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret 4

Function at 0x4045d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
test esi, esi
jne 0x4045e8
push 2
push edi
call sub.MFC42.DLL_AfxFindResourceHandle
mov esi, eax
mov eax, edi
push 2
and eax, 0xffff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x404600
pop edi
pop esi
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40460f
pop edi
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x40461d
pop edi
pop esi
ret
push eax
call fcn.00404590
mov ecx, dword [esp + 0x18]
add esp, 4
test ecx, ecx
je 0x404635
and eax, 0xffff
mov dword [ecx], eax
push edi
push esi
call dword [sym.imp.USER32.dll_LoadBitmapA]
pop edi
pop esi
ret

Function at 0x404ef0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
pop edi
jae 0x404f76
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x404f2e
call fcn.00404fd0
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x404f43
mov eax, 5
add esp, 0x94
ret
cmp eax, 5
jne 0x404f5c
mov eax, dword [esp + 8]
test eax, eax
jne 0x404f5e
mov eax, 6
add esp, 0x94
ret
jb 0x404f6a
mov eax, 7
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret
cmp al, 4
jae 0x404f83
xor eax, eax
add esp, 0x94
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x404f97
call fcn.00404fd0
cmp dword [esp + 4], 4
jne 0x404fbd
mov eax, dword [esp + 8]
cmp eax, 0xa
jne 0x404fb3
mov eax, 3
add esp, 0x94
ret
cmp eax, 0x5a
mov eax, 4
je 0x404fc2
mov eax, 2
add esp, 0x94
ret
Function at 0x405820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x434f2c
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 0xffffffff
call fcn.00426676
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], 0x435c2c
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi], 0x435bf0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40cea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42fc28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x20]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x14]
push ebx
push edx
mov ecx, edi
mov dword [esp + 0x1c], 0
call fcn.0040d1c0
mov esi, eax
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.00405960
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push esi
push ebx
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.0040cf40
mov ecx, esi
mov edi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00405970
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x40e4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42fd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x434f54
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_CopyRect]
push 0xfffffffffffffffe
lea edx, [esp + 0x18]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x7c]
sub eax, esi
neg ecx
sbb ecx, ecx
mov dword [esp + 0x24], eax
and ecx, 0x12c
mov edi, str.Marlett
add ecx, 0x190
xor eax, eax
mov dword [esp + 0x34], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x28], ebx
shr ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
push 1
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x14]
push 0x21
push eax
lea ecx, [esp + 0x80]
push 1
push ecx
mov ecx, esi
call dword [edx + 0x70]
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0xc], 0x434f40
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10
Function at 0x40f040
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42fd58
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.0040fda0
mov edi, eax
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x40f178
push ebx
push ebp
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CDC::FromHandle
lea ecx, [esp + 0x20]
mov ebx, eax
call sub.MFC42.DLL_CDC::CDC
test ebx, ebx
mov dword [esp + 0x38], 0
jne 0x40f0a3
xor eax, eax
jmp 0x40f0a6
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::Attach
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
sub eax, edx
sub ecx, ebp
add eax, 0xa
add ecx, 0xa
push eax
push ecx
mov ecx, dword [ebx + 4]
lea esi, [edi + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
test esi, esi
je 0x40f0fb
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x24]
push esi
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 0xa
sub ecx, dword [esp + 0x10]
add ecx, 0xa
test ebx, ebx
je 0x40f12d
mov ebx, dword [ebx + 4]
push 0xcc0020
push edx
push ebp
push ebx
push eax
mov eax, dword [esp + 0x38]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
pop ebp
pop ebx
test esi, esi
je 0x40f14f
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00426610
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x412020
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 0x412082
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
Function at 0x412090
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebx
push 0
push 0
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41217b
lea eax, [esp + 0x10]
push eax
push str..htm
push Ordinal_1
call fcn.00412020
add esp, 0xc
test eax, eax
jne 0x41217b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push str._shellopencommand
push ecx
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push eax
push Ordinal_1
call fcn.00412020
add esp, 0xc
test eax, eax
jne 0x41217b
lea ecx, [esp + 0x10]
push str.__1_
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x412155
lea edx, [esp + 0x10]
push 0x446410
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x412155
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x412158
mov byte [esi], 0
push 0x44640c
push esi
call edi
push ebp
push esi
call edi
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x413de0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4303c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x60], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CWindowDC::CWindowDC
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4357c0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
mov byte [esp + 0x58], 3
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, edi
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
push 1
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov edi, eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x2c]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call fcn.00414320
test edi, edi
je 0x413ef1
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x30]
push edi
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 0x434f40
mov dword [esi], eax
mov dword [esi + 4], ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], 0x434f2c
mov byte [esp + 0x58], 1
call fcn.00426610
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0
call fcn.00426658
lea ecx, [esp + 0x64]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x54
ret 8
Function at 0x4160f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4305c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x28]
push edi
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
push eax
push 1
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov edi, eax
push ebx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x34]
push ebx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xc], 0x434f40
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10