joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fca4
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x45fcba
call fcn.00449ec2
call fcn.004366fe
push eax
lea ecx, [ebp - 0x10]
call fcn.00411d53
xor esi, esi
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0040166e
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040946d
cmp edi, esi
jne 0x42fd15
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004063a1
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.00406262
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
inc eax
jmp 0x42fd4f
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.0040130b
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.0040fcf3
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017c4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, esi
call fcn.00449f9a
ret

Function at 0x42fd55
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x462dee
call fcn.00449f2b
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x220], esi
cmp dword [ebp + 8], edi
je 0x42fd84
push 0x4a66e8
call fcn.004063a1
push 0x46de14
jmp 0x42fdcd
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.00448000
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, edi
jne 0x42fe39
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.0040137f
push str.AdobeARM1.0_
mov ecx, esi
call fcn.00406262
push 0x4a65b4
mov ecx, esi
call fcn.00401115
mov esi, dword [esi]
xor ebx, ebx
or edi, 0xffffffff
call fcn.0041e379
test eax, eax
je 0x42fe34
push dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push str.Not_found_or_not_valid:
push eax
call fcn.0040107c
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, esi
push 0x1fc98
mov ecx, eax
mov esi, 0x4a6aac
call fcn.0040e316
mov ecx, dword [ebp - 0x224]
jmp 0x42fe64
xor eax, eax
inc eax
jmp 0x42fe6e
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [ebp - 0x220]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x220]
push eax
push 1
mov dword [ebp - 4], edi
call fcn.0040fcf3
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
call fcn.00449fae
ret
Function at 0x42fe74
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x45fc8f
call fcn.00449ec2
cmp dword [ebp + 0x10], 0
je 0x42feb9
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.0040130b
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.0040f821
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
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 0x43000a
push eax
call fcn.00436333
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 0x42ffca
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x46de14
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x42ffae
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.0043633e
cmp dword [ebp + 0x10], 0
pop ecx
je 0x42ffa6
call fcn.004366fe
push eax
lea ecx, [ebp + 0x10]
call fcn.00411d53
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.0040130b
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.0040e9cd
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.0040fcf3
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
inc eax
jmp 0x430041
cmp dword [ebp + 0x10], 0
je 0x42ffff
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040130b
mov dword [ebp - 4], 3
jmp 0x42ffe4
cmp dword [ebp + 0x10], 0
je 0x42ffff
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040130b
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.0040fcf3
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push dword [ebp - 0x10]
call fcn.0043633e
pop ecx
jmp 0x43003f
cmp dword [ebp + 0x10], 0
je 0x43003f
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.0040130b
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.0040fcf3
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
call fcn.00449f9a
ret
Function at 0x432b94
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x45f7f8
call fcn.00449ec2
xor esi, esi
push 4
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
jne 0x432bf3
push str.OpenSCManager_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x10]
call fcn.0040130b
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.0040fcf3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
call fcn.00432cc7
jmp 0x432cc1
push 4
push str.MSIServer
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x432c48
push str.OpenService_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x10]
call fcn.0040130b
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.0040fcf3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x432be9
lea eax, [ebp - 0x18]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp eax, esi
jne 0x432ca5
push str.QueryServiceStatusEx_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x14]
call fcn.0040130b
push 2
pop esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0040fcf3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
jmp 0x432be9
cmp dword [ebp - 0x34], 4
jne 0x432cb2
mov dword [ebp - 0x14], 1
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 0x14]
call fcn.00449f9a
ret

Function at 0x432cc7
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.Global_MSIExecute
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x432ce8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x432ce4
xor eax, eax
ret
Function at 0x43360a
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
push 0x28
mov eax, 0x45f734
call fcn.00449ec2
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x43376a
cmp eax, 4
jb 0x43376a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040134f
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00407707
cmp eax, 0xffffffff
je 0x433684
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jne 0x433684
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407796
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004063a1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017c4
push 0x48615c
lea ecx, [ebp - 0x14]
call fcn.00406262
lea ecx, [ebp - 0x34]
call fcn.00442b8e
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x14]
push 0
push edi
lea ecx, [ebp - 0x34]
call fcn.00442c26
test eax, eax
je 0x433716
lea ecx, [ebp - 0x34]
call fcn.00442923
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.00442b4f
test eax, eax
jne 0x433712
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00442e53
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
test eax, eax
je 0x4336fb
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.0040134f
call fcn.0043360a
pop ecx
jmp 0x433703
lea esi, [ebp - 0x18]
call fcn.00433778
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017c4
test ebx, ebx
jne 0x4336af
lea ecx, [ebp - 0x34]
call fcn.0044283d
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 0x433753
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x433753
push eax
lea eax, [ebp + 8]
push eax
push 2
call fcn.0040fcf3
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00442bb7
lea ecx, [edi - 0x10]
call fcn.004017c4
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017c4
call fcn.00449f9a
ret

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

Disassembly:
push ecx
mov eax, esi
call fcn.00401000
test eax, eax
je 0x4337b4
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 0x4337b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4337b4
push eax
push esi
push 2
call fcn.0040fcf3
add esp, 0xc
pop ecx
ret
Function at 0x433c79
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x45f6f1
call fcn.00449ec2
call fcn.004366fe
push eax
lea ecx, [ebp - 0x18]
call fcn.00411d53
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x10]
push 0x46d22c
mov byte [ebp - 4], 2
call fcn.00406311
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.004012d7
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x433cd2
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 0x433d40
push str.MsiDatabaseOpenView__
lea ecx, [ebp + 0xc]
call fcn.0040130b
mov byte [ebp - 4], 3
push edi
lea eax, [ebp + 0xc]
push eax
push 2
call fcn.0040fcf3
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [ebp - 0x14], esi
je 0x433d23
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x433d30
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004017c4
mov eax, edi
call fcn.00449f9a
ret
push esi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
je 0x433d62
push str.MsiViewExecute__
lea ecx, [ebp + 0xc]
call fcn.0040130b
mov byte [ebp - 4], 4
jmp 0x433cfc
cmp dword [ebp - 0x14], esi
je 0x433d6f
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 0x433d16
push dword [ebp + 0x10]
push 1
push dword [ebp - 0x14]
call fcn.00433e0c
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x433df0
push str.MsiGetRecordString__
lea ecx, [ebp + 0xc]
call fcn.0040130b
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040fcf3
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [ebp - 0x14], esi
je 0x433dd2
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x433ddf
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
lea ecx, [ebx - 0x10]
call fcn.004017c4
mov eax, esi
jmp 0x433d3a
cmp dword [ebp - 0x14], esi
je 0x433dfd
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x433de1
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x433de1
Function at 0x4340ee
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4a1d50]
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.00448000
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.00448000
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 0x48e1f8
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 0x4341a1
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp ecx, 0x103
je 0x43419b
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 0x43417b
xor eax, eax
mov word [edi + ecx*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4341bc
push str.thsnYaVieBoda
push 0x104
call fcn.004104c5
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004472d5
add ebp, 0x3a8
leave
ret
Function at 0x4341d4
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x45f63d
call fcn.00449f2b
mov esi, edx
mov dword [ebp - 0x38], ecx
xor ebx, ebx
call fcn.00401556
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00448000
add esp, 0xc
push 8
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00448000
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00448000
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
call fcn.0040134f
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0040e2d3
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
mov ecx, 0x4a65d0
mov dword [ebp - 0x48], eax
call fcn.0040e2d3
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4a65d0]
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 0x4342ce
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 0x4342c0
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.00436149
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.00436149
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x43428a
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4342fc
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x34]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.0040fcf3
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.0040946d
push 0xffffffffffffffff
mov ecx, 0x4a65d0
call fcn.0040946d
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, ebx
call fcn.00449fae
ret
Function at 0x435bf4
Capabilities:
Set registry value

Disassembly:
push 0x224
mov eax, 0x45f4fb
call fcn.00449f2b
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.00448000
add esp, 0xc
push 0xa
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x228]
call fcn.0044881a
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040130b
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], esi
call fcn.0040130b
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.0040f821
mov ecx, dword [ebp - 0x230]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp - 0x224]
push eax
mov edi, 0x46c0b0
push edi
mov esi, 0x80000001
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 0x435d53
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 0x435d8a
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.0040130b
push 2
pop eax
push edi
lea ecx, [ebp - 0x220]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0040fcf3
mov ecx, dword [ebp - 0x220]
jmp 0x435d7f
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x22c]
call fcn.0040130b
push edi
lea eax, [ebp - 0x22c]
push eax
push 2
mov dword [ebp - 4], 3
call fcn.0040fcf3
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
call fcn.00449fae
ret
Function at 0x437d31
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4a1d50]
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 0x437dc9
push 0x466e8c
push 4
push eax
call fcn.00448ce8
push eax
call fcn.00401440
add esp, 0x10
push ebx
push edi
call fcn.0044a05a
mov edi, dword [eax]
call fcn.0044a05a
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.00449545
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0044a05a
cmp dword [eax], ebx
je 0x437de0
call fcn.0044a05a
push dword [eax]
call fcn.00436448
pop ecx
jmp 0x437de7
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x437d74
jmp 0x437e6e
call fcn.0044a05a
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x437e6a
cmp dword [ebp - 0x234], esi
jae 0x437e6a
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.00448000
add esp, 0xc
push 0x466bec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x437e59
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x437e59
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x437e59
push ebx
push ebx
push esi
jmp 0x437e62
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x437e6c
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004472d5
leave
ret

Function at 0x440b35
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 0x440b7c
call fcn.004416c5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x440b7c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x440b98
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004406ad
mov esi, eax
test edi, edi
je 0x440b96
test ebx, ebx
je 0x440b96
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4