joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430bd0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ae446
mov eax, dword fs:[0]
push eax
mov eax, 0x3bc8
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x3bc4], eax
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x3bd8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3be8]
push esi
call fcn.0044d420
test al, al
je 0x430e69
push esi
call fcn.0042f6c0
test al, al
je 0x430e69
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x37d8]
push 0x4b2814
push ecx
call fcn.0049e0d5
movsx edx, byte [esp + 0x37e0]
add esp, 0xc
push edx
push 0x341
call fcn.0045b8f0
push eax
lea eax, [esp + 0x35dc]
push eax
call fcn.0049e0d5
add esp, 0xc
lea ecx, [esp + 0x35d4]
push ecx
call fcn.0047f2b0
lea ecx, [esp + 0x10]
call fcn.004653d0
mov dword [esp + 0x3be0], 0
lea edx, [esp + 0x37d4]
push edx
lea ecx, [esp + 0x14]
call fcn.00465450
push 2
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x11b8]
call fcn.0045e150
mov byte [esp + 0x3be0], 1
lea ecx, [esp + 0xd1c]
call fcn.00467be0
lea ecx, [esp + 0xd40]
call fcn.00467be0
lea ecx, [esp + 0xd64]
call fcn.00467be0
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x11ac]
call fcn.0045eb50
test eax, eax
jne 0x430e41
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x430d10
mov al, byte [esi]
cmp byte [esp + 0x108], al
jne 0x430e41
cmp byte [esp + 0x109], 0x3a
jne 0x430e41
mov cx, word [esp + 0x508]
test cx, cx
je 0x430d57
movsx edx, al
movzx eax, cx
cmp eax, edx
jne 0x430e41
cmp word [esp + 0x50a], 0x3a
jne 0x430e41
call fcn.0043c9b0
test eax, eax
je 0x430d79
cmp word [esp + 0x508], 0
je 0x430d79
push 0
lea ecx, [esp + 0x50c]
push ecx
call edi
jmp 0x430d85
push 0
lea edx, [esp + 0x10c]
push edx
call ebp
cmp byte [esp + 0xd18], 0
je 0x430dc3
call fcn.0043c9b0
test eax, eax
je 0x430db3
cmp word [esp + 0x508], 0
je 0x430db3
lea eax, [esp + 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x430e25
lea ecx, [esp + 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x430e25
call fcn.0043c9b0
test eax, eax
je 0x430de7
cmp word [esp + 0x508], 0
je 0x430de7
lea edx, [esp + 0x508]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x430df5
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
jne 0x430e25
lea ecx, [esp + 0x108]
push ecx
push 0x202
call fcn.0045b8f0
push eax
push 0
call fcn.0048cce0
add esp, 0xc
mov ecx, 0x4c9364
call fcn.00427c70
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x11ac]
call fcn.0045eb50
test eax, eax
je 0x430d10
mov byte [esp + 0x3be0], 0
lea ecx, [esp + 0x11a8]
call fcn.0045e3c0
mov dword [esp + 0x3be0], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00465050
mov ecx, dword [esp + 0x3bd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3bc4]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x3bd4
ret 4
Function at 0x4315f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push edi
push 0x10000
call fcn.0049e19f
mov edi, eax
add esp, 4
test edi, edi
jne 0x43160b
lea eax, [edi + 4]
pop edi
ret 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
xor ebp, ebp
push esi
cmp ebx, 0xffffffff
je 0x431621
cmp ebp, ebx
jae 0x4316af
call fcn.00445340
cmp byte [0x4c936c], 0
je 0x431638
cmp dword [0x4dc178], 0
jne 0x43167d
cmp ebx, 0xffffffff
je 0x431648
mov eax, ebx
sub eax, ebp
cmp eax, 0x10000
jb 0x43164d
mov eax, 0x10000
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 1
push edi
call fcn.0049fc19
mov esi, eax
add esp, 0x10
test esi, esi
je 0x431689
mov edx, dword [esp + 0x18]
push edx
push esi
push 1
push edi
call fcn.0049f822
add esp, 0x10
cmp eax, esi
jne 0x4316c1
add ebp, esi
jmp 0x431614
pop esi
pop ebp
pop ebx
mov eax, 9
pop edi
ret 0xc
mov eax, dword [esp + 0x14]
push eax
call fcn.004a11f4
add esp, 4
test eax, eax
je 0x4316af
push edi
call fcn.0049de1d
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, 0xb
pop edi
ret 0xc
push edi
call fcn.0049de1d
add esp, 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
ret 0xc
push edi
call fcn.0049de1d
mov eax, dword [0x4c93b8]
add esp, 4
push eax
push eax
mov ecx, 0x4c9364
call fcn.00428180
pop esi
pop ebp
pop ebx
mov eax, 0xa
pop edi
ret 0xc
Function at 0x4316f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ae4bb
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x1044]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x105c]
mov ebp, dword [esp + 0x1054]
mov esi, dword [esp + 0x1058]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov ecx, ebx
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x431770
test dl, dl
je 0x43176c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x431770
add eax, 2
add ecx, 2
test dl, dl
jne 0x431750
xor eax, eax
jmp 0x431775
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x431921
lea eax, [esp + 0xc40]
push eax
push 0x400
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsx ecx, byte [esp + 0xc40]
push ecx
call fcn.0049ef56
add esp, 4
cmp byte [esp + 0xc40], 0x5c
mov edi, eax
je 0x4317f3
mov al, byte [ebx]
cmp al, 0x5c
je 0x4317f3
cmp byte [ebp], 0x5c
je 0x4317f3
movsx edx, al
push edx
call fcn.0049ef56
mov esi, eax
movsx eax, byte [ebp]
push eax
call fcn.0049ef56
mov cl, 0x3a
add esp, 8
cmp byte [ebx + 1], cl
je 0x4317df
mov esi, edi
cmp byte [ebp + 1], cl
je 0x4317e6
mov eax, edi
cmp esi, eax
mov esi, dword [esp + 0x18]
je 0x4317f3
mov byte [esp + 0x17], 1
push esi
push ebp
call fcn.0042f890
test al, al
je 0x431851
lea ecx, [esp + 0x20]
call fcn.0042e6a0
mov dword [esp + 0x104c], 0
push 1
push 0
push esi
push ebp
lea ecx, [esp + 0x30]
call fcn.0042ea90
test al, al
je 0x43189d
lea ecx, [esp + 0x20]
call fcn.0042e720
test al, al
je 0x43189d
push esi
push ebp
call fcn.0042fc50
test al, al
je 0x43189d
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0042ea60
cmp byte [esp + 0x17], 0
jne 0x43186f
push esi
push ebp
push 0
push ebx
call fcn.0042fba0
test al, al
sete al
test al, al
je 0x431921
push 0x4b1948
push ebx
call fcn.0049f968
mov edi, eax
add esp, 8
test edi, edi
jne 0x4318b8
mov ecx, dword [0x4c93b8]
push ebx
push ecx
mov ecx, 0x4c9364
call fcn.00428020
lea eax, [edi + 0xa]
jmp 0x431923
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0042ea60
mov eax, 0xf
jmp 0x431923
push 0
push 0x4b1ba8
push esi
push ebp
call fcn.00430040
mov esi, eax
test esi, esi
jne 0x4318da
push edi
call fcn.0049f646
add esp, 4
lea eax, [esi + 0xf]
jmp 0x431923
push 0
mov ecx, 0x4c9364
call fcn.00427bf0
push 0xffffffffffffffff
push esi
push edi
call fcn.004315f0
push edi
mov ebx, eax
call fcn.0049f646
add esp, 4
push 1
mov ecx, 0x4c9364
call fcn.00427bf0
push esi
call fcn.0049f646
add esp, 4
test eax, eax
jne 0x43194d
test ebx, ebx
jne 0x43194d
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430980
xor eax, eax
mov ecx, dword [esp + 0x1044]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x102c]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x103c
ret 0xc
mov eax, dword [esp + 0x18]
push eax
push ebp
call fcn.0042fc50
test ebx, ebx
je 0x431963
mov eax, ebx
cmp ebx, 0xa
jne 0x431923
mov eax, 0xe
jmp 0x431923
Function at 0x434550
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1404
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1400], eax
cmp dword [0x4dbc5c], 0
push esi
push edi
mov edi, dword [esp + 0x1410]
mov esi, ecx
je 0x4345a0
push 0
push 0x4ec308
mov ecx, 0x4e0c18
call fcn.004134e0
push 0
push 0x4ebf08
mov ecx, 0x4e0c18
call fcn.004134a0
jmp 0x4345b7
push 0x4ec308
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov byte [0x4ebf08], 0
mov eax, dword [0x4c9360]
push 0
push 0x433b90
push edi
push str.FAVORITESDLG
push eax
mov byte [0x4ebd08], 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
jne 0x4345df
xor al, al
jmp 0x434649
cmp byte [esp + 0x1414], 0
je 0x434647
push 0x1000000
lea ecx, [esp + 0xc0c]
push ecx
push 0x4ec308
call fcn.0046d330
push 0x1000000
lea edx, [esp + 0x40c]
push edx
push 0x4ebf08
call fcn.0046d330
push 0x1000000
lea eax, [esp + 0xc]
push eax
push 0x4ebd08
call fcn.0046d330
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0xc10]
push eax
mov ecx, esi
call fcn.00434080
mov al, 1
mov ecx, dword [esp + 0x1408]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1404
ret 8

Function at 0x435490
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x43550b
cmp eax, 0x40
jbe 0x4354b9
lea eax, [esi + 0x40]
push eax
push esi
call fcn.004644c0
mov dword [esi + 0x9c], 0x14
mov eax, dword [esi + 0x9c]
mov ecx, 0x40
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.0049e680
add esp, 0xc
xor eax, eax
jmp 0x4354e0
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4354e0
push edi
lea edi, [esi + 0x40]
push edi
call fcn.00464400
push edi
push 0x40
push esi
call fcn.00464440
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x435522
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.00464440
pop esi
ret 0xc

Function at 0x435530
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x9c], 0xffffffff
je 0x43555b
push esi
push 0
push 0
call fcn.00435490
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.004644c0
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x435570
push edi
call fcn.00464400
push edi
push 0x40
push esi
call fcn.00464440
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.00464440
push edi
lea edx, [esp + 0x10]
push edx
call fcn.004644c0
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x4355bc
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.0049e700
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x18
ret 0xc
Function at 0x437070
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
push 0x1000000
call fcn.0049ec14
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x437095
pop esi
lea eax, [ebx + 1]
xor edx, edx
pop ebx
add esp, 0xc
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call ebp
mov dword [esp + 0x10], eax
mov edi, 0x800000
call ebp
sub eax, dword [esp + 0x10]
cmp eax, 0xc8
jae 0x43718a
mov ebp, 0x4000
jmp 0x4370d0
and edi, 0xffffff
movzx eax, byte [edi + esi]
and ebx, 0xffffff
mov byte [ebx + esi], al
movzx ecx, al
xor byte [edi + esi], cl
lea eax, [edi - 0x100]
and eax, 0xffffff
movzx edx, byte [eax + esi]
lea ecx, [ebx - 0x100]
and ecx, 0xffffff
mov byte [ecx + esi], dl
movzx edx, dl
xor byte [eax + esi], dl
add eax, 0xffffff00
and eax, 0xffffff
movzx edx, byte [eax + esi]
add ecx, 0xffffff00
and ecx, 0xffffff
mov byte [ecx + esi], dl
movzx edx, dl
xor byte [eax + esi], dl
lea edi, [eax - 0x100]
and edi, 0xffffff
movzx eax, byte [edi + esi]
lea ebx, [ecx - 0x100]
and ebx, 0xffffff
movzx ecx, al
mov byte [ebx + esi], al
xor byte [edi + esi], cl
sub ebx, 0x100
sub edi, 0x100
sub ebp, 1
jne 0x4370d0
dec ebx
dec edi
add dword [esp + 0x14], 1
adc dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, 0xc8
jb 0x4370c1
push esi
call fcn.0049ea65
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
push 0
push 0x64
push edx
push eax
call fcn.0049ec80
pop edi
pop ebp
add eax, 1
pop esi
adc edx, 0
pop ebx
add esp, 0xc
ret

Function at 0x437720
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
inc esi
push esi
call fcn.0049ec14
add esp, 4
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [0x4ec7c0]
push edi
call fcn.00460130
push 0
push edi
call fcn.00476b60
push edi
call fcn.0049ea65
add esp, 4
pop edi
pop esi
ret
Function at 0x437d00
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0x4b1948
push eax
mov edi, ecx
call fcn.0049f968
mov esi, eax
add esp, 8
test esi, esi
jne 0x437d3f
lea eax, [esi + 0x32]
jmp 0x437e84
xor eax, eax
cmp edi, 0x8000
jbe 0x437e44
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.0049fec5
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.0049fc19
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00436de0
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.0049fec5
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0049fc19
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00436de0
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.0049fec5
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.0049fc19
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00436de0
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.0049fec5
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.0049fc19
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00436de0
add eax, dword [esp + 0x10]
add eax, ebp
add eax, ebx
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
push esi
call fcn.0049f646
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x437e84
cmp edi, 0x1000
jbe 0x437e54
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.0049fec5
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.0049fc19
push esi
mov edi, eax
call fcn.0049f646
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.00436de0
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1008
ret 4
Function at 0x43ab10
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x224]
push ebx
mov ebx, dword [esp + 0x234]
push ebp
mov ebp, dword [esp + 0x234]
push esi
mov esi, dword [esp + 0x234]
push edi
mov edi, dword [esp + 0x230]
lea ecx, [esp + 0x14]
push ecx
push 0x4b5cb4
push 1
push 0
push 0x4b5d34
mov dword [esp + 0x30], eax
mov byte [esp + 0x27], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x43ac1f
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0x50]
call eax
test esi, esi
je 0x43ab93
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push esi
push eax
call edx
test ebp, ebp
je 0x43aba6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push ebp
push eax
call edx
test ebx, ebx
je 0x43abb7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x4b5ce4
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x43ac13
mov edx, dword [esp + 0x1c]
push 0x104
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x43ac07
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x228]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x21c
ret 0x14

Function at 0x43ac40
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 4]
mov edx, dword [esp]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
add esp, 8
ret 4
Function at 0x43ac90
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
sub esp, 0x428
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x424], eax
push esi
mov esi, dword [esp + 0x430]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43acd2
xor al, al
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x428
ret 4
push 0x400
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.00464e60
lea eax, [esp + 0x24]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43acf0
sub eax, edx
mov byte [esp + eax + 0x25], cl
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea eax, [esp + 4]
mov ecx, 0x14
lea edx, [esp + 0x24]
push eax
mov dword [esp + 0xc], 3
mov word [esp + 0x18], cx
mov dword [esp + 0x10], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [esp + 0x428]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.0049e0c6
add esp, 0x428
ret 4
Function at 0x43cf00
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x11f8
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x11f4], eax
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xd20]
xor ebp, ebp
cmp eax, ebp
je 0x43d11f
push edi
mov edi, dword [esi + eax*4 + 0xc9c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ebp
cmp edi, ebp
je 0x43d11e
mov edx, dword [esi]
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push edx
push edi
call eax
test eax, eax
jne 0x43d11e
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x43d11e
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], ebp
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x43d112
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x24]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 1
push edi
mov dword [esp + 0x28], 0x10000000
call ecx
test dword [esp + 0x18], 0x10000000
je 0x43d0df
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0xe08]
push edx
push 0
push eax
push edi
call fcn.00425df0
test eax, eax
je 0x43d0df
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xd20]
mov eax, dword [esi + edx*4 + 0xc1c]
push ecx
push eax
call fcn.00425ce0
push 0x4409
push 0x160
lea ecx, [esp + 0x7c]
push ecx
mov edi, eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [0x4f8164]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x78]
push 0xc30
lea eax, [esp + 0x1d8]
lea edx, [esp + 0xe08]
push 0
push eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], edx
call fcn.0049e680
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0xdfc], ecx
mov dword [esp + 0xdf0], 0x20
xor eax, eax
mov cl, byte [esp + eax + 0xe04]
mov byte [esp + eax + 0x1d4], cl
inc eax
test cl, cl
jne 0x43d070
lea edx, [esp + 0x1d4]
push edx
mov ecx, 0x4ecc28
mov dword [esp + 0xde8], 0x10
call fcn.0043cab0
mov ecx, dword [esi]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x1007
push ecx
call ebx
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x188]
push eax
mov dword [esp + 0x68], edx
mov edx, dword [esi]
push 0x102e
push edx
mov dword [esp + 0x64], 2
call ebx
mov edi, dword [esp + 0x20]
inc ebp
jmp 0x43d0f1
mov eax, dword [0x4f8164]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x43cf91
pop ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov ecx, dword [esp + 0x11fc]
pop esi
pop ebp
xor ecx, esp
call fcn.0049e0c6
add esp, 0x11f8
ret
Function at 0x43d330
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1634
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1630], eax
push esi
mov esi, dword [esp + 0x163c]
push edi
mov edi, dword [esp + 0x1644]
push 0x100
push 0x4b1914
lea eax, [esp + 0x14]
push eax
push 0x4b1914
push esi
push 0x80000000
call fcn.00455f10
cmp byte [esp + 0xc], 0
je 0x43d392
lea eax, [esp + 0xc]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43d388
push esi
lea edx, [esp + 0x110]
push str._sDefaultIcon
push edx
call fcn.0049e0d5
add esp, 0xc
push 0x800
push 0x4b1914
lea eax, [esp + 0x240]
push eax
push 0x4b1914
lea ecx, [esp + 0x11c]
push ecx
push 0x80000000
call fcn.00455f10
test al, al
jne 0x43d48e
push esi
lea edx, [esp + 0x110]
push str._s_shellopencommand
push edx
call fcn.0049e0d5
add esp, 0xc
push 0x400
push 0x4b1914
lea eax, [esp + 0xa40]
push eax
push 0x4b1914
lea ecx, [esp + 0x11c]
push ecx
push 0x80000000
call fcn.00455f10
test al, al
jne 0x43d423
xor eax, eax
jmp 0x43d544
cmp byte [esp + 0xa38], 0x22
lea ecx, [esp + 0xa39]
je 0x43d43b
lea ecx, [esp + 0xa38]
lea edx, [esp + 0x238]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x43d442
lea edx, [esp + 0x238]
push 0x22
push edx
call fcn.0049dd30
add esp, 8
test eax, eax
je 0x43d465
mov byte [eax], 0
lea eax, [esp + 0x238]
push 0x4b347c
push eax
call fcn.004a1340
add esp, 8
test eax, eax
je 0x43d481
mov byte [eax], 0
lea ecx, [esp + 0x238]
push ecx
call fcn.00464bc0
mov ecx, 0x4b347c
lea eax, [esp + 0x238]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43d4c0
test dl, dl
je 0x43d4bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43d4c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x43d4a0
xor eax, eax
jmp 0x43d4c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43d41c
push 0x800
lea edx, [esp + 0xe3c]
push edx
lea eax, [esp + 0x240]
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [esp + 0xe38]
push 0x2c
push ecx
call fcn.0049ddf0
mov esi, eax
add esp, 8
test esi, esi
je 0x43d513
lea edx, [esi + 1]
push edx
call fcn.004a0326
add esp, 4
mov edi, eax
mov byte [esi], 0
lea eax, [esp + 0xe38]
push eax
mov dword [esp + 0xc], 0
call fcn.00444fd0
push 1
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
lea edx, [esp + 0xe48]
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1638]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1634
ret 8