joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5357f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x128], 0x114
push 0x110
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x53585b
cmp dword [ebp - 0x124], 6
jb 0x53585b
mov dword [ebp - 0x130], 1
jmp 0x535865
mov dword [ebp - 0x130], 0
mov edx, dword [ebp - 0x130]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x5358ac
lea eax, [ebp - 4]
push eax
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
jl 0x535894
cmp dword [ebp - 4], 0
je 0x535894
mov dword [ebp - 0x134], 1
jmp 0x53589e
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
jmp 0x5358b6
mov dword [ebp - 0x138], 0
mov al, byte [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret

Function at 0x535ae0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
movzx eax, word [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
sub edx, 0x423
mov dword [ebp - 0x218], edx
cmp dword [ebp - 0x218], 4
ja case.default.0x535abe
mov eax, dword [ebp - 0x218]
jmp dword [eax*4 + 0x535b98]
push 0
push 0
push 0x7ee
mov ecx, dword [0x5e24a4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.default.0x535abe
push 0
push 0
push 0
push str.http:__bbs.ithome.com_forum_38_1.html
push 0
mov edx, dword [ebp - 0x214]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
mov ecx, dword [0x5a2d04]
mov dword [ebp - 0x210], ecx
push 0x204
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.004011a0
add esp, 4
push 1
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0x5a2d08
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
push 0
push 0
push 0
push str.http:__www.cooldock.com_
push 0
mov edx, dword [ebp - 0x214]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
push 0
push 0
push 0x7eb
mov ecx, dword [0x5e24a4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x535b02
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
movzx eax, word [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
sub edx, 0x423
mov dword [ebp - 0x218], edx
cmp dword [ebp - 0x218], 4
ja case.default.0x535abe
mov eax, dword [ebp - 0x218]
jmp dword [eax*4 + 0x535b98]
push 0
push 0
push 0x7ee
mov ecx, dword [0x5e24a4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.default.0x535abe
push 0
push 0
push 0
push str.http:__bbs.ithome.com_forum_38_1.html
push 0
mov edx, dword [ebp - 0x214]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
mov ecx, dword [0x5a2d04]
mov dword [ebp - 0x210], ecx
push 0x204
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.004011a0
add esp, 4
push 1
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0x5a2d08
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
push 0
push 0
push 0
push str.http:__www.cooldock.com_
push 0
mov edx, dword [ebp - 0x214]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
push 0
push 0
push 0x7eb
mov ecx, dword [0x5e24a4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10

Function at 0x535b4f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
movzx eax, word [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
sub edx, 0x423
mov dword [ebp - 0x218], edx
cmp dword [ebp - 0x218], 4
ja case.default.0x535abe
mov eax, dword [ebp - 0x218]
jmp dword [eax*4 + 0x535b98]
push 0
push 0
push 0x7ee
mov ecx, dword [0x5e24a4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.default.0x535abe
push 0
push 0
push 0
push str.http:__bbs.ithome.com_forum_38_1.html
push 0
mov edx, dword [ebp - 0x214]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
mov ecx, dword [0x5a2d04]
mov dword [ebp - 0x210], ecx
push 0x204
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.004011a0
add esp, 4
push 1
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0x5a2d08
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
push 0
push 0
push 0
push str.http:__www.cooldock.com_
push 0
mov edx, dword [ebp - 0x214]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.default.0x535abe
push 0
push 0
push 0x7eb
mov ecx, dword [0x5e24a4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x536c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 0x536ca0
call fcn.00554077
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x537600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 8], 4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
or edx, 0x20019
push edx
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
call fcn.0041e1e0
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x53765a
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0x14]
jmp 0x5376a0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
push 0
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x537685
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8

Function at 0x538c90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0x5963d8
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x538d50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0x596440
push 0x596424
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x36d0]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x538d80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0x596450
push 0x596424
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x36d0]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x538db0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0x596458
push 0x596424
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x36d0]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x538e50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push 0x59646c
push 0x596460
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x53cd10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
push 2
call fcn.00416bc0
add esp, 4
add eax, 0x30
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push eax
call fcn.0041d9b0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
call fcn.0053ce30
mov byte [ebp - 0x15], al
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x53cd63
push 0x5a387c
push 2
call fcn.00416bc0
add esp, 4
add eax, 0x30
push eax
call fcn.00554842
add esp, 8
push 2
call fcn.00416bc0
add esp, 4
movzx ecx, byte [eax + 0xfe0]
test ecx, ecx
jne 0x53cda8
push 2
call fcn.00416bc0
add esp, 4
add eax, 0x30
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push eax
call fcn.0041d9b0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
call fcn.0053ac10
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x35e0], 1
jmp 0x53ce27
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.default
call fcn.0041d9b0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
call fcn.0053ac10
push 2
call fcn.00416bc0
add esp, 4
add eax, 0xd88
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x53cdfa
push 2
call fcn.00416bc0
add esp, 4
mov byte [eax + 0xfe0], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x35e0], 1
jmp 0x53ce27
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x35e0], 0
push 0
push 2
call fcn.00416bc0
add esp, 4
add eax, 0xd88
push eax
call fcn.00434810
add esp, 8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1120], eax
mov esp, ebp
pop ebp
ret
Function at 0x540680
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x3670]
test ecx, ecx
je 0x5406a8
xor eax, eax
jmp 0x54086a
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.004017e0
movzx ecx, al
test ecx, ecx
je 0x5406ca
xor eax, eax
jmp 0x54086a
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x3630]
test eax, eax
je 0x5406df
xor eax, eax
jmp 0x54086a
lea ecx, [ebp - 0x18]
call fcn.0046a990
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.00453190
cmp dword [ebp - 4], 0
jge 0x5407bc
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x35e4]
sub eax, 1
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x35e8], eax
jne 0x540775
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
fild qword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
fstp qword [edx + 0x36b0]
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x36a8]
test ecx, ecx
jne 0x540773
push 0
push 0xa
push 0x1031
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0042c510
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.0053ba90
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x36a9], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x36a8], 1
jmp 0x5407b7
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x36a8]
test edx, edx
je 0x54079d
push 0x1031
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0042c540
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x36a8], 0
push 0x14
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x35e8]
add edx, 1
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x28
call fcn.0047bc40
jmp 0x540868
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x35e8], 0
jne 0x540826
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
fild qword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
fstp qword [ecx + 0x36b0]
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x36a8]
test eax, eax
jne 0x540824
push 0
push 0xa
push 0x1031
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0042c510
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.0053ba90
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x36a9], 1
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x36a8], 1
jmp 0x540868
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x36a8]
test ecx, ecx
je 0x54084e
push 0x1031
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0042c540
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x36a8], 0
push 0x14
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x35e8]
sub ecx, 1
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x28
call fcn.0047bc40
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5427d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f35b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x35a0], 0
jne 0x54280b
xor eax, eax
jmp 0x54294b
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x35a0]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x35a0]
mov edx, dword [edx]
mov eax, dword [edx + 0x20]
call eax
cmp eax, 5
je 0x54284e
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x35a0]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x35a0]
mov edx, dword [edx]
mov eax, dword [edx + 0x20]
call eax
cmp eax, 4
je 0x54284e
xor eax, eax
jmp 0x54294b
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x35a0]
call fcn.00485f10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.00488310
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d9b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0041e310
movzx edx, al
test edx, edx
je 0x5428a4
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041dab0
mov eax, dword [ebp - 0x24]
jmp 0x54294b
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0041dcb0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x10]
call fcn.0041d970
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0xffffffff
je 0x5428fb
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041de70
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041dad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0041dab0
lea ecx, [ebp - 0x10]
call fcn.0041e2f0
test eax, eax
jle 0x542926
push 1
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.0041e1e0
push eax
push 0x5a3bec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041dab0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x542df0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], ecx
push 2
call fcn.00416bc0
add esp, 4
movzx eax, byte [eax + 0xfe0]
test eax, eax
jne 0x542e4d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x542e48
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x35e0], 1
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1334], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 4]
push edx
call fcn.0041d9b0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
call fcn.0053ac10
jmp 0x542f30
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x1334], 1
call fcn.00416be0
cmp eax, 0x13
jl 0x542e79
call fcn.00417050
test eax, eax
je 0x542e79
lea ecx, [ebp - 0xc]
push ecx
call fcn.005423c0
add esp, 4
mov dword [ebp - 8], eax
push 2
call fcn.00416bc0
add esp, 4
add eax, 0xd88
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x542f0b
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x35e0], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1120], 0
je 0x542edb
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x1120]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x542ed4
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x24], eax
jmp 0x542edb
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x1120], 0
push 0
push 2
call fcn.00416bc0
add esp, 4
add eax, 0xd88
push eax
call fcn.00434810
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x1120], eax
call fcn.00416be0
cmp eax, 0x13
jl 0x542f30
call fcn.00417050
test eax, eax
je 0x542f30
cmp dword [ebp - 8], 0
je 0x542f30
mov eax, dword [ebp - 0xc]
push eax
call fcn.00542420
add esp, 4
mov ecx, dword [ebp - 0x1c]
add ecx, 0x28
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x28]
mov edx, dword [eax + 0x1c]
call edx
push 0
push 0
push 0x7ea
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.00416350
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x542f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f38c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0x9c8
call fcn.00553a71
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x542fb5
mov ecx, dword [ebp - 0x30]
call fcn.004b75a0
mov dword [ebp - 0x40], eax
jmp 0x542fbc
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
push 4
call fcn.00553a71
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x38], 0
je 0x542ff6
mov ecx, dword [ebp - 0x38]
call fcn.00488130
mov dword [ebp - 0x44], eax
jmp 0x542ffd
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00480e50
push 0x30
mov ecx, dword [ebp - 0x24]
call fcn.004850f0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x35f8]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00485110
push 7
mov ecx, dword [ebp - 0x24]
call fcn.00486500
push 0x293
mov ecx, dword [ebp - 0x28]
call fcn.004882f0
push 0x5a3d04
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x24]
call edx
push 0x5a3eb8
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00485ef0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x30]
call edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x36d8]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00487b00
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x28
call fcn.004791a0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x28
call fcn.0047cda0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.004864c0
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x35a0], edx
push 0
push 0x803a
push 0x111
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.00416350
push 0
push 0
push 0x7ea
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.00416350
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x544660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, word [ebp + 0x10]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
push 6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x544696
push 5
call fcn.00543ef0
add esp, 4
xor eax, eax
jmp 0x544737
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5446bb
push 6
call fcn.00543ef0
add esp, 4
xor eax, eax
jmp 0x544737
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5446dc
push 6
call fcn.00543ef0
add esp, 4
xor eax, eax
jmp 0x544737
push 0x48
call fcn.00553634
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5446fd
push 1
call fcn.00543ef0
add esp, 4
xor eax, eax
jmp 0x544737
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [ebp + 0x10]
mov word [edx + 4], ax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00544740
add esp, 8
test eax, eax
jne 0x544734
mov eax, dword [ebp - 0xc]
push eax
call fcn.005535bb
add esp, 4
xor eax, eax
jmp 0x544737
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x545510
Capabilities:
Copy file
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 2]
cmp ecx, 0x3a
jne 0x54554d
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
push eax
push 0x5a4198
lea ecx, [ebp - 0x620]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x54557e
push 0x208
lea edx, [ebp - 0x418]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx eax, word [ebp - 0x418]
push eax
push str._c:_
lea ecx, [ebp - 0x620]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0x5a41b0
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x5455a1
xor eax, eax
jmp 0x54560f
push 1
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x5455bc
xor eax, eax
jmp 0x54560f
push 4
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x5455d5
xor eax, eax
jmp 0x54560f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x5455fd
xor eax, eax
jmp 0x54560f
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret