joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c9060
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5c9102
cmp dword [ebx + 0xac], 0
jne 0x5c90fc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c8fa0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5c90fc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5c90c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c90fc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004aaaa4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c90d1
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5c9444
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x600c10]
cmp dword [eax + 0x190], 0
je 0x5c95ad
test bl, bl
jne 0x5c9500
cmp dword [esi + 0xb4], 0
jne 0x5c94f5
mov eax, esi
call fcn.005cc7a8
push eax
push 0x5c9344
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c94c6
mov eax, dword [0x600c10]
cmp byte [eax + 0xeb], 0
je 0x5c94c6
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5c94a7
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c94c6
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c94af
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c94f5
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aaaa4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c94d5
inc dword [esi + 0xb4]
jmp 0x5c95ad
cmp dword [esi + 0xb4], 0
jle 0x5c95ad
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5c95ad
cmp dword [esi + 0x58], 0
je 0x5c9562
mov eax, dword [0x600c10]
cmp byte [eax + 0xeb], 0
je 0x5c9562
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5c9543
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c9562
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c954b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c9591
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aaaa4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c9571
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5b988c]
call fcn.0040d1b8
pop edi
pop esi
pop ebx
ret
Function at 0x5ca3a4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5ca401
cmp byte [ebx + 0xeb], 0
jne 0x5ca401
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a554
mov eax, dword [esi]
test eax, eax
je 0x5ca3ee
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ca40e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a7ac
jmp 0x5ca40e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a7ac
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5cc030
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5cc0a1
mov eax, esi
call fcn.0053e144
test al, al
je 0x5cc0a1
mov eax, dword [ebx + 0x98]
call fcn.0053dcdc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5cc0a1
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5cc092
push 0
mov eax, dword [ebx + 0x98]
call fcn.0053dcdc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00533f14
jmp 0x5cc0a1
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005cbe3c
pop esi
pop ebx
ret
Function at 0x5d1bbc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x5d1c42
mov eax, dword [ebx + 8]
call fcn.0053dcdc
mov ecx, eax
mov dl, 1
mov eax, dword [0x54ae90]
call fcn.005377c0
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.005504e8
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5d148c
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0053dcdc
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0053dcdc
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x5d1cc4
mov eax, dword [ebx + 8]
call fcn.0053dcdc
mov ecx, eax
mov dl, 1
mov eax, dword [0x54ae90]
call fcn.005377c0
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.005504e8
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5d14d8
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.0053dcdc
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.0053dcdc
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5d1d42
mov eax, dword [ebx + 8]
call fcn.0053dcdc
mov ecx, eax
mov dl, 1
mov eax, dword [0x54b984]
call fcn.005377c0
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0053dcdc
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0053dcdc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5d9c04
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5d9c32
mov eax, ebx
call fcn.005da6c0
cmp dword [ebx + 0x40], 0
je 0x5d9c2b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5d9ca3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5d9c95
cmp dword [ebx + 8], 0
je 0x5d9c54
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5d9c66
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5d9c95
cmp dword [ebx + 8], 0
je 0x5d9c47
cmp eax, 3
je 0x5d9c79
dec eax
jne 0x5d9c47
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5d9c47
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5d9c47
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5d9cc1
cmp dword [ebx + 0x14], 0xcc
je 0x5d9cc1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005d9ccc
pop ebx
ret
Function at 0x40a397
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x419004]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov esi, dword [ebp + 8]
push 0x406f00
push 0x406f1c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a3d1
push 0x800
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0xc]
call fcn.00409496
push esi
lea ecx, [esp + 0x24]
call fcn.00408b70
lea ecx, [esp + 0x20]
call fcn.00408e9c
mov esi, eax
test esi, esi
jns 0x40a44f
lea ecx, [esp + 8]
call fcn.0040a30c
test al, al
je 0x40a499
cmp esi, 0x80040b00
jne 0x40a499
and dword [esp + 0x4c], 0
lea ecx, [esp + 0x20]
xor eax, eax
mov dword [esp + 0x50], 7
mov word [esp + 0x3c], ax
lea eax, [esp + 0x3c]
push eax
call fcn.00408f41
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.004095f1
test esi, esi
js 0x40a499
mov esi, 0x80040b02
jmp 0x40a499
cmp dword [esp + 0x1c], 8
lea esi, [esp + 8]
jb 0x40a45e
mov esi, dword [esp + 8]
push 0x406d74
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40a491
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x40a48a
jle 0x40a499
movzx esi, si
or esi, 0x80070000
jmp 0x40a499
mov esi, 0x80004005
jmp 0x40a499
push dword [ebp + 0x14]
push esi
call eax
mov esi, eax
cmp dword [esp + 0x20], 0
je 0x40a4aa
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x24]
call fcn.004095f1
lea ecx, [esp + 8]
call fcn.004095f1
mov ecx, dword [esp + 0x54]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040ab91
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x25006922
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x7e2d52f2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4030c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x408e30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
push 0x40c458
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, 4
mov byte [esp + 0x3c], 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403169
mov ecx, dword [esi + 0xb0]
push ecx
push str.uid:_s_no_internet_settings_key
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, esi
push 0x40cc30
call fcn.00405360
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.EnableAutodial
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4031b4
push eax
mov eax, dword [esi + 0xb0]
push eax
push str.uid:_s_no_isv:_d
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40cc30
call fcn.00405360
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x403209
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push 0
push str.EnableAutodial
push ecx
call edi
test eax, eax
je 0x403209
mov edx, dword [esi + 0xb0]
push eax
push edx
push str.uid:_s_ftc_is:_d
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40cc30
call fcn.00405360
push 0x40cc38
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x30]
push 1
lea ecx, [esi + 0xb4]
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x50], 3
call fcn.004032f0
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
setne bl
call fcn.0040828c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40329d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push 0
push str.EnableAutodial
push ecx
call edi
test eax, eax
je 0x40329d
mov edx, dword [esi + 0xb0]
push eax
push edx
push str.uid:_s_fl_cls_a_d:_d
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0x40cc30
call fcn.00405360
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.0040828c
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 0
call fcn.0040828c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040828c
mov ecx, dword [esp + 0x34]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x4037e0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x20c
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
lea edx, [esp + 4]
push 0x100
push eax
push ecx
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x120]
push 0x100
push ecx
push 0x40c530
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp]
mov edx, eax
mov ecx, eax
and edx, 0xff
push edx
xor edx, edx
shr ecx, 4
mov dl, ah
and ecx, 0xff
shr eax, 0xc
push ecx
and eax, 0xff
push edx
push eax
mov eax, dword [esp + 0x220]
push str._02.2X___02.2X___02.2X___02.2X_
push eax
call sub.MFC42.DLL_CString::Format
mov al, 1
add esp, 0x224
ret 4
Function at 0x404a40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4090bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
push ebx
push esi
mov esi, dword [esp + 0x324]
push str.default
mov ecx, esi
mov bl, 1
mov dword [esp + 0x14], 0x100
call fcn.004082a4
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
push 0x40c6c0
push eax
mov dword [esp + 0x324], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREClasses.htm
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404b2f
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push edx
push eax
push 0
push 0
push 0x40cc38
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404b2f
lea edx, [esp + 0x114]
lea ecx, [esp + 8]
push edx
call fcn.004082a4
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.004083a6
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::MakeLower
push str.htmlfile
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
mov ecx, dword [esp + 0xc]
test eax, eax
push ecx
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x31c], 0xffffffff
call fcn.0040828c
mov ecx, dword [esp + 0x314]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x318
ret 4
Function at 0x405c50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4092ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
push 0x40cc38
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0xb0]
mov byte [esp + 0x28], 2
mov eax, dword [eax - 8]
lea edi, [eax - 1]
test edi, edi
jl 0x405cc5
mov ecx, dword [esi + 0xb0]
mov dl, 0xa4
mov al, byte [edi + ecx]
lea ecx, [esp + 0xc]
sub dl, al
push edx
call sub.MFC42.DLL_CString::operator_2
sub edi, 2
jns 0x405ca9
push 0x40c8dc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [esp + 0x34]
push 0x2e
mov ecx, edi
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x1c]
push 0
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Mid_1
mov edi, eax
push 2
lea ecx, [esp + 0x18]
push 2
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::Mid_1
mov ebp, eax
push 1
lea edx, [esp + 0x38]
push 0
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::Mid_1
mov ecx, dword [edi]
mov edx, dword [ebp]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi + 0xe4]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_swin_s_s.exe
push edx
mov byte [esp + 0x40], 5
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 4
call fcn.0040828c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.0040828c
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0040828c
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0040828c
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0040828c
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x405dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40933f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 0xb0]
push 0x40c07c
push eax
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x405e2c
push 0x40c8f0
lea ecx, [esp + 0xc]
call fcn.004082a4
jmp 0x405e5a
mov eax, dword [edi + 0xb0]
xor esi, esi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x405e5a
mov al, byte [eax + esi]
mov cl, 0xa3
sub cl, al
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [edi + 0xb0]
add esi, 2
cmp esi, dword [eax - 8]
jl 0x405e3b
push 1
lea edx, [esp + 0x1c]
push 2
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Mid_1
mov esi, eax
mov edi, dword [esp + 0x34]
push 0x2e
mov ecx, edi
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x18]
push 0
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Mid_1
mov edi, eax
push 2
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::Mid_1
mov edx, dword [esi]
mov ecx, dword [edi]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_srng_s.exe
push eax
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0040828c
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.0040828c
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0040828c
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.0040828c
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0040828c
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x405f40
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
push ebp
mov ebp, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4060d1
lea eax, [esp + 4]
push esi
push eax
push 0x40a60c
push 1
push 0
push 0x40a61c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x40608f
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x220]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x228]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x22c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x40a62c
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
test esi, esi
jl 0x406049
push ebx
mov ebx, dword [esp + 0x228]
lea edx, [esp + 0x18]
push 0x104
push edx
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
push esi
push ebx
push edi
push str.Crt_lnk_4_:_s_s__X_
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, ebp
push 0x40cc30
call fcn.00405360
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
pop ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop ebp
add esp, 0x210
ret 0x10
mov edx, dword [esp + 0x224]
push esi
push edx
push edi
push str.Crt_lnk_2_:_s_s__X_
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, ebp
push 0x40cc30
call fcn.00405360
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop ebp
add esp, 0x210
ret 0x10
mov edx, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push esi
push edx
push eax
push str.Crt_lnk_3_:_s_s__X_
push 0x40cc30
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, ebp
push 0x40cc30
call fcn.00405360
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop ebp
add esp, 0x210
ret 0x10
mov eax, dword [esp + 8]
pop ebp
add esp, 0x210
ret 0x10