joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ba745
Capabilities:
Terminate process
Write file on windows

Disassembly:
push 0x40
mov eax, 0x65778f
call fcn.00628f7d
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], ebx
call fcn.005b9daa
push eax
lea eax, [ebp - 0x28]
push str..pipe_
push eax
call fcn.005a0eb7
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.005ba392
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.00449330
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5ba7c5
push ebx
lea eax, [ebp - 0x4c]
mov edi, str.__quit_application
push eax
push edi
call fcn.0062fbc0
pop ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.005b7f91
mov esi, eax
test esi, esi
je 0x5ba8c2
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2710
push esi
call edi
test eax, eax
je 0x5ba91d
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x5ba8c8
push 0x2710
push esi
call edi
test eax, eax
je 0x5ba8c2
cmp eax, 0x102
je 0x5ba8a8
cmp eax, 0xffffffff
je 0x5ba845
mov esi, str.WaitForSingleObject_unknown_error
push esi
call fcn.0062fbc0
pop ecx
push eax
push esi
mov ecx, 0x70d09c
call fcn.00448f70
call fcn.005b7f91
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x5ba91f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005ba47c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push str.WaitForSingleObject_failed:
push eax
call fcn.005a0e81
mov edi, eax
mov esi, 0x70d09c
add esp, 0x14
cmp edi, esi
je 0x5ba888
mov ecx, esi
call fcn.00449330
push edi
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x40]
call fcn.00449330
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00449330
call fcn.005b7f91
neg eax
sbb al, al
inc al
jmp 0x5ba8c4
mov esi, str.WaitForSingleObject_timed_out
push esi
call fcn.0062fbc0
pop ecx
push eax
push esi
mov ecx, 0x70d09c
call fcn.00448f70
jmp 0x5ba89b
mov al, 1
mov bl, al
jmp 0x5ba91f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005ba47c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push str.TerminateProcess_failed:
push eax
call fcn.005a0e81
mov edi, eax
mov esi, 0x70d09c
add esp, 0x14
cmp edi, esi
je 0x5ba90b
mov ecx, esi
call fcn.00449330
push edi
mov ecx, esi
call fcn.00449550
lea ecx, [ebp - 0x40]
call fcn.00449330
lea ecx, [ebp - 0x28]
call fcn.00449330
jmp 0x5ba91f
mov bl, 1
cmp dword [ebp - 0x48], 0
je 0x5ba92e
push dword [ebp - 0x48]
call fcn.0062fb07
pop ecx
mov al, bl
call fcn.00628f2c
ret
Function at 0x5ba936
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x6577c6
call fcn.00628f7d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x7139d4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x71332c]
cmp eax, dword [ecx + 4]
jg 0x5baaac
cmp dword [0x70d1fc], 0
mov edi, 0x70d1ec
jne 0x5baaa4
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.005bb0b4
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x5baa12
mov eax, dword [0x70d200]
cmp eax, 0x10
jb 0x5ba9f2
mov ecx, dword [0x70d1ec]
inc eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x250], ecx
cmp eax, 0x1000
jb 0x5ba9e9
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x24c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x250]
push eax
push ecx
call fcn.00628ef7
pop ecx
pop ecx
and dword [0x70d1fc], 0
mov ecx, edi
push esi
mov dword [0x70d200], 0xf
mov byte [0x70d1ec], 0
call fcn.00449550
lea ecx, [ebp - 0x230]
call fcn.00449330
mov ecx, dword [0x70d1fc]
test ecx, ecx
je 0x5baa66
mov edx, dword [0x70d200]
mov eax, edi
mov esi, dword [0x70d1ec]
cmp edx, 0x10
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x2f
je 0x5baa66
cmp edx, 0x10
mov eax, edi
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x5baa66
mov esi, 0x6d7474
push esi
call fcn.0062fbc0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00449070
push str._installer_tmp_
call fcn.005b9f68
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.005a615f
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5baa8e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00449070
lea ecx, [ebp - 0x248]
call fcn.00449330
mov eax, edi
call fcn.00628f2c
ret
mov esi, 0x71332c
push esi
call fcn.006291ba
cmp dword [0x71332c], 0xffffffff
pop ecx
jne 0x5ba965
push 0x65bdb4
call fcn.006295ef
push esi
call fcn.00629170
pop ecx
pop ecx
jmp 0x5ba965
Function at 0x5bab1f
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x657107
call fcn.00628f7d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x7139d4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7132fc]
cmp eax, dword [ecx + 4]
jg 0x5bac2d
cmp dword [0x70d124], 0
mov ebx, 0x70d114
jne 0x5bac25
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.0062fb22
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
push 1
push 0x10
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005bb0b4
push 0x6d7474
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005a0e4e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x5bac0a
mov eax, dword [0x70d128]
cmp eax, 0x10
jb 0x5babea
mov ecx, dword [0x70d114]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x5babe1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.00628ef7
pop ecx
pop ecx
and dword [0x70d124], 0
mov ecx, ebx
push edi
mov dword [0x70d128], 0xf
mov byte [0x70d114], 0
call fcn.00449550
lea ecx, [ebp - 0x28]
call fcn.00449330
lea ecx, [ebp - 0x40]
call fcn.00449330
test esi, esi
je 0x5bac25
push esi
call fcn.0062fb07
pop ecx
mov eax, ebx
call fcn.00628f2c
ret
mov esi, 0x7132fc
push esi
call fcn.006291ba
cmp dword [0x7132fc], 0xffffffff
pop ecx
jne 0x5bab4b
push 0x65bdbe
call fcn.006295ef
push esi
call fcn.00629170
pop ecx
pop ecx
jmp 0x5bab4b
Function at 0x5bad82
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x657107
call fcn.00628f7d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x7139d4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x713300]
cmp eax, dword [ecx + 4]
jg 0x5bae90
cmp dword [0x70d13c], 0
mov ebx, 0x70d12c
jne 0x5bae88
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.0062fb22
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
push 1
push 2
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005bb0b4
push 0x6d7474
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005a0e4e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x5bae6d
mov eax, dword [0x70d140]
cmp eax, 0x10
jb 0x5bae4d
mov ecx, dword [0x70d12c]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x5bae44
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00447b40
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.00628ef7
pop ecx
pop ecx
and dword [0x70d13c], 0
mov ecx, ebx
push edi
mov dword [0x70d140], 0xf
mov byte [0x70d12c], 0
call fcn.00449550
lea ecx, [ebp - 0x28]
call fcn.00449330
lea ecx, [ebp - 0x40]
call fcn.00449330
test esi, esi
je 0x5bae88
push esi
call fcn.0062fb07
pop ecx
mov eax, ebx
call fcn.00628f2c
ret
mov esi, 0x713300
push esi
call fcn.006291ba
cmp dword [0x713300], 0xffffffff
pop ecx
jne 0x5badae
push 0x65bdd2
call fcn.006295ef
push esi
call fcn.00629170
pop ecx
pop ecx
jmp 0x5badae
Function at 0x5bc5be
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x3c
mov eax, 0x657ad2
call fcn.00628f7d
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0x1c]
inc ebx
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x2c]
push eax
push 0x675b64
push ebx
push 0
push 0x675ba4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x5bc60d
xor al, al
jmp 0x5bc78a
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
call fcn.005ba392
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x5bc777
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call fcn.005ba392
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x5bc777
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.005ba392
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x5bc777
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x48]
call fcn.005ba392
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x5bc777
mov eax, dword [ebp - 0x2c]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x5bc777
cmp dword [edi + 0x10], 0
je 0x5bc6dd
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.005ba392
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
push dword [ebp + 0x24]
mov ecx, dword [eax]
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x44]
test eax, eax
js 0x5bc777
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x38]
push edx
push 0x675b94
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x5bc777
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x5bc700
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edi, str..lnk
add eax, 0xfffffffc
add eax, ecx
push edi
push eax
call fcn.0063f55c
pop ecx
pop ecx
test eax, eax
jne 0x5bc728
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.005ba392
pop ecx
pop ecx
jmp 0x5bc752
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005a615f
lea eax, [ebp - 0x34]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005ba392
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00449330
mov eax, dword [ebp - 0x38]
push ebx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x5bc777
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x5bc779
xor bl, bl
cmp dword [ebp - 0x34], 0
je 0x5bc788
push dword [ebp - 0x34]
call fcn.0062fb07
pop ecx
mov al, bl
call fcn.00628f2c
ret
Function at 0x5bc87d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xbc
mov eax, 0x657b99
call fcn.00628f7d
mov edi, dword [ebp + 8]
call fcn.005c2b64
cmp dword [eax + 0x978], 6
jae 0x5bc8e1
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfileAuthorizedApplicationsList
lea ecx, [ebp - 0x28]
call fcn.00449380
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push edi
push eax
lea eax, [ebp - 0x40]
push reloc.WS2_32.dll_bind
push eax
call fcn.005b947a
add esp, 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [eax + 0x10]
call fcn.00449330
lea ecx, [ebp - 0x28]
call fcn.00449330
test esi, esi
setne al
jmp 0x5bcac1
and dword [ebp - 0xa8], 0
mov esi, 0x7d0
push esi
push 0
xor bh, bh
mov dword [ebp - 0xa4], 0x3e8
call fcn.0062fb22
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
push str.SYSTEMCurrentControlSet_servicesSharedAccessParametersFirewallPolicyFirewallRules
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00449380
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005ba392
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00449330
lea eax, [ebp - 0xb4]
push eax
push 0x20019
push 0
push dword [ebp - 0xa8]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5bcaaa
push esi
push eax
mov dword [ebp - 0xc4], 0x3e8
call fcn.0062fb22
mov esi, eax
mov dword [ebp - 0xc8], esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push edi
push eax
call fcn.005b51b6
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push 0x6662c0
push eax
call fcn.005a0e81
add esp, 0x1c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00449330
xor edi, edi
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xac]
push eax
push esi
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xac], 0x3e8
push eax
push 0
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xa8]
push edi
push dword [ebp - 0xb4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x5bca87
cmp dword [ebp - 0xb8], 1
jne 0x5bca8e
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.005bb0b4
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x5bca21
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0xa0]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x58]
push eax
call fcn.005b0723
mov ecx, 0x70e30c
mov byte [ebp - 4], 8
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.00448200
lea ecx, [ebp - 0xa0]
mov bl, al
call fcn.00447c20
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00449330
test bl, bl
je 0x5bca8e
mov bh, 1
jmp 0x5bca8e
cmp eax, 0x103
je 0x5bca97
inc edi
test bh, bh
je 0x5bc9b1
lea ecx, [ebp - 0x58]
call fcn.00449330
test esi, esi
je 0x5bcaaa
push esi
call fcn.0062fb07
pop ecx
cmp dword [ebp - 0xa8], 0
je 0x5bcabf
push dword [ebp - 0xa8]
call fcn.0062fb07
pop ecx
mov al, bh
call fcn.00628f2c
ret
Function at 0x5bcac7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
xor esi, esi
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.0062c160
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5bcb46
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
jne 0x5bcb2c
cmp dword [ebp - 0x218], edi
jne 0x5bcb3f
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5bcb1c
jmp 0x5bcb45
mov esi, dword [ebp - 0x218]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00628f0a
leave
ret

Function at 0x5bce28
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x5bce65
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x5bce5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5bce6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x5bce8b
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0x428
mov eax, 0x657c23
call fcn.00628f7d
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
push str._tmp__d.tmp
mov dword [ebp - 4], ebx
call fcn.005b9f68
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005a615f
mov esi, eax
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x5bced2
mov esi, dword [esi]
call fcn.00635654
push eax
lea eax, [ebp - 0x3f8]
push esi
push eax
call fcn.0051cfa0
add esp, 0xc
lea ecx, [ebp - 0x410]
call fcn.00449330
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x428]
call fcn.00449380
push eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.005b3d7a
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 2
push ecx
push eax
call fcn.005ba392
add esp, 0x14
lea ecx, [ebp - 0x410]
call fcn.00449330
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], bl
call fcn.00449330
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5bcfa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005ba47c
pop ecx
pop ecx
mov esi, 0x70d09c
mov ecx, esi
call fcn.00449330
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00449550
lea ecx, [ebp - 0x410]
call fcn.00449330
jmp 0x5bd033
push str.test_data
call fcn.0062fbc0
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x434]
push eax
push esi
push str.test_data
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5bcfd3
cmp dword [ebp - 0x434], esi
je 0x5bd00f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005ba47c
pop ecx
pop ecx
mov esi, 0x70d09c
mov ecx, esi
call fcn.00449330
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00449550
lea ecx, [ebp - 0x410]
call fcn.00449330
jmp 0x5bd012
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x430]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
test eax, eax
jne 0x5bd033
push dword [ebp - 0x430]
call esi
cmp dword [ebp - 0x430], 0
je 0x5bd048
push dword [ebp - 0x430]
call fcn.0062fb07
pop ecx
mov al, bl
call fcn.00628f2c
ret
Function at 0x5bea2e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
xor ecx, ecx
push eax
push ecx
push esi
push 0x5beb65
push ecx
push ecx
mov dword [esi], vtable.Installer.0
mov dword [esi + 8], ecx
mov byte [esi + 0xc], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, esi
pop esi
leave
ret
Function at 0x5cc758
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x70d2c0]
cmp eax, 8
jne 0x5cc7f9
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
and eax, 0x1ff
cmp eax, 0x2b
ja 0x5cc7be
je 0x5cc7f1
cmp eax, 0x1f
ja 0x5cc7a1
je 0x5cc79d
dec eax
sub eax, 1
je 0x5cc7f1
sub eax, 8
je 0x5cc799
sub eax, 0xc
je 0x5cc794
sub eax, 3
jmp 0x5cc7eb
push 6
pop eax
jmp 0x5cc7f4
push 4
jmp 0x5cc796
push 2
jmp 0x5cc796
sub eax, 0x22
je 0x5cc7ba
sub eax, 1
je 0x5cc7f1
sub eax, 5
je 0x5cc7f1
dec eax
sub eax, 1
jne 0x5cc7ed
push 7
jmp 0x5cc796
push 5
jmp 0x5cc796
cmp eax, 0x42
ja 0x5cc7de
je 0x5cc7f1
sub eax, 0x2c
je 0x5cc7f1
sub eax, 0xb
je 0x5cc7f1
dec eax
sub eax, 1
je 0x5cc7da
sub eax, 6
jmp 0x5cc7eb
push 3
jmp 0x5cc796
sub eax, 0x43
je 0x5cc7f1
sub eax, 0x2a
je 0x5cc7f1
sub eax, 0x18
je 0x5cc7f1
xor eax, eax
jmp 0x5cc7f4
xor eax, eax
inc eax
mov dword [0x70d2c0], eax
ret
Function at 0x5d1d44
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x898]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0xc50], 1
xor eax, eax
pop esi
ret 0x10
Function at 0x5d2973
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x5d2995
push 5
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x5d299c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x10], 0x201
push ebx
mov ebx, ecx
jne 0x5d29d0
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x898]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [ebx + 0xc50], 0
jmp 0x5d2a14
mov eax, 0x205
cmp word [ebp + 0x10], ax
jne 0x5d2a14
and dword [ebp - 8], 0
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [ebp - 4]
mov esi, dword [ebx + 4]
push edi
push dword [ebp - 8]
call fcn.005d434b
pop ecx
pop ecx
push 0
push esi
push 0
push edi
push eax
push 4
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x5d6f69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x65b11c
call fcn.00628fe9
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x5d6fe6
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x5d6fe6
call fcn.005cea63
mov esi, eax
jmp 0x5d70bd
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x5d7009
call fcn.005cea63
jmp 0x5d70b0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x5d6fff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x5d7039
mov esi, 0x8007000e
jmp 0x5d70b2
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.005d61f5
jmp 0x5d705f
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x5d7032
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x5d6fff
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.005d6e22
mov esi, eax
test edi, edi
je 0x5d70bd
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x5d70d6
lea ecx, [ebp - 0x418]
call fcn.005d65f2
mov eax, esi
call fcn.00628f3b
ret 0x10