joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44254b
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xc
mov eax, 0x479ab9
call fcn.0045be74
mov esi, ecx
mov eax, esi
call fcn.00401000
test eax, eax
je 0x44260f
push str.ArmUI.ini
xor ecx, ecx
call fcn.0040ad24
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
je 0x4425e3
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.GlobalPdfOnershipInProcessEvent
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4425e3
call edi
push dword [ebp - 0x14]
cmp eax, 0xb7
sete byte [ebp - 0xd]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x4425e3
push str.pdf_ownership_takeover_in_process__will_not_cleanup_ArmUI.ini_file
lea ecx, [ebp - 0x14]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.004152d1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x44260f
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 0x44260f
call edi
cmp eax, 2
je 0x44260f
push eax
push esi
push 2
call fcn.004152d1
add esp, 0xc
call fcn.0045bf4c
ret

Function at 0x442615
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x442654
mov eax, dword [esp + 4]
cmp dword [eax], 0
jne 0x44262d
mov ecx, esi
jmp fcn.0044254b
mov eax, esi
call fcn.00401000
test eax, eax
je 0x442654
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x44264c
push 0x4acb10
mov ecx, ebx
call fcn.0040af5f
push esi
mov ecx, ebx
call fcn.00401ec7
ret
Function at 0x442b08
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x4739c3
call fcn.0045be74
call fcn.0044825c
push eax
lea ecx, [ebp - 0x18]
call fcn.0041872d
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x10]
push 0x483434
mov byte [ebp - 4], 2
call fcn.0040b081
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.00402086
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x442b61
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 0x442bcf
push str.MsiDatabaseOpenView__
lea ecx, [ebp + 0xc]
call fcn.004020a6
mov byte [ebp - 4], 3
push edi
lea eax, [ebp + 0xc]
push eax
push 2
call fcn.004152d1
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebp - 0x14], esi
je 0x442bb2
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x442bbf
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004025d2
mov eax, edi
call fcn.0045bf4c
ret
push esi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
je 0x442bf1
push str.MsiViewExecute__
lea ecx, [ebp + 0xc]
call fcn.004020a6
mov byte [ebp - 4], 4
jmp 0x442b8b
cmp dword [ebp - 0x14], esi
je 0x442bfe
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 0x442ba5
push dword [ebp + 0x10]
push 1
push dword [ebp - 0x14]
call fcn.00442c9b
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x442c7f
push str.MsiGetRecordString__
lea ecx, [ebp + 0xc]
call fcn.004020a6
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.004152d1
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebp - 0x14], esi
je 0x442c61
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x442c6e
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
lea ecx, [ebx - 0x10]
call fcn.004025d2
mov eax, esi
jmp 0x442bc9
cmp dword [ebp - 0x14], esi
je 0x442c8c
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x442c70
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x442c70
Function at 0x442f80
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4bfd60]
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.00459cf0
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.00459cf0
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 0x4a81b8
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 0x443033
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp ecx, 0x103
je 0x44302d
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 0x44300d
xor eax, eax
mov word [edi + ecx*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x44304e
push str.thsnYaVieBoda
push 0x104
call fcn.00416b1e
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458e0e
add ebp, 0x3a8
leave
ret
Function at 0x443066
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x47390f
call fcn.0045bedd
mov esi, edx
mov dword [ebp - 0x38], ecx
xor ebx, ebx
call fcn.00402305
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00459cf0
add esp, 0xc
push 8
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00459cf0
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00459cf0
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
call fcn.004020ea
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.004137b1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
mov ecx, 0x4c46a8
mov dword [ebp - 0x48], eax
call fcn.004137b1
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4c46a8]
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 0x443160
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 0x443152
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.00446399
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.00446399
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x44311c
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x44318e
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x34]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.004152d1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b00b
push 0xffffffffffffffff
mov ecx, 0x4c46a8
call fcn.0040b00b
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, ebx
call fcn.0045bf60
ret
Function at 0x443bd6
Capabilities:
Get common file path

Disassembly:
push 0x42c
mov eax, 0x473824
call fcn.0045bedd
test byte [0x4c4c70], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x434], eax
mov esi, 0x4c4c6c
jne 0x443c24
or dword [0x4c4c70], 1
call fcn.0044825c
push eax
mov ecx, esi
call fcn.0041872d
push 0x47a778
call fcn.00459c2c
pop ecx
mov eax, dword [0x4c4c6c]
mov eax, dword [eax - 0xc]
xor edi, edi
cmp eax, edi
jne 0x443d44
call fcn.0044825c
push eax
lea ecx, [ebp - 0x428]
call fcn.0041872d
xor eax, eax
mov ebx, 0x206
mov dword [ebp - 4], edi
push ebx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00459cf0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x42c], eax
cmp eax, edi
jne 0x443da3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.0040211a
push str.AdobeARM1.0_armsvc.exe
lea ecx, [ebp - 0x428]
call fcn.0040af5f
xor eax, eax
push ebx
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.00459cf0
mov ebx, dword [ebp - 0x428]
add esp, 0xc
push edi
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
mov dword [ebp - 0x430], 0x104
call sub.msi.dll_MsiMessageBoxW
mov dword [ebp - 0x42c], eax
cmp eax, edi
jne 0x443d67
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
call fcn.0040211a
push str.found_service_version:
lea ecx, [ebp - 0x424]
call fcn.004020a6
push edi
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00414e01
mov ecx, dword [ebp - 0x424]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.004025d2
push dword [ebp - 0x438]
push esi
call fcn.0043eaaa
pop ecx
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x434]
setne al
mov byte [ecx], al
xor eax, eax
call fcn.0045bf60
ret
push str.unable_to_determine_service_version:
lea ecx, [ebp - 0x424]
call fcn.004020a6
mov esi, dword [ebp - 0x42c]
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.004152d1
mov ecx, dword [ebp - 0x424]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x443de3
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x424]
call fcn.004020a6
mov esi, dword [ebp - 0x42c]
push esi
lea eax, [ebp - 0x424]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.004152d1
mov ecx, dword [ebp - 0x424]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ebx, dword [ebp - 0x428]
lea ecx, [ebx - 0x10]
call fcn.004025d2
mov eax, esi
jmp 0x443d61
Function at 0x444bad
Capabilities:
Set registry value

Disassembly:
push 0x224
mov eax, 0x4737d0
call fcn.0045bedd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x228], eax
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
xor esi, esi
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.00459cf0
add esp, 0xc
push 0xa
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x228]
call fcn.0045a485
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004020a6
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], esi
call fcn.004020a6
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.00414e01
mov ecx, dword [ebp - 0x230]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [ebp - 0x224]
push eax
mov edi, str.SOFTWAREAdobeAdobe_ARM1.0ARM
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x224]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x224]
push eax
push 0xf003f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
cmp eax, edi
jne 0x444d0c
push 4
lea eax, [ebp - 0x228]
push eax
push 4
push edi
push str.iNotify
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x224]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x224]
call ebx
cmp esi, edi
je 0x444d43
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.004020a6
push 2
pop eax
push edi
lea ecx, [ebp - 0x220]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.004152d1
mov ecx, dword [ebp - 0x220]
jmp 0x444d38
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x22c]
call fcn.004020a6
push edi
lea eax, [ebp - 0x22c]
push eax
push 2
mov dword [ebp - 4], 3
call fcn.004152d1
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.0045bf60
ret
Function at 0x446166
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x476a1b
call fcn.0045bedd
push str.CleanupUpgradeCache...
lea ecx, [ebp - 0x220]
call fcn.004020a6
xor esi, esi
push esi
lea eax, [ebp - 0x220]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, esi
jge 0x446207
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x220]
call fcn.004020a6
push edi
lea eax, [ebp - 0x220]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.004152d1
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, edi
jmp 0x44629e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.004020a6
push 0x4c485c
lea eax, [ebp - 0x228]
push str.AdobeARMUpgradeCache_
push eax
mov dword [ebp - 4], 2
call fcn.00401e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.00401ec7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004025d2
push esi
push ecx
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], esp
mov ecx, esp
push eax
call fcn.004020ea
call fcn.004423ba
push dword [0x4c46d4]
push str.SOFTWAREAdobeAdobe_ARM1.0ARM
push SysReAllocString
call fcn.0043d48b
mov ecx, dword [ebp - 0x224]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
call fcn.0045bf60
ret
Function at 0x449c42
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4bfd60]
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 0x449cda
push 0x47bf8c
push 4
push eax
call fcn.0045a998
push eax
call fcn.004021ef
add esp, 0x10
push ebx
push edi
call fcn.0045c00c
mov edi, dword [eax]
call fcn.0045c00c
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.0045a7bb
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0045c00c
cmp dword [eax], ebx
je 0x449cf1
call fcn.0045c00c
push dword [eax]
call fcn.00447fa6
pop ecx
jmp 0x449cf8
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x449c85
jmp 0x449d7f
call fcn.0045c00c
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x449d7b
cmp dword [ebp - 0x234], esi
jae 0x449d7b
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.00459cf0
add esp, 0xc
push 0x47bcec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x449d6a
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x449d6a
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x449d6a
push ebx
push ebx
push esi
jmp 0x449d73
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x449d7d
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00458e0e
leave
ret

Function at 0x452d4c
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 0x452d93
call fcn.0045398f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x452d93
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x452daf
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004528c4
mov esi, eax
test edi, edi
je 0x452dad
test ebx, ebx
je 0x452dad
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x454498
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 0x4544bc
cmp dword [edi + 0x54], 0
jne 0x4544bc
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0045398f
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.00454459
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 0x458e0e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bfd60]
jne 0x458e18
repz ret
jmp fcn.00460cdf

Function at 0x46a690
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.00460643
and dword [ebp - 4], 0
cmp dword [0x4c43f0], 0
mov ebx, eax
jne 0x46a741
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46a7f2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46a7f2
push eax
call fcn.004605d1
mov dword [esp], 0x47ed98
push edi
mov dword [0x4c43f0], eax
call esi
push eax
call fcn.004605d1
mov dword [esp], 0x47ed84
push edi
mov dword [0x4c43f4], eax
call esi
push eax
call fcn.004605d1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c43f8], eax
call esi
push eax
call fcn.004605d1
pop ecx
mov dword [0x4c4400], eax
test eax, eax
je 0x46a741
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004605d1
pop ecx
mov dword [0x4c43fc], eax
mov eax, dword [0x4c43fc]
cmp eax, ebx
je 0x46a799
cmp dword [0x4c4400], ebx
je 0x46a799
push eax
call fcn.0046064c
push dword [0x4c4400]
mov esi, eax
call fcn.0046064c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46a799
test edi, edi
je 0x46a799
call esi
test eax, eax
je 0x46a790
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46a790
test byte [ebp - 0xc], 1
jne 0x46a799
or dword [ebp + 0x10], 0x200000
jmp 0x46a7d2
mov eax, dword [0x4c43f4]
cmp eax, ebx
je 0x46a7d2
push eax
call fcn.0046064c
pop ecx
test eax, eax
je 0x46a7d2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46a7d2
mov eax, dword [0x4c43f8]
cmp eax, ebx
je 0x46a7d2
push eax
call fcn.0046064c
pop ecx
test eax, eax
je 0x46a7d2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c43f0]
call fcn.0046064c
pop ecx
test eax, eax
je 0x46a7f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46a7f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403392
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push 0x400
call fcn.0040c5f0
mov dword [esp], eax
push dword [0x413b10]
push dword [0x413b10]
call fcn.0040c90d
lea eax, [esp + 8]
push eax
call fcn.0040f460
push dword [esp]
push 0
push 0x41201e
push dword [esp + 0x10]
call sub.KERNEL32.dll_GetTempFileNameA
push dword [0x413b10]
push dword [0x413b10]
push dword [esp + 8]
call fcn.0040c6a0
lea eax, [0x4135f0]
push eax
call fcn.0040f460
push dword [esp]
call fcn.0040c6f0
push dword [0x4135f0]
call fcn.0040c99c
push dword [0x4135f0]
call fcn.0040c9aa
push dword [0x413b10]
push dword [0x413b10]
call fcn.0040c845
lea eax, [0x413570]
push eax
call fcn.0040f460
push dword [esp + 0x14]
pop eax
call fcn.0040c610
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x40346b
mov edx, dword [0x4135f0]
push dword [0x413b10]
call fcn.0040f510
lea eax, [0x413570]
push eax
call fcn.0040f460
mov dword [esp + 0xc], 2
jmp 0x40347d
mov ebx, 1
cmp ebx, dword [esp]
jne 0x40347d
mov dword [esp + 0xc], 1
pop eax
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 8]
push ebx
pop eax
call fcn.0040c610
mov dword [0x4135ac], eax
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 8]
inc ebx
push ebx
pop eax
call fcn.0040c610
mov dword [0x4134b4], eax
mov eax, 1
jmp 0x4034b0
push dword [esp + 4]
call fcn.0040f570
add esp, 0xc
pop ebx
ret 4
Function at 0x403bc2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x403bc8
lea eax, [esp]
push eax
call sub.KERNEL32.dll_GetNativeSystemInfo
lea ebp, [esp]
cmp word [ebp], 0
je 0x403bef
mov eax, 1
jmp 0x403bf1
xor eax, eax
add esp, 0x24
pop ebp
ret

Function at 0x403bf6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x403bfc
mov edx, dword [esp + 0x30]
lea ecx, [esp]
call fcn.00405060
push 0x21
call fcn.0040c5f0
mov dword [esp + 4], eax
push 0x21
push dword [esp + 8]
call fcn.0040c740
push 0x20
push dword [esp + 8]
mov eax, dword [0x41360c]
push eax
call fcn.0040c760
push 1
push dword [esp + 4]
mov ebx, dword [esp + 0xc]
add ebx, 0x20
push ebx
call fcn.0040c790
push dword [0x413b10]
push dword [0x413b10]
push dword [0x413b10]
push dword [0x413b10]
push 0x21
push dword [esp + 0x18]
call fcn.0040dcb0
mov edx, dword [0x412320]
add dword [esp], edx
call fcn.00405a70
lea eax, [esp + 0xc]
push eax
call fcn.0040f460
push dword [esp + 4]
call fcn.0040c6f0
push 0xa
push dword [esp + 0xc]
push dword [esp + 0x34]
call sub.KERNEL32.dll_FindResourceA
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x403de1
push dword [esp + 0xc]
push dword [esp + 0x30]
call sub.KERNEL32.dll_LoadResource
mov dword [0x4134b8], eax
push dword [esp + 0xc]
push dword [esp + 0x30]
call sub.KERNEL32.dll_SizeofResource
mov dword [0x4134cc], eax
push dword [esp]
mov edx, 0x412027
pop ecx
call fcn.0040f4e0
jne 0x403d29
push dword [esp]
mov edx, 0x41202b
pop ecx
call fcn.0040f4e0
jne 0x403d29
push dword [esp]
mov edx, 0x41202d
pop ecx
call fcn.0040f4e0
jne 0x403d29
push dword [esp]
mov edx, 0x412035
pop ecx
call fcn.0040f4e0
jne 0x403d29
jmp 0x403d30
mov eax, 1
jmp 0x403d32
xor eax, eax
and eax, eax
je 0x403de1
push dword [0x4134cc]
call fcn.0040c5f0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov ebx, dword [0x4134cc]
dec ebx
cmp ebx, dword [esp + 0x14]
jl 0x403d97
mov ebx, dword [0x4134b8]
add ebx, dword [esp + 0x14]
push ebx
pop eax
call fcn.0040c610
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
imul ebx, ebx, 0xffffffff
mov dword [esp + 0x1c], ebx
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 0x18]
push ebx
pop eax
call fcn.0040c620
inc dword [esp + 0x14]
jno 0x403d51
push dword [0x41360c]
push dword [0x4134cc]
push dword [esp + 0x18]
call fcn.00403000
push dword [esp + 0x10]
pop eax
mov dword [0x4134b8], eax
push dword [0x4134cc]
push dword [esp + 0x14]
call fcn.0040417a
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
pop eax
mov dword [0x4134b8], eax
push dword [esp + 0x20]
call fcn.0040c7d0
mov dword [0x4134cc], eax
mov eax, dword [esp + 0xc]
jmp 0x403de9
push dword [esp + 8]
call fcn.0040f570
push dword [esp]
call fcn.0040f570
add esp, 0x24
pop ebx
ret 8