joyce8/EMBER2024-capa huggingface dataset:
Function at 0x534e60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x534e75
xor eax, eax
jmp 0x534e8d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
je 0x534e88
xor eax, eax
jmp 0x534e8d
mov eax, 1
pop ebp
ret

Function at 0x535e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x535eb5
xor eax, eax
jmp 0x535eea
mov ecx, dword [ebp + 8]
push ecx
call fcn.00534e60
add esp, 4
test eax, eax
jne 0x535ec9
xor eax, eax
jmp 0x535eea
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00534e10
add esp, 8
test eax, eax
jne 0x535ee4
xor eax, eax
jmp 0x535eea
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret

Function at 0x536000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.00535e90
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
ja 0x536025
mov eax, 1
jmp 0x536128
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0
push 0x56dc08
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.0050c405
add esp, 0xc
test eax, eax
jne 0x536125
cmp dword [ebp - 8], 0
je 0x536125
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
mov eax, dword [ebp - 8]
push eax
push 1
push 3
lea ecx, [ebp - 0x14]
push ecx
call fcn.0050cf98
add esp, 0x10
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0xc], 2
jb 0x5360ab
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
cmp ecx, 0xff
jne 0x5360ab
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 1]
cmp eax, 0xfe
jne 0x5360ab
mov dword [ebp - 0x1c], 1
jmp 0x5360b2
mov dword [ebp - 0x1c], 0
mov cl, byte [ebp - 0x1c]
mov byte [ebp - 0x16], cl
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp eax, 0xef
jne 0x5360ec
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 1]
cmp edx, 0xbb
jne 0x5360ec
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 2]
cmp ecx, 0xbf
jne 0x5360ec
mov dword [ebp - 0x20], 1
jmp 0x5360f3
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0x15], dl
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x53610a
mov dword [ebp - 4], 2
jmp 0x536119
movzx ecx, byte [ebp - 0x16]
test ecx, ecx
je 0x536119
mov dword [ebp - 4], 3
mov edx, dword [ebp - 8]
push edx
call fcn.0050c9e7
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x536350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551736
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401410
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00536270
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x53642a
lea ecx, [ebp - 0x18]
call fcn.00405840
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], 0
push 0x56dc10
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0050c405
add esp, 0xc
test eax, eax
jne 0x53642a
mov byte [ebp - 0x20], 0xff
mov byte [ebp - 0x1f], 0xfe
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
push 2
lea edx, [ebp - 0x20]
push edx
call fcn.0050c5ba
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0050bba9
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.0050c5ba
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0050c9e7
add esp, 4
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407f90
jmp 0x536445
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x536bf0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551a46
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x220]
call fcn.00401410
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0050bed0
add esp, 0xc
push 1
push 0x26
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jl 0x536c8e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402dd0
lea ecx, [ebp - 0x220]
push ecx
call fcn.00536720
add esp, 4
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401800
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00407f90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret
Function at 0x537270
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551d70
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x838]
call fcn.00402df0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x838]
push ecx
call fcn.00536720
add esp, 4
push 0x56dfe0
lea ecx, [ebp - 0x838]
call fcn.00410da0
push 0x400
push 0
lea edx, [ebp - 0x834]
push edx
call fcn.0050bed0
add esp, 0xc
lea ecx, [ebp - 0x838]
call fcn.00405840
push eax
push 0x400
lea eax, [ebp - 0x834]
push eax
call fcn.0050bf4a
add esp, 0xc
lea ecx, [ebp - 0x838]
call fcn.00401300
xor ecx, ecx
mov word [ebp + eax*2 - 0x832], cx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 3
lea edx, [ebp - 0x834]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
mov eax, 0x14
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x12], 0
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.00407f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret

Function at 0x537390
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0050bed0
add esp, 0xc
mov dword [ebp - 0x214], 0x104
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402df0
mov edx, dword [ebp - 0x218]
or edx, 1
mov dword [ebp - 0x218], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret

Function at 0x5374f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x81c], 0
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.0050bed0
add esp, 0xc
lea edx, [ebp - 0x814]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x818]
call fcn.00402df0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x818]
push ecx
call fcn.00536720
add esp, 4
lea edx, [ebp - 0x818]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401800
mov eax, dword [ebp - 0x81c]
or eax, 1
mov dword [ebp - 0x81c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.00407f90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret
Function at 0x5375d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551df9
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x81c], 0
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.0050bed0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x814]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x818]
call fcn.00402df0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x818]
push ecx
call fcn.00536720
add esp, 4
lea edx, [ebp - 0x818]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401800
mov eax, dword [ebp - 0x81c]
or eax, 1
mov dword [ebp - 0x81c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.00407f90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret

Function at 0x5376b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551e2c
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x81c], 0
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.0050bed0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x814]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x818]
call fcn.00402df0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x818]
push ecx
call fcn.00536720
add esp, 4
lea edx, [ebp - 0x818]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401800
mov eax, dword [ebp - 0x81c]
or eax, 1
mov dword [ebp - 0x81c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.00407f90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret

Function at 0x538760
Capabilities:
Check if file exists
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00537fa0
add esp, 8
lea ecx, [ebp - 8]
call fcn.00405840
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x53879a
push 0
lea ecx, [ebp - 8]
call fcn.00405840
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0x56dc24
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 4]
push eax
call fcn.0050c405
add esp, 0xc
test eax, eax
jne 0x5387ea
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0050c5ba
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.0050c9e7
add esp, 4
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 8]
call fcn.00407f90
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x5388f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55294b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
mov eax, dword [0x5c0f9c]
and eax, 1
jne 0x538955
mov ecx, dword [0x5c0f9c]
or ecx, 1
mov dword [0x5c0f9c], ecx
mov ecx, 0x5c0f98
call fcn.00401410
push 0x55d8e0
call fcn.0050cb8a
add esp, 4
mov ecx, 0x5c0f98
call fcn.00401320
movzx edx, al
test edx, edx
je 0x538a27
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0050bed0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x5389dc
movzx eax, word [ebp - 0x21c]
push eax
call fcn.0050fc2e
add esp, 4
mov word [ebp - 0x21c], ax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, 0x5c0f98
call fcn.00402dd0
jmp 0x538a27
lea eax, [ebp - 0x220]
push eax
call fcn.005386d0
add esp, 4
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x22c]
push edx
mov ecx, 0x5c0f98
call fcn.00401960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00407f90
push 0x5c0f98
mov ecx, dword [ebp + 8]
call fcn.00401800
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret
Function at 0x538fb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552d96
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00535e90
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push 0x40
push 0x8000
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.005104eb
add esp, 0x14
test eax, eax
jne 0x5390d8
push 0x56db68
mov eax, dword [ebp - 0x20]
push eax
call fcn.0051050b
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5390cc
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
call fcn.004dcb1e
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5390be
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0050bed0
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0050cf98
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00538a60
add esp, 0x18
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0050c9e7
add esp, 4
jmp 0x5390d8
mov edx, dword [ebp - 0x20]
push edx
call fcn.0051073b
add esp, 4
jmp 0x5390e7
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004dcb13
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x541f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553204
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x5b3940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x788
call fcn.004011a0
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x541f93
jmp 0x542147
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0x788
call fcn.00401130
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x541fb9
jmp 0x542147
push 0
lea ecx, [ebp - 0xe4]
call fcn.0053f520
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.004e4e9b
cmp eax, 1
je 0x541ff4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.0053f4c0
jmp 0x542147
cmp dword [ebp - 0x70], 0
jne 0x54201c
mov ecx, dword [ebp - 0xf8]
call fcn.00541c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.0053f4c0
jmp 0x542147
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xf8]
add ecx, 0x788
call fcn.00546650
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0x788
call fcn.005466d0
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0xf4]
push edx
call fcn.00402270
add esp, 4
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x108]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.00402a40
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00407f90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
call fcn.00407f90
lea ecx, [ebp - 0xe8]
call fcn.00405840
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x5c0488
call fcn.00548350
test eax, eax
jne 0x542107
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00407f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.0053f4c0
jmp 0x542147
push 5
push 0
push 0
lea ecx, [ebp - 0xe8]
call fcn.00405840
push eax
push 0x571004
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00407f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.0053f4c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x546520
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x584
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x584], ecx
mov eax, dword [ebp - 0x584]
cmp dword [eax + 0x94], 0
jne 0x5465b8
push 0x2b4
push 0
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.0050bed0
add esp, 0xc
push 0x4001
push 0x2b4
lea edx, [ebp - 0x2c0]
push edx
push 0
push 0x572f1c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5465b8
mov eax, dword [ebp - 0x584]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x94], ecx
mov edx, dword [ebp - 0x584]
mov eax, dword [edx + 0x94]
push eax
push 1
push 0x1003
mov ecx, dword [ebp - 0x584]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x584]
cmp dword [eax + 0x98], 0
jne 0x546640
push 0x2b4
push 0
lea ecx, [ebp - 0x580]
push ecx
call fcn.0050bed0
add esp, 0xc
push 0x4000
push 0x2b4
lea edx, [ebp - 0x580]
push edx
push 0
push 0x572f24
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
je 0x546640
mov eax, dword [ebp - 0x584]
mov ecx, dword [ebp - 0x2c4]
mov dword [eax + 0x98], ecx
mov edx, dword [ebp - 0x584]
mov eax, dword [edx + 0x98]
push eax
push 0
push 0x1003
mov ecx, dword [ebp - 0x584]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret
Function at 0x546790
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552301
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x5b3940]
xor eax, ebp
mov dword [ebp - 0x48], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x310], ecx
mov ecx, dword [ebp - 0x310]
call fcn.00406440
mov ecx, dword [ebp + 8]
call fcn.00406330
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
jmp 0x5467e9
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
jae 0x546946
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ecf0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x44]
call fcn.00406250
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
mov ecx, 0x5c0488
call fcn.00548380
test eax, eax
jne 0x54683c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00406300
jmp 0x5467e0
push 0x2b4
push 0
lea eax, [ebp - 0x304]
push eax
call fcn.0050bed0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.00405840
push eax
lea ecx, [ebp - 0x308]
push ecx
call fcn.00537de0
add esp, 8
mov dword [ebp - 0x314], eax
push 0x4010
push 0x2b4
lea edx, [ebp - 0x304]
push edx
push 0
mov ecx, dword [ebp - 0x314]
call fcn.00405840
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 0x308]
call fcn.00407f90
mov eax, dword [ebp - 0x300]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.00405840
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x310]
call fcn.00406410
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x30c]
push eax
call fcn.00537b70
add esp, 8
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x31c], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x31c]
call fcn.00405840
push eax
push 1
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x310]
call fcn.004e5ef9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30c]
call fcn.00407f90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x310]
call fcn.004063e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00406300
jmp 0x5467e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret 4
Function at 0x5496f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x549715
xor eax, eax
jmp 0x549784
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x549781
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x549777
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00538760
add esp, 0xc
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
push edx
call fcn.00403bc0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret