joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e2c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e48a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040488c
test esi, esi
je 0x44e30d
mov dword [ebp - 0x10], esi
jmp 0x44e328
mov eax, 0x104
call fcn.00408444
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsA
push 0x44e498
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0x44e4a4
push edi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44e45d
push 0x104
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 8]
test eax, eax
jbe 0x44e45d
mov eax, ebx
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404afc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x44e451
mov eax, dword [ebp - 0xc]
call fcn.00408ef4
mov ecx, eax
dec ecx
lea eax, [ebp - 0x218]
mov edx, dword [ebp - 0xc]
call fcn.00408f58
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x218]
push eax
call sub.kernel32.dll_QueryDosDeviceA
mov edx, 0x44e4c0
lea eax, [ebp - 0x218]
call fcn.00408fe0
lea eax, [ebp - 0x218]
call fcn.00408ef4
mov ecx, eax
lea edx, [ebp - 0x218]
lea eax, [ebp - 0x114]
call fcn.00409064
test eax, eax
jne 0x44e445
mov al, byte [0x44e4c4]
push eax
push ebx
lea eax, [ebp - 0x21c]
mov edx, dword [ebp - 0xc]
call fcn.00404a84
mov eax, dword [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.00404afc
mov eax, dword [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404afc
mov eax, dword [ebp - 0x224]
pop edx
pop ecx
call fcn.0040d438
jmp 0x44e45d
mov eax, dword [ebp - 0xc]
call fcn.00408ef4
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x44e384
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x44e46c
mov eax, dword [ebp - 0x10]
call fcn.00402a98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e491
lea eax, [ebp - 0x224]
mov edx, 3
call fcn.004048b0
ret
Function at 0x44e668
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffba0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x45c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e84e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0044dd18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x44e830
lea eax, [ebp - 0x458]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [ebp - 0x130], 0x128
mov dword [ebp - 0x354], 0x224
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 8]
call fcn.0044dd38
mov edi, eax
jmp 0x44e81f
mov edx, dword [0x44e198]
mov eax, 0x21
call fcn.00405638
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x21
call fcn.0040340c
mov eax, dword [ebp - 0x118]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x128]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x128]
push eax
push 0
push 0x1400
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jbe 0x44e7f3
lea ecx, [ebp - 0x45c]
lea edx, [ebp - 0x458]
mov eax, esi
call fcn.0044e2c8
mov edx, dword [ebp - 0x45c]
mov eax, ebx
call fcn.004048e0
mov eax, esi
call fcn.0044e4c8
mov byte [ebx + 0x20], al
lea edx, [ebp - 0x460]
mov eax, esi
call fcn.0044e58c
mov edx, dword [ebp - 0x460]
lea eax, [ebx + 4]
call fcn.004048e0
mov eax, esi
call fcn.0044e288
xor edx, edx
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx]
call fcn.00404b4c
test eax, eax
jne 0x44e805
mov eax, ebx
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404afc
mov edx, dword [ebp - 0x128]
mov eax, 8
call fcn.0044dd18
mov esi, eax
cmp esi, 0xffffffff
je 0x44e805
lea edx, [ebp - 0x354]
mov eax, esi
call fcn.0044dd78
mov eax, ebx
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00404afc
push esi
call sub.kernel32.dll_CloseHandle_1
jmp 0x44e805
mov eax, ebx
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404afc
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004145fc
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 8]
call fcn.0044dd58
mov edi, eax
test edi, edi
jne 0x44e6e6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e855
lea eax, [ebp - 0x460]
mov edx, 2
call fcn.004048b0
ret

Function at 0x44e85c
Capabilities:
Terminate process

Disassembly:
push ebx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jbe 0x44e87b
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle_1
pop ebx
ret
Function at 0x450898
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00450538
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404d4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4508f6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x453000]
mov dl, 1
mov eax, dword [0x45045c]
call fcn.0040c14c
call fcn.004042a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x450cb0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x454c7c
mov eax, ebx
mov edx, 8
test al, 1
je 0x450ccc
shr eax, 1
xor eax, 0xedb88320
jmp 0x450cce
shr eax, 1
dec edx
jne 0x450cbf
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x450cb8
pop ebx
ret

Function at 0x450ce4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x450ced
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d3c
xor eax, eax
push ebp
push 0x450dcd
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00450cb0
mov eax, dword [0x4530e8]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00403134
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403534
call fcn.00402c74
test eax, eax
jne 0x450daa
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00403284
mov dx, word [ebp - 8]
test dx, dx
jbe 0x450da4
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x454c7c]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x450d80
cmp dword [ebp - 8], 0
jne 0x450d57
lea eax, [ebp - 0x154]
call fcn.004032a4
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450dd4
lea eax, [ebp - 4]
call fcn.0040488c
ret
Function at 0x5943a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf2000]
push edi
or ebp, 0xffffffff
jmp 0x5943c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5943c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5943b8
mov eax, 1
add ebx, ebx
jne 0x5943db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5943ec
jne 0x59440b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59440b
dec eax
add ebx, ebx
jne 0x5943f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5943d0
add ebx, ebx
jne 0x594407
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59445d
xor ecx, ecx
sub eax, 3
jb 0x594423
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x594492
sar eax, 1
mov ebp, eax
jmp 0x59442e
add ebx, ebx
jne 0x59442e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5943fc
inc ecx
add ebx, ebx
jne 0x59443c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5943fc
add ebx, ebx
jne 0x594449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59443e
jne 0x59445a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59443e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59447c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59446e
jmp 0x5943be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59447c
add edi, ecx
jmp 0x5943be
pop esi
mov edi, esi
mov ecx, 0x9da
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59449a
cmp byte [edi], 9
jne 0x59449a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x59449f
lea edi, [esi + 0x192000]
mov eax, dword [edi]
or eax, eax
je 0x59450e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a37bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a3820]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5944cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a3824]
or eax, eax
je 0x594508
mov dword [ebx], eax
add ebx, 4
jmp 0x5944e9
call dword [esi + 0x1a3834]
mov ebp, dword [esi + 0x1a3828]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x594542
sub esp, 0xffffff80
jmp 0x407e91
Function at 0x402083
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
push 0x3e9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x1009
push eax
mov dword [ebp + 8], eax
call esi
push 1
push 1
push 0x19
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 2
push eax
mov dword [0x40d034], eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
push 0xce
call fcn.00402847
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
push eax
push ebx
push dword [0x40d034]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call ebx
push 0xcf
call fcn.00402847
push eax
call edi
push eax
push 1
push dword [0x40d034]
call ebx
mov ebx, dword [ebp + 8]
xor edi, edi
push 0x26
push edi
push 0x1036
push ebx
call esi
push dword [0x40d034]
push 2
push 0x1003
push ebx
call esi
push ebx
call fcn.00401bf0
mov dword [esp], 0x40cdc0
push 0xc8
push edi
push 6
push edi
push ebx
call fcn.0040190b
mov ecx, dword [0x40d030]
add esp, 0x18
mov edi, dword [ecx + 4]
mov dword [ebp - 0x14], edi
call fcn.00404af5
and dword [ebp - 8], 0
mov dword [ebp - 0x10], eax
test edi, edi
jle 0x40223f
mov eax, dword [ebp - 0x10]
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
movsx eax, word [eax + 2]
cmp eax, dword [ebp - 8]
jne 0x40221c
mov al, byte [0x40cdc0]
push 0x3f
mov byte [ebp - 0x13c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x13b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x13c]
push 0xff
mov ecx, dword [0x40d030]
push eax
lea eax, [ebp - 0x34]
push eax
push 4
push dword [ebp - 4]
call fcn.00404adf
push eax
call fcn.004019ad
add esp, 0x18
test eax, eax
je 0x40221c
xor eax, eax
lea ecx, [ebp - 0x13c]
push eax
push dword [ebp - 4]
push eax
push ecx
push eax
push eax
push 0xffff
push 5
push ebx
call fcn.004019d8
mov ecx, dword [ebp + 8]
movsx edi, word [ecx]
xor ecx, ecx
test edi, edi
setg cl
push ecx
push eax
push ebx
call fcn.00401da9
add esp, 0x30
test edi, edi
jne 0x40221c
mov eax, dword [0x40d038]
mov ecx, dword [ebp - 0xc]
mov ax, word [ecx + eax + 0xc]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
inc dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x14
add dword [ebp + 8], 4
cmp dword [ebp - 4], eax
jl 0x402178
inc dword [ebp - 8]
cmp dword [ebp - 8], eax
jl 0x40216a
push 2
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x102b
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402d8e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
Function at 0x403060
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push dword [ebp + 8]
call fcn.00402d8e
test eax, eax
pop ecx
je 0x40307a
xor eax, eax
leave
ret
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x108]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x10
test eax, eax
je 0x4030af
and byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.00403060
pop ecx
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
leave
ret

Function at 0x40310e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
lea eax, [ebp - 0x248]
push esi
push eax
push dword [ebp + 0xc]
call fcn.00402fd1
pop ecx
lea eax, [ebp - 0x140]
pop ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403176
push dword [ebp + 0x10]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [ebp + 8]
test eax, eax
je 0x40316a
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x403140
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 1
pop eax
jmp 0x403178
xor eax, eax
pop esi
leave
ret

Function at 0x4032b6
Capabilities:
Get common file path

Disassembly:
cmp byte [0x40d220], 0
push esi
mov esi, 0x40d220
jne 0x4032d6
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [0x40d328], eax
push esi
push dword [esp + 0xc]
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x40d328]
pop ecx
pop ecx
pop esi
ret

Function at 0x4032e9
Capabilities:
Get common file path

Disassembly:
cmp byte [0x40d32c], 0
push esi
mov esi, 0x40d32c
jne 0x403309
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov dword [0x40d434], eax
push esi
push dword [esp + 0xc]
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x40d434]
pop ecx
pop ecx
pop esi
ret

Function at 0x40331c
Capabilities:
Get common file path
Get file attributes

Disassembly:
cmp byte [0x40d438], 0
push esi
mov esi, 0x40d438
jne 0x403349
push esi
call fcn.00402f19
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test al, 1
je 0x403349
push esi
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov eax, esi
pop esi
ret

Function at 0x40334d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x40cdc0
push 5
push eax
push eax
push dword [esp + 0x14]
push str.open
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret
Function at 0x4036be
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push dword [esp + 0x10]
mov esi, ecx
push dword [esp + 0x10]
call fcn.00402894
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
pop ecx
je 0x403717
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ecx, esi
mov edi, eax
call fcn.0040368a
push edi
mov ecx, esi
call fcn.00403671
push 0
push edi
push dword [esi]
push ebx
call fcn.00403373
mov eax, dword [esi]
add esp, 0x10
and byte [eax + edi], 0
push ebx
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
pop eax
pop edi
jmp 0x403719
xor eax, eax
pop esi
pop ebx
ret 8

Function at 0x4041ef
Capabilities:
Read .ini file

Disassembly:
push 0x40d574
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x40d67c
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
ret

Function at 0x404208
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 0x40d574
push dword [esp + 0x14]
and byte [esi], 0
push esi
push 0x40cdc0
push dword [esp + 0x18]
push 0x40d67c
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov eax, esi
pop esi
ret

Function at 0x404805
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 4]
push edi
push eax
push 0x40a328
xor edi, edi
push 1
push edi
push 0x40a338
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x4048c6
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp + 0x14], edi
je 0x40485c
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x18], edi
jl 0x404870
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x40a348
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x4048bd
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x210]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x40684f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push CreateStatusWindowA
lea eax, [ebp - 4]
xor esi, esi
push 0x20019
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.004015dc
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
test eax, eax
jne 0x40689e
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
push 0x80000001
lea eax, [ebp - 4]
push 0x20019
push eax
call fcn.004015dc
add esp, 0xc
test eax, eax
jne 0x4068d0
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push esi
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
add eax, ecx
pop ebx
leave
ret

Function at 0x406aa8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push dword [esi + 0xa28]
push 0x2001f
push eax
call fcn.004015dc
add esp, 0xc
test eax, eax
jne 0x406ad8
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x406ae6
mov eax, dword [ebp + 8]
push 0
push dword [eax]
call fcn.00402916
pop ecx
pop ecx
pop esi
pop ebp
ret

Function at 0x406ae9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [ebp + 0x14]
sub eax, 0x9c45
je 0x406b10
sub eax, 6
jne 0x406b43
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406aa8
pop ecx
pop ecx
leave
ret
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xa10], 0
jne 0x406b43
push 1
lea ecx, [ebp - 0x310]
push 0
push ecx
push eax
call fcn.004053db
add esp, 0x10
test eax, eax
je 0x406b43
lea eax, [ebp - 0x310]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x406b87
Capabilities:
Delete file

Disassembly:
mov eax, 0x409e07
call fcn.00409b54
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x2c]
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [ebp - 0x90]
call fcn.00403746
xor ebx, ebx
push 1
push edi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.00403add
test eax, eax
je 0x406bfd
xor edi, edi
cmp dword [esi + 0x1c], ebx
jle 0x406bf2
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x90]
add eax, ebx
push ecx
push eax
push esi
call fcn.004069e7
add esp, 0xc
inc edi
add ebx, 0xa3c
cmp edi, dword [esi + 0x1c]
jl 0x406bd0
lea ecx, [ebp - 0x90]
call fcn.00403b37
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004037d2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406f05
Capabilities:
Delete file
Get common file path

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x1a
and byte [edi + 0x2c], 0
lea esi, [edi + 0x2c]
push esi
call fcn.0040956e
pop ecx
test eax, eax
pop ecx
je 0x406f45
push esi
call fcn.004028ee
mov dword [esp], 0x40c6d0
push esi
call sub.MSVCRT.dll_strcat
cmp dword [edi + 0x24c], 0
pop ecx
pop ecx
je 0x406f45
push esi
call fcn.00403060
pop ecx
cmp byte [esi], 0
jne 0x406f56
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push esi
call fcn.004028ee
mov dword [esp], str.MyUninst.ini
push esi
call sub.MSVCRT.dll_strcat
cmp dword [edi + 0x24c], 0
pop ecx
pop ecx
jne 0x406f7b
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
ret

Function at 0x407cda
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push 0x40c8f4
push eax
call fcn.00402d07
push 1
push 1
lea eax, [ebp - 0x104]
push 1
push eax
push dword [ebp + 8]
call fcn.00407b7f
add esp, 0x1c
test eax, eax
je 0x407d3d
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00402ad9
pop ecx
test eax, eax
pop ecx
je 0x407d30
push eax
push dword [ebp + 8]
call fcn.00402916
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
leave
ret

Function at 0x407f2f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call fcn.00404c9d
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00404caa
add esp, 0xc
test eax, eax
je 0x407f6c
mov eax, dword [ebp - 4]
push 5
push 0x40cdc0
add eax, 0x305
push 0
push eax
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
leave
ret

Function at 0x407fa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push dword [ebp + 8]
call fcn.00404c9d
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00404caa
add esp, 0xc
test eax, eax
je 0x40800f
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa18], 0
je 0x40800f
push 0xc
call fcn.00404150
push eax
push dword [ebp + 8]
call fcn.0040143c
add esp, 0xc
cmp eax, 6
jne 0x40800f
push 2
lea eax, [ebp - 0x314]
push 0
push eax
push dword [ebp - 4]
call fcn.004053db
add esp, 0x10
test eax, eax
je 0x40800f
lea eax, [ebp - 0x314]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x408011
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push dword [ebp + 8]
call fcn.00404c9d
cmp dword [eax + 0x250], 0
pop ecx
je 0x40803b
push 0x9c45
push eax
call fcn.00406b45
pop ecx
pop ecx
leave
ret
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00404caa
pop ecx
test eax, eax
pop ecx
je 0x40807e
mov eax, dword [ebp + 8]
cmp dword [eax + 0xa10], 0
jne 0x40807e
push 1
lea ecx, [ebp - 0x310]
push 0
push ecx
push eax
call fcn.004053db
add esp, 0x10
test eax, eax
je 0x40807e
lea eax, [ebp - 0x310]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret