joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5610e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60af28
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push str.https:__www.flash.cn_fa_protocol_learn_more_index.html
lea ecx, [ebp - 0x28]
call fcn.004ef370
mov dword [ebp - 4], 0
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x20
jg 0x561160
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x28]
push eax
call fcn.004ef320
mov dword [ebp - 0x38], eax
call fcn.004ebdd0
add esp, 0x18
push 2
push 3
push 0x65a
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.00568d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret

Function at 0x5611a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60af28
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push str.https:__www.flash.cn_useragreement_fa_protocol
lea ecx, [ebp - 0x28]
call fcn.004ef370
mov dword [ebp - 4], 0
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x20
jg 0x561220
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x28]
push eax
call fcn.004ef320
mov dword [ebp - 0x38], eax
call fcn.004ebdd0
add esp, 0x18
push 1
push 3
push 0x65a
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.00568d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x56c260
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push 0xc
lea ecx, [ebp - 0x21c]
call fcn.004e2570
push 0
lea ecx, [ebp - 0x21c]
call fcn.004e2900
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004e2970
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x56c2ec
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x230], edx
lea ecx, [ebp - 0x21c]
call fcn.004e2920
mov eax, dword [ebp - 0x230]
jmp 0x56c3a1
mov dword [ebp - 0x208], 0x100
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x56c370
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0056c260
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x56c364
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x21c]
call fcn.004e2920
mov eax, dword [ebp - 0x228]
jmp 0x56c3a1
mov dword [ebp - 0x208], 0x100
jmp 0x56c2f6
lea ecx, [ebp - 0x21c]
call fcn.004e2940
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.005512f0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x21c]
call fcn.004e2920
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 4

Function at 0x56c8b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x56c90f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x56c8dc
mov eax, 1
jmp 0x56c92d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x56c90d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x56c92d
jmp 0x56c928
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x56c928
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x56c92d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x56f690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x56f699
cmp dword [ebp + 0xc], 0
je 0x56f6ac
mov dword [ebp - 0x10], 1
jmp 0x56f6b3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x56f6c6
mov eax, 0xd
jmp 0x56f723
xor edx, edx
jne 0x56f69d
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.005c6b34
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 1
jne 0x56f6d7
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x56f940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x56f949
cmp dword [ebp + 0xc], 0
je 0x56f95c
mov dword [ebp - 4], 1
jmp 0x56f963
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x56f976
mov eax, 0xd
jmp 0x56f9a5
xor edx, edx
jne 0x56f94d
mov eax, dword [ebp + 0xc]
push eax
call fcn.005c6b34
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x570be0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.005c7560
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2024], ecx
mov ecx, dword [ebp - 0x2024]
call fcn.005592e0
test eax, eax
jne 0x570c16
mov eax, 1
jmp 0x570e4f
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x202c], eax
cmp dword [ebp - 0x202c], 0
jne 0x570c8c
push 0x400
lea eax, [ebp - 0x2004]
push eax
push 0xd80a
call fcn.0054e340
add esp, 0xc
test eax, eax
jne 0x570c6a
push str.Could_not_open_Service_Manager
push 0x400
lea ecx, [ebp - 0x2004]
push ecx
call fcn.0057ab10
add esp, 0xc
push 0
mov edx, dword [ebp - 0x2024]
add edx, 0x2c
push edx
lea eax, [ebp - 0x2004]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x570e4f
push 0x10020
mov ecx, dword [ebp - 0x2024]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x202c]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x2028], eax
cmp dword [ebp - 0x2028], 0
jne 0x570d1c
mov eax, dword [ebp - 0x202c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x400
lea ecx, [ebp - 0x1804]
push ecx
push 0xd80c
call fcn.0054e340
add esp, 0xc
test eax, eax
jne 0x570cfa
push str.Could_not_open_service
push 0x400
lea edx, [ebp - 0x1804]
push edx
call fcn.0057ab10
add esp, 0xc
push 0
mov eax, dword [ebp - 0x2024]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x1804]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x570e4f
lea edx, [ebp - 0x2020]
push edx
push 1
mov eax, dword [ebp - 0x2028]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x2038], eax
cmp dword [ebp - 0x2038], 0
jne 0x570dbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2030], eax
cmp dword [ebp - 0x2030], 0x426
je 0x570dbf
cmp dword [ebp - 0x2030], 0x425
jne 0x570d6e
cmp dword [ebp - 0x201c], 3
je 0x570dbf
push 0x400
lea ecx, [ebp - 0x1004]
push ecx
push 0xd80e
call fcn.0054e340
add esp, 0xc
test eax, eax
jne 0x570da4
push str.Could_not_stop_service
push 0x400
lea edx, [ebp - 0x1004]
push edx
call fcn.0057ab10
add esp, 0xc
push 0
mov eax, dword [ebp - 0x2024]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x1004]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x2028]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x2034], eax
mov eax, dword [ebp - 0x2028]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x202c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x2034], 0
je 0x570dfc
mov eax, 1
jmp 0x570e4f
push 0x400
lea edx, [ebp - 0x804]
push edx
push 0xd80d
call fcn.0054e340
add esp, 0xc
test eax, eax
jne 0x570e32
push str.Could_not_delete_service
push 0x400
lea eax, [ebp - 0x804]
push eax
call fcn.0057ab10
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x2024]
add ecx, 0x2c
push ecx
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x582e90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d170
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp - 0x34]
add ecx, 0x400
call fcn.004eed50
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004e3070
add esp, 8
mov dword [ebp - 4], 0
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
push 0x61b390
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x20
jg 0x582f27
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004ef320
mov dword [ebp - 0x3c], eax
call fcn.004ebdd0
add esp, 0x18
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x10
Function at 0x583270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d24f
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004ef320
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x5832d5
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.004f64d0
mov dword [ebp - 0x58], eax
jmp 0x5832dc
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x2c]
call fcn.004eed60
sub eax, 0xa
push eax
push 0xa
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004ef8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11]
call fcn.004e2500
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x54]
add edx, 0x494
push edx
lea ecx, [ebp - 0x44]
call fcn.004ef850
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
push ecx
call fcn.004e2fe0
add esp, 8
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x11]
call fcn.00506400
mov byte [ebp - 0x45], al
movzx edx, byte [ebp - 0x45]
test edx, edx
jne 0x583373
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11]
call fcn.004e1450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004ef480
mov eax, dword [ebp - 0x64]
jmp 0x5833c8
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x58eb80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11]
call fcn.004e1450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004ef480
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x10
Function at 0x583760
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d314
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
call fcn.00521cb0
mov ecx, eax
call fcn.00526d90
movzx eax, al
test eax, eax
jne 0x5837a3
jmp 0x5838f3
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x480], 0xffffffff
je 0x5837de
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x480], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xfc], 0
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x484], 0xffffffff
je 0x5838c8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x484]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x484], 0xffffffff
push 0x61ba34
lea ecx, [ebp - 0x70]
call fcn.004ef370
mov dword [ebp - 4], 0
push 0x61ba38
lea ecx, [ebp - 0x58]
call fcn.004ef370
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x4c8
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.005872a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004ef480
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.004ef480
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004ef320
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
add ecx, 0x4c8
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x34], esp
push ecx
mov ecx, edx
call fcn.004ef320
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
call fcn.005871d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48c
call fcn.0058f320
movzx eax, al
test eax, eax
je 0x5838eb
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48c
call fcn.0057aa60
xor ecx, ecx
jne 0x58378b
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.005c6c09
mov esp, ebp
pop ebp
ret 0x10
Function at 0x585d10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x585d51
xor al, al
jmp 0x585df4
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x585d7d
xor al, al
jmp 0x585df4
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.005c5d80
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00536790
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0xc
Function at 0x586d50
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60db62
mov eax, dword fs:[0]
push eax
sub esp, 0x904
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x898], ecx
push 0x61b628
lea ecx, [ebp - 0x878]
call fcn.004ef370
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x860]
call fcn.004ef350
mov byte [ebp - 4], 1
push 0
push 0
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x894], eax
lea ecx, [ebp - 0x830]
push ecx
lea ecx, [ebp - 0x860]
call fcn.004ef4d0
push str..exe
push str.FlashHelperService
lea edx, [ebp - 0x910]
push edx
call fcn.004e4620
add esp, 4
mov dword [ebp - 0x884], eax
mov eax, dword [ebp - 0x884]
mov dword [ebp - 0x890], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x890]
call fcn.004ef850
push eax
push 0x61b668
lea ecx, [ebp - 0x848]
push ecx
call fcn.004e37f0
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x910]
call fcn.004ef480
lea ecx, [ebp - 0x878]
call fcn.004ef850
push eax
lea ecx, [ebp - 0x8c8]
call fcn.004ef370
mov byte [ebp - 4], 5
push str._shortcut
lea ecx, [ebp - 0x8b0]
call fcn.004ef370
mov byte [ebp - 4], 6
push 5
lea edx, [ebp - 0x8c8]
push edx
push 0
push 0
push 0x61b678
lea ecx, [ebp - 0x8f8]
call fcn.004ef370
mov dword [ebp - 0x87c], eax
mov eax, dword [ebp - 0x87c]
mov dword [ebp - 0x888], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x888]
push ecx
lea edx, [ebp - 0x878]
push edx
lea eax, [ebp - 0x8e0]
push eax
call fcn.00589570
add esp, 0xc
mov dword [ebp - 0x880], eax
mov ecx, dword [ebp - 0x880]
mov dword [ebp - 0x88c], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x88c]
push edx
lea eax, [ebp - 0x860]
push eax
lea ecx, [ebp - 0x848]
call fcn.004ef850
push eax
push 1
lea ecx, [ebp - 0x848]
push ecx
lea edx, [ebp - 0x8b0]
push edx
call fcn.004eadf0
add esp, 0x28
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8e0]
call fcn.004ef480
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8f8]
call fcn.004ef480
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8b0]
call fcn.004ef480
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c8]
call fcn.004ef480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.004ef480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x860]
call fcn.004ef480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x878]
call fcn.004ef480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret
Function at 0x587910
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
push 0x24
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.005c63d0
add esp, 0xc
mov dword [ebp - 0x28], 0x24
push 0
push 0x61b78c
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0x604
lea eax, [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret

Function at 0x58adc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0xa
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0055ab70
push 0xb
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0055ab70
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x58cf00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e388
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004ef320
mov dword [ebp - 4], 0
push 0x66dd94
lea ecx, [ebp - 0x28]
call fcn.004ef940
test eax, eax
je 0x58cfa7
push 0x619e94
lea ecx, [ebp - 0x28]
call fcn.004ef940
test eax, eax
je 0x58cfa7
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004ef850
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x20
jg 0x58cfa7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004ef320
mov dword [ebp - 0x48], eax
call fcn.004ebdd0
add esp, 0x18
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x58cfc8
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.004f64d0
mov dword [ebp - 0x34], eax
jmp 0x58cfcf
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ef480
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret 0x10