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

Disassembly:
push 0xffffffffffffffff
push 0x4ae956
mov eax, dword fs:[0]
push eax
mov eax, 0x1860
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x185c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c03a0]
xor eax, esp
push eax
lea eax, [esp + 0x1874]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1884]
mov edi, dword [esp + 0x1888]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.0042ea90
xor ebx, ebx
mov dword [esp + 0x187c], ebx
push 1
push ebx
push edi
push esi
lea ecx, [esp + 0x40]
call fcn.0042ee80
test al, al
je 0x430eea
lea ecx, [esp + 0x30]
call fcn.0042ed90
mov edi, 0x10000
push edi
mov dword [esp + 0x20], eax
mov ebp, edx
call fcn.0049e6ff
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x430e5e
mov ecx, 0x4c93ac
call fcn.004285b0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x187c], 1
push edi
push ebx
push esi
call fcn.0049ebe0
add esp, 0xc
xor edi, edi
test ebp, ebp
jl 0x430eb4
jg 0x430e90
cmp dword [esp + 0x1c], edi
jbe 0x430eb4
jmp 0x430e90
push 0x10000
push esi
lea ecx, [esp + 0x38]
call fcn.0042f4a0
add ebx, 0x10000
adc edi, 0
cmp edi, ebp
jl 0x430e90
jg 0x430eb4
cmp ebx, dword [esp + 0x1c]
jb 0x430e90
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.0042f3d0
lea ecx, [esp + 0x30]
call fcn.0042ed30
lea ecx, [esp + 0x30]
call fcn.0042eb10
mov byte [esp + 0x187c], 0
test esi, esi
je 0x430eea
push esi
call fcn.0049e37d
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push eax
lea ebx, [esp + 0xc54]
lea esi, [esp + 0x1468]
call fcn.00430310
test al, al
je 0x430f43
call fcn.0043cdb0
test eax, eax
je 0x430f2e
cmp word [esp + 0xc50], 0
je 0x430f2e
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x430f73
lea edx, [esp + 0x1464]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
jmp 0x430f73
call fcn.0043cdb0
test eax, eax
je 0x430f61
mov eax, edi
test eax, eax
je 0x430f61
cmp word [eax], 0
je 0x430f61
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x430f6c
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
mov bl, al
mov dword [esp + 0x187c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0042ee50
mov al, bl
mov ecx, dword [esp + 0x1874]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x185c]
xor ecx, esp
call fcn.0049e626
add esp, 0x186c
ret 8
Function at 0x430fc0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ae9a6
mov eax, dword fs:[0]
push eax
mov eax, 0x3bc8
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x3bc4], eax
push ebp
push esi
push edi
mov eax, dword [0x4c03a0]
xor eax, esp
push eax
lea eax, [esp + 0x3bd8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3be8]
push esi
call fcn.0044d9e0
test al, al
je 0x431259
push esi
call fcn.0042fab0
test al, al
je 0x431259
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x37d8]
push 0x4b28ac
push ecx
call fcn.0049e635
movsx edx, byte [esp + 0x37e0]
add esp, 0xc
push edx
push 0x341
call fcn.0045be10
push eax
lea eax, [esp + 0x35dc]
push eax
call fcn.0049e635
add esp, 0xc
lea ecx, [esp + 0x35d4]
push ecx
call fcn.0047f7c0
lea ecx, [esp + 0x10]
call fcn.004658e0
mov dword [esp + 0x3be0], 0
lea edx, [esp + 0x37d4]
push edx
lea ecx, [esp + 0x14]
call fcn.00465960
push 2
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x11b8]
call fcn.0045e680
mov byte [esp + 0x3be0], 1
lea ecx, [esp + 0xd1c]
call fcn.004680f0
lea ecx, [esp + 0xd40]
call fcn.004680f0
lea ecx, [esp + 0xd64]
call fcn.004680f0
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x11ac]
call fcn.0045f070
test eax, eax
jne 0x431231
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x431100
mov al, byte [esi]
cmp byte [esp + 0x108], al
jne 0x431231
cmp byte [esp + 0x109], 0x3a
jne 0x431231
mov cx, word [esp + 0x508]
test cx, cx
je 0x431147
movsx edx, al
movzx eax, cx
cmp eax, edx
jne 0x431231
cmp word [esp + 0x50a], 0x3a
jne 0x431231
call fcn.0043cdb0
test eax, eax
je 0x431169
cmp word [esp + 0x508], 0
je 0x431169
push 0
lea ecx, [esp + 0x50c]
push ecx
call edi
jmp 0x431175
push 0
lea edx, [esp + 0x10c]
push edx
call ebp
cmp byte [esp + 0xd18], 0
je 0x4311b3
call fcn.0043cdb0
test eax, eax
je 0x4311a3
cmp word [esp + 0x508], 0
je 0x4311a3
lea eax, [esp + 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x431215
lea ecx, [esp + 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x431215
call fcn.0043cdb0
test eax, eax
je 0x4311d7
cmp word [esp + 0x508], 0
je 0x4311d7
lea edx, [esp + 0x508]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4311e5
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
jne 0x431215
lea ecx, [esp + 0x108]
push ecx
push 0x202
call fcn.0045be10
push eax
push 0
call fcn.0048d240
add esp, 0xc
mov ecx, 0x4c93ac
call fcn.00428050
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x11ac]
call fcn.0045f070
test eax, eax
je 0x431100
mov byte [esp + 0x3be0], 0
lea ecx, [esp + 0x11a8]
call fcn.0045e8f0
mov dword [esp + 0x3be0], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00465560
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.0049e626
add esp, 0x3bd4
ret 4
Function at 0x4319e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push edi
push 0x10000
call fcn.0049e6ff
mov edi, eax
add esp, 4
test edi, edi
jne 0x4319fb
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 0x431a11
cmp ebp, ebx
jae 0x431a9f
call fcn.00445860
cmp byte [0x4c93b4], 0
je 0x431a28
cmp dword [0x4dc1c0], 0
jne 0x431a6d
cmp ebx, 0xffffffff
je 0x431a38
mov eax, ebx
sub eax, ebp
cmp eax, 0x10000
jb 0x431a3d
mov eax, 0x10000
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 1
push edi
call fcn.004a0179
mov esi, eax
add esp, 0x10
test esi, esi
je 0x431a79
mov edx, dword [esp + 0x18]
push edx
push esi
push 1
push edi
call fcn.0049fd82
add esp, 0x10
cmp eax, esi
jne 0x431ab1
add ebp, esi
jmp 0x431a04
pop esi
pop ebp
pop ebx
mov eax, 9
pop edi
ret 0xc
mov eax, dword [esp + 0x14]
push eax
call fcn.004a1804
add esp, 4
test eax, eax
je 0x431a9f
push edi
call fcn.0049e37d
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, 0xb
pop edi
ret 0xc
push edi
call fcn.0049e37d
add esp, 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
ret 0xc
push edi
call fcn.0049e37d
mov eax, dword [0x4c9400]
add esp, 4
push eax
push eax
mov ecx, 0x4c93ac
call fcn.00428560
pop esi
pop ebp
pop ebx
mov eax, 0xa
pop edi
ret 0xc
Function at 0x431ae0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4aea1b
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c03a0]
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 0x431b60
test dl, dl
je 0x431b5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x431b60
add eax, 2
add ecx, 2
test dl, dl
jne 0x431b40
xor eax, eax
jmp 0x431b65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x431d11
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.0049f4b6
add esp, 4
cmp byte [esp + 0xc40], 0x5c
mov edi, eax
je 0x431be3
mov al, byte [ebx]
cmp al, 0x5c
je 0x431be3
cmp byte [ebp], 0x5c
je 0x431be3
movsx edx, al
push edx
call fcn.0049f4b6
mov esi, eax
movsx eax, byte [ebp]
push eax
call fcn.0049f4b6
mov cl, 0x3a
add esp, 8
cmp byte [ebx + 1], cl
je 0x431bcf
mov esi, edi
cmp byte [ebp + 1], cl
je 0x431bd6
mov eax, edi
cmp esi, eax
mov esi, dword [esp + 0x18]
je 0x431be3
mov byte [esp + 0x17], 1
push esi
push ebp
call fcn.0042fc80
test al, al
je 0x431c41
lea ecx, [esp + 0x20]
call fcn.0042ea90
mov dword [esp + 0x104c], 0
push 1
push 0
push esi
push ebp
lea ecx, [esp + 0x30]
call fcn.0042ee80
test al, al
je 0x431c8d
lea ecx, [esp + 0x20]
call fcn.0042eb10
test al, al
je 0x431c8d
push esi
push ebp
call fcn.00430040
test al, al
je 0x431c8d
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0042ee50
cmp byte [esp + 0x17], 0
jne 0x431c5f
push esi
push ebp
push 0
push ebx
call fcn.0042ff90
test al, al
sete al
test al, al
je 0x431d11
push 0x4b1948
push ebx
call fcn.0049fec8
mov edi, eax
add esp, 8
test edi, edi
jne 0x431ca8
mov ecx, dword [0x4c9400]
push ebx
push ecx
mov ecx, 0x4c93ac
call fcn.00428400
lea eax, [edi + 0xa]
jmp 0x431d13
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0042ee50
mov eax, 0xf
jmp 0x431d13
push 0
push 0x4b1ba8
push esi
push ebp
call fcn.00430430
mov esi, eax
test esi, esi
jne 0x431cca
push edi
call fcn.0049fba6
add esp, 4
lea eax, [esi + 0xf]
jmp 0x431d13
push 0
mov ecx, 0x4c93ac
call fcn.00427fd0
push 0xffffffffffffffff
push esi
push edi
call fcn.004319e0
push edi
mov ebx, eax
call fcn.0049fba6
add esp, 4
push 1
mov ecx, 0x4c93ac
call fcn.00427fd0
push esi
call fcn.0049fba6
add esp, 4
test eax, eax
jne 0x431d3d
test ebx, ebx
jne 0x431d3d
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430d70
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.0049e626
add esp, 0x103c
ret 0xc
mov eax, dword [esp + 0x18]
push eax
push ebp
call fcn.00430040
test ebx, ebx
je 0x431d53
mov eax, ebx
cmp ebx, 0xa
jne 0x431d13
mov eax, 0xe
jmp 0x431d13
Function at 0x434960
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1404
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x1400], eax
cmp dword [0x4dbca4], 0
push esi
push edi
mov edi, dword [esp + 0x1410]
mov esi, ecx
je 0x4349b0
push 0
push 0x4ec350
mov ecx, 0x4e0c60
call fcn.00413520
push 0
push 0x4ebf50
mov ecx, 0x4e0c60
call fcn.004134e0
jmp 0x4349c7
push 0x4ec350
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov byte [0x4ebf50], 0
mov eax, dword [0x4c93a8]
push 0
push 0x433fa0
push edi
push str.FAVORITESDLG
push eax
mov byte [0x4ebd50], 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
jne 0x4349ef
xor al, al
jmp 0x434a59
cmp byte [esp + 0x1414], 0
je 0x434a57
push 0x1000000
lea ecx, [esp + 0xc0c]
push ecx
push 0x4ec350
call fcn.0046d830
push 0x1000000
lea edx, [esp + 0x40c]
push edx
push 0x4ebf50
call fcn.0046d830
push 0x1000000
lea eax, [esp + 0xc]
push eax
push 0x4ebd50
call fcn.0046d830
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0xc10]
push eax
mov ecx, esi
call fcn.00434490
mov al, 1
mov ecx, dword [esp + 0x1408]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x1404
ret 8

Function at 0x4358a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x43591b
cmp eax, 0x40
jbe 0x4358c9
lea eax, [esi + 0x40]
push eax
push esi
call fcn.004649d0
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.0049ebe0
add esp, 0xc
xor eax, eax
jmp 0x4358f0
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x4358f0
push edi
lea edi, [esi + 0x40]
push edi
call fcn.00464910
push edi
push 0x40
push esi
call fcn.00464950
mov dword [esi + 0x9c], 0xffffffff
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x435932
mov edx, dword [esp + 8]
add esi, 0x40
push esi
push eax
push edx
call fcn.00464950
pop esi
ret 0xc

Function at 0x435940
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c03a0]
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 0x43596b
push esi
push 0
push 0
call fcn.004358a0
push edi
lea edi, [esi + 0x40]
push edi
lea eax, [esp + 0x10]
push eax
call fcn.004649d0
xor eax, eax
lea esp, [esp]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x435980
push edi
call fcn.00464910
push edi
push 0x40
push esi
call fcn.00464950
push edi
push 0x14
lea ecx, [esp + 0x14]
push ecx
call fcn.00464950
push edi
lea edx, [esp + 0x10]
push edx
call fcn.004649d0
mov eax, dword [esp + 0x2c]
pop edi
test eax, eax
jbe 0x4359cc
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call fcn.0049ec60
add esp, 0xc
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x18
ret 0xc
Function at 0x437480
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
push 0x1000000
call fcn.0049f174
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x4374a5
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 0x43759a
mov ebp, 0x4000
jmp 0x4374e0
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 0x4374e0
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 0x4374d1
push esi
call fcn.0049efc5
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
push 0
push 0x64
push edx
push eax
call fcn.0049f1e0
pop edi
pop ebp
add eax, 1
pop esi
adc edx, 0
pop ebx
add esp, 0xc
ret

Function at 0x437b30
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.0049f174
add esp, 4
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [0x4ec808]
push edi
call fcn.00460650
push 0
push edi
call fcn.00477060
push edi
call fcn.0049efc5
add esp, 4
pop edi
pop esi
ret
Function at 0x438110
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
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.0049fec8
mov esi, eax
add esp, 8
test esi, esi
jne 0x43814f
lea eax, [esi + 0x32]
jmp 0x438294
xor eax, eax
cmp edi, 0x8000
jbe 0x438254
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004a0425
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004a0179
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.004371f0
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004a0425
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004a0179
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.004371f0
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004a0425
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004a0179
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.004371f0
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004a0425
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004a0179
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.004371f0
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.0049fba6
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x438294
cmp edi, 0x1000
jbe 0x438264
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004a0425
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004a0179
push esi
mov edi, eax
call fcn.0049fba6
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.004371f0
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x1008
ret 4
Function at 0x43af20
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4c03a0]
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 0x4b5d4c
push 1
push 0
push 0x4b5dcc
mov dword [esp + 0x30], eax
mov byte [esp + 0x27], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x43b02f
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0x50]
call eax
test esi, esi
je 0x43afa3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push esi
push eax
call edx
test ebp, ebp
je 0x43afb6
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 0x43afc7
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 0x4b5d7c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x43b023
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 0x43b017
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.0049e626
add esp, 0x21c
ret 0x14

Function at 0x43b050
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 0x43b0a0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
sub esp, 0x428
mov eax, dword [0x4c03a0]
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 0x43b0e2
xor al, al
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0049e626
add esp, 0x428
ret 4
push 0x400
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.00465370
lea eax, [esp + 0x24]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b100
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.0049e626
add esp, 0x428
ret 4
Function at 0x43d300
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x11f8
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
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 0x43d51f
push edi
mov edi, dword [esi + eax*4 + 0xc9c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ebp
cmp edi, ebp
je 0x43d51e
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 0x43d51e
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x43d51e
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 0x43d512
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 0x43d4df
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0xe08]
push edx
push 0
push eax
push edi
call fcn.004261d0
test eax, eax
je 0x43d4df
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xd20]
mov eax, dword [esi + edx*4 + 0xc1c]
push ecx
push eax
call fcn.004260c0
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 [0x4f81ac]
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.0049ebe0
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 0x43d470
lea edx, [esp + 0x1d4]
push edx
mov ecx, 0x4ecc70
mov dword [esp + 0xde8], 0x10
call fcn.0043ceb0
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 0x43d4f1
mov eax, dword [0x4f81ac]
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 0x43d391
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.0049e626
add esp, 0x11f8
ret