joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42640a
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x4554f0
call fcn.0043dfc3
cmp dword [ebp + 0x10], 0
je 0x42644f
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.0040215a
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.0040e8c7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4265a0
push eax
call fcn.0042a898
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov eax, dword [eax]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x426560
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45fe80
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x426544
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [edx], ecx
movzx ecx, word [eax + 8]
mov dword [ebx], ecx
movzx ecx, word [eax + 0xe]
mov dword [edi], ecx
movzx eax, word [eax + 0xc]
mov dword [esi], eax
call fcn.0042a88d
cmp dword [ebp + 0x10], 0
pop ecx
je 0x42653c
call fcn.0042ac34
push eax
lea ecx, [ebp + 0x10]
call fcn.004104de
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.0040215a
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [esi]
push dword [edi]
push dword [ebx]
push dword [eax]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
push eax
call fcn.0040d841
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.0040ed4d
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x4265d7
cmp dword [ebp + 0x10], 0
je 0x426595
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov dword [ebp - 4], 3
jmp 0x42657a
cmp dword [ebp + 0x10], 0
je 0x426595
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.0040ed4d
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
call fcn.0042a88d
pop ecx
jmp 0x4265d5
cmp dword [ebp + 0x10], 0
je 0x4265d5
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.0040215a
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.0040ed4d
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043e09b
ret
Function at 0x426f7f
Capabilities:
Get common file path

Disassembly:
push 0x428
mov eax, 0x45546d
call fcn.0043e02c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x430], eax
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x424], ax
xor esi, esi
lea eax, [ebp - 0x422]
push esi
push eax
call fcn.0043c590
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, esi
jne 0x4270b8
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040215a
push str.Msi.dll
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], esi
call fcn.00408e18
xor eax, eax
push edi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.0043c590
add esp, 0xc
push esi
push esi
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x42c]
mov dword [ebp - 0x434], 0x104
call sub.msi.dll_MsiMessageBoxW
cmp eax, esi
jne 0x42707c
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x21c]
push eax
call fcn.00402123
push str.MSI_version:
lea ecx, [ebp - 0x428]
call fcn.0040215a
push esi
push dword [ebp - 0x430]
lea eax, [ebp - 0x428]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.0040e8c7
add esp, 0x10
jmp 0x4270a2
push str.Unable_to_determine_MSI_version
lea ecx, [ebp - 0x428]
call fcn.0040215a
push esi
lea eax, [ebp - 0x428]
push eax
push 1
mov byte [ebp - 4], 2
call fcn.0040ed4d
add esp, 0xc
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x42c]
jmp 0x4270e7
push str.SHGetFolderPath_in_GetMsiVersion_failed:
lea ecx, [ebp - 0x428]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x428]
push eax
push 1
mov dword [ebp - 4], 3
call fcn.0040ed4d
mov ecx, dword [ebp - 0x428]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
call fcn.0043e0af
ret
Function at 0x428d67
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x4550f5
call fcn.0043dfc3
push 4
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, 0x2722c
mov dword [ebp - 0x18], eax
cmp dword [0x48eac4], esi
je 0x428e6f
cmp eax, edi
je 0x428e6f
push 4
push str.MSIServer
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
add esi, 0x64
mov ebx, eax
cmp dword [0x48eac4], esi
je 0x428e2e
cmp ebx, edi
je 0x428e2e
lea eax, [ebp - 0x1c]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov esi, 0x27164
cmp dword [0x48eac4], esi
je 0x428de6
cmp eax, edi
je 0x428de6
cmp dword [ebp - 0x38], 4
jne 0x428e1c
inc edi
jmp 0x428e1c
push 0x47c1d4
lea ecx, [ebp - 0x10]
call fcn.0040215a
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ecx, eax
mov edx, 0x48eabc
call fcn.0040d172
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x18]
call esi
mov eax, edi
jmp 0x428ea3
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x14]
call fcn.0040215a
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov ecx, eax
mov edx, 0x48eabc
call fcn.0040d172
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x428ea1
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x18]
call fcn.0040215a
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x18]
push ecx
push esi
mov ecx, eax
mov edx, 0x48eabc
call fcn.0040d172
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043e09b
ret
Function at 0x4295ce
Capabilities:
Delete directory
Set file attributes

Disassembly:
push 0x28
mov eax, 0x455037
call fcn.0043dfc3
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x429727
cmp eax, 4
jb 0x429727
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040219e
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00408ca2
cmp eax, 0xffffffff
je 0x429648
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jne 0x429648
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408cc4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00408fde
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
push 0x4738b4
lea ecx, [ebp - 0x14]
call fcn.00408e18
lea ecx, [ebp - 0x34]
call fcn.004370f8
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x14]
push 0
push edi
lea ecx, [ebp - 0x34]
call fcn.00437190
test eax, eax
je 0x4296da
lea ecx, [ebp - 0x34]
call fcn.00436df8
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.004370b9
test eax, eax
jne 0x4296d6
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.004373bd
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
test eax, eax
je 0x4296bf
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.0040219e
call fcn.004295ce
pop ecx
jmp 0x4296c7
lea esi, [ebp - 0x18]
call fcn.00429735
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
test ebx, ebx
jne 0x429673
lea ecx, [ebp - 0x34]
call fcn.00436d12
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x429710
push 0x186a0
lea eax, [ebp + 8]
push eax
push 2
call fcn.0040ed4d
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00437121
lea ecx, [edi - 0x10]
call fcn.004025dc
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004025dc
call fcn.0043e09b
ret

Function at 0x429735
Capabilities:
Delete file
Set file attributes

Disassembly:
push ecx
mov eax, esi
call fcn.00401000
test eax, eax
je 0x42976a
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42976a
push 0x186a0
push esi
push 2
call fcn.0040ed4d
add esp, 0xc
pop ecx
ret
Function at 0x42993e
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x454fa9
call fcn.0043dfc3
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x18]
call fcn.004104de
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x10]
push 0x46002c
mov byte [ebp - 4], 2
call fcn.00408f4e
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x18]
push str.SELECT_Value_FROM_Property_WHERE_Property.Property_s
push eax
call fcn.004020ef
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x429997
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call sub.msi.dll_MsiEnumClientsA
mov edi, eax
cmp edi, esi
je 0x429a05
push 0x475dcc
lea ecx, [ebp + 0xc]
call fcn.0040215a
mov byte [ebp - 4], 3
push edi
lea eax, [ebp + 0xc]
push eax
push 2
call fcn.0040ed4d
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x14], esi
je 0x4299e8
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x4299f5
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004025dc
mov eax, edi
call fcn.0043e09b
ret
push esi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
je 0x429a27
push str.MsiViewExecute__
lea ecx, [ebp + 0xc]
call fcn.0040215a
mov byte [ebp - 4], 4
jmp 0x4299c1
cmp dword [ebp - 0x14], esi
je 0x429a34
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov edi, eax
cmp edi, esi
jne 0x4299db
push dword [ebp + 0x10]
push 1
push dword [ebp - 0x14]
call fcn.00429ad1
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x429ab5
push str.MsiGetRecordString__
lea ecx, [ebp + 0xc]
call fcn.0040215a
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040ed4d
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp - 0x14], esi
je 0x429a97
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x429aa4
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
lea ecx, [ebx - 0x10]
call fcn.004025dc
mov eax, esi
jmp 0x4299ff
cmp dword [ebp - 0x14], esi
je 0x429ac2
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x429aa6
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x429aa6
Function at 0x429db3
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x489d50]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor ebx, ebx
lea eax, [ebp - 0x72]
push ebx
push eax
mov edi, ecx
call fcn.0043c590
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.0043c590
add esp, 0x18
mov eax, 0x105
push eax
lea ecx, [ebp + 0x198]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x479130
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x429e66
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp ecx, 0x103
je 0x429e60
xor edx, edx
push 0xa
pop esi
div esi
mov dx, word [edx*2 + str.0123456789]
mov word [edi + ecx*2], dx
inc ecx
cmp eax, ebx
ja 0x429e40
xor eax, eax
mov word [edi + ecx*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x429e7c
push str.thsnYaVieBoda
call fcn.00423075
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b751
add ebp, 0x3a8
leave
ret
Function at 0x429e94
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x454ef5
call fcn.0043e02c
mov esi, edx
mov dword [ebp - 0x38], ecx
xor ebx, ebx
call fcn.0040234f
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0043c590
add esp, 0xc
push 8
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0043c590
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0043c590
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
call fcn.0040219e
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0040d133
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
mov ecx, 0x48e428
mov dword [ebp - 0x48], eax
call fcn.0040d133
mov dword [ebp - 0x3c], eax
mov eax, dword [0x48e428]
mov eax, dword [eax - 0xc]
shr eax, 1
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push str.Encrypted_by_Adobe.
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x429f8e
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
cmp dword [ebp - 0x30], ebx
jbe 0x429f80
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x38]
shr eax, 4
movzx eax, byte [ebp + eax - 0x24]
push eax
call fcn.004104c6
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x38]
and eax, 0xf
movzx eax, byte [ebp + eax - 0x24]
push eax
call fcn.004104c6
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x429f4a
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x429fbc
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x34]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.0040ed4d
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00408ef4
push 0xffffffffffffffff
mov ecx, 0x48e428
call fcn.00408ef4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, ebx
call fcn.0043e0af
ret
Function at 0x42a1e7
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push 0x14
mov eax, 0x45472a
call fcn.0043dfc3
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x14]
call fcn.004104de
xor edi, edi
push 0x48e96c
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00408fde
mov esi, 0x48e90c
mov eax, esi
call fcn.0040521a
test eax, eax
mov eax, str.ReaderReader_sl.exe
jne 0x42a22d
mov eax, str.AcrobatAcrobat_sl.exe
push eax
lea ecx, [ebp - 0x14]
call fcn.00408e18
mov eax, esi
call fcn.0040521a
test eax, eax
mov eax, str.Adobe_Reader_Speed_Launcher
jne 0x42a24b
mov eax, str.Adobe_Acrobat_Speed_Launcher
push eax
lea ecx, [ebp - 0x18]
call fcn.0040215a
mov byte [ebp - 4], 1
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x10]
call fcn.004104de
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00425091
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x42a2a4
lea eax, [ebp - 0x10]
push eax
call fcn.0042a6bf
push esi
lea ecx, [ebp - 0x10]
call fcn.00408d93
test eax, eax
je 0x42a2eb
push 5
push edi
push edi
push esi
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
mov eax, str.Unable_to_launch:
jl 0x42a2c0
mov eax, str.Launched:
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040215a
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.0040e8c7
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [esi - 0x10]
call fcn.004025dc
call fcn.0043e09b
ret
Function at 0x42c251
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x489d50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x42c2e9
push 0x459e4c
push 4
push eax
call fcn.0043d045
push eax
call fcn.00402258
add esp, 0x10
push ebx
push edi
call fcn.0043e15b
mov edi, dword [eax]
call fcn.0043e15b
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043d90d
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0043e15b
cmp dword [eax], ebx
je 0x42c300
call fcn.0043e15b
push dword [eax]
call fcn.0042a97e
pop ecx
jmp 0x42c307
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42c294
jmp 0x42c38e
call fcn.0043e15b
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x42c38a
cmp dword [ebp - 0x234], esi
jae 0x42c38a
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0043c590
add esp, 0xc
push 0x459bac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x42c379
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42c379
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42c379
push ebx
push ebx
push esi
jmp 0x42c382
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42c38c
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043b751
leave
ret

Function at 0x4359e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x435a30
call fcn.0042e325
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x435a30
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x435a4c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00435561
mov esi, eax
test edi, edi
je 0x435a4a
test ebx, ebx
je 0x435a4a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4366a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4366c8
cmp dword [edi + 0x54], 0
jne 0x4366c8
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042e325
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00436665
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43b751
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x489d50]
jne 0x43b75b
repz ret
jmp fcn.004431af

Function at 0x44d067
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00442b13
and dword [ebp - 4], 0
cmp dword [0x48e2d4], 0
mov ebx, eax
jne 0x44d118
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44d1c9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44d1c9
push eax
call fcn.00442aa1
mov dword [esp], 0x45cc08
push edi
mov dword [0x48e2d4], eax
call esi
push eax
call fcn.00442aa1
mov dword [esp], 0x45cbf4
push edi
mov dword [0x48e2d8], eax
call esi
push eax
call fcn.00442aa1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48e2dc], eax
call esi
push eax
call fcn.00442aa1
pop ecx
mov dword [0x48e2e4], eax
test eax, eax
je 0x44d118
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442aa1
pop ecx
mov dword [0x48e2e0], eax
mov eax, dword [0x48e2e0]
cmp eax, ebx
je 0x44d170
cmp dword [0x48e2e4], ebx
je 0x44d170
push eax
call fcn.00442b1c
push dword [0x48e2e4]
mov esi, eax
call fcn.00442b1c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44d170
test edi, edi
je 0x44d170
call esi
test eax, eax
je 0x44d167
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44d167
test byte [ebp - 0xc], 1
jne 0x44d170
or dword [ebp + 0x10], 0x200000
jmp 0x44d1a9
mov eax, dword [0x48e2d8]
cmp eax, ebx
je 0x44d1a9
push eax
call fcn.00442b1c
pop ecx
test eax, eax
je 0x44d1a9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44d1a9
mov eax, dword [0x48e2dc]
cmp eax, ebx
je 0x44d1a9
push eax
call fcn.00442b1c
pop ecx
test eax, eax
je 0x44d1a9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48e2d4]
call fcn.00442b1c
pop ecx
test eax, eax
je 0x44d1c9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44d1cb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret