joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449347
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x4b4120
call fcn.0046ac08
mov ebx, ecx
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x44950b
cmp dword [eax - 0xc], 4
jb 0x44950b
add eax, 0xfffffff0
push eax
call main
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x5c
push esi
mov byte [ebp - 4], 1
call main
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x4493ce
sub ecx, esi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x4493ce
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
jne 0x4493ce
push ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call main
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call main
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x4ce99c
lea ecx, [ebp - 0x14]
call main
lea ecx, [ebp - 0x38]
call main
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
mov esi, dword [ebp - 0x14]
push 0
push esi
call main
test eax, eax
je 0x449494
lea ecx, [ebp - 0x38]
call fcn.00453bd0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], eax
call fcn.00453fc0
test eax, eax
jne 0x44948a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.00453ce0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
push 0x10
mov edi, dword [eax + 0x38]
mov ecx, edi
call dword [0x4b87e4]
lea ecx, [ebp - 0x38]
call edi
test eax, eax
je 0x449473
test ebx, ebx
je 0x449451
push 0
push ebx
lea ecx, [ebp - 0x10]
call main
cmp eax, 0xffffffff
jne 0x44947b
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
mov dword [ebp - 0x1c], edi
call main
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [edi], eax
call fcn.00449347
pop ecx
jmp 0x44947b
lea ecx, [ebp - 0x10]
call fcn.00449519
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x18], 0
jne 0x4493fd
lea ecx, [ebp - 0x38]
call fcn.004539c0
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 0x4494f8
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x4494f8
cmp edi, 3
je 0x4494f8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push str.Remove_Directory_failed_for:
push eax
call fcn.004023f1
push edi
push 2
mov edx, eax
mov byte [ebp - 4], 5
pop ecx
call fcn.004175da
mov ecx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x38]
call main
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.00402e64
call fcn.0046abd1
ret
Function at 0x449519
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xc
mov eax, 0x4ac240
call fcn.0046ac08
mov edi, ecx
push dword [edi]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4495f9
xor ebx, ebx
mov ecx, edi
push ebx
push str.ArmUI.ini
call main
cmp eax, 0xffffffff
je 0x4495a3
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 ebx, eax
test ebx, ebx
je 0x4495a3
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp esi, 0xb7
jne 0x4495a3
push str.pdf_ownership_takeover_in_process__will_not_cleanup_ArmUI.ini_file
lea ecx, [ebp - 0x10]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push 0
push 2
pop ecx
call fcn.004174f1
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x4495f1
push 0x80
push dword [edi]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push dword [edi]
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x4495f9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x4495f9
push edi
lea eax, [ebp - 0x14]
push str.Delete_file_failed_for:
push eax
call fcn.004023f1
add esp, 0xc
push esi
push 2
mov edx, eax
mov dword [ebp - 4], 1
pop ecx
call fcn.004175da
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046abd1
ret
Function at 0x449ab5
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x4b4260
call fcn.0046ac08
mov esi, edx
mov edi, ecx
call fcn.00450db1
push eax
lea ecx, [ebp - 0x18]
call main
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
push 0x4ceae6
mov byte [ebp - 4], 2
call main
push dword [esi]
lea eax, [ebp - 0x18]
push str.SELECT_Value_FROM_Property_WHERE_Property.Property_s
push eax
call main
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x449b10
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push esi
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov edi, eax
test edi, edi
je 0x449b3b
push str.MDOV_error:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 3
jmp 0x449ba9
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
mov edi, eax
test edi, edi
je 0x449b5e
push str.MVE_error:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x449ba9
cmp dword [ebp - 0x14], 0
je 0x449b6d
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
mov edi, eax
test edi, edi
jne 0x449bc1
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call main
mov edi, eax
pop ecx
test edi, edi
je 0x449bc3
push str.MGRS_error:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 5
push edi
push 2
lea edx, [ebp - 0x1c]
pop ecx
call fcn.004175da
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, edi
cmp dword [ebp - 0x14], 0
je 0x449bd2
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x449be1
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, ebx
call fcn.0046abd1
ret
Function at 0x449f97
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x4b42f0
call fcn.0046ac3c
mov eax, edx
mov dword [ebp - 0x38], eax
mov esi, ecx
mov ecx, eax
xor ebx, ebx
call fcn.00402a6b
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.004830a0
add esp, 0xc
lea eax, [ebp - 0x30]
push 8
push ebx
push eax
call fcn.004830a0
add esp, 0xc
lea eax, [ebp - 0x40]
push 8
push ebx
push eax
call fcn.004830a0
mov eax, dword [esi]
add esp, 0xc
sub eax, 0x10
push eax
call main
add eax, 0x10
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], ebx
cmp dword [eax - 4], 1
jle 0x44a009
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call main
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x48], eax
mov eax, dword [0x515e1c]
cmp dword [eax - 4], 1
jle 0x44a036
push dword [eax - 0xc]
mov ecx, 0x515e1c
call main
mov eax, dword [0x515e1c]
mov dword [ebp - 0x3c], eax
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 0x44a0c0
cmp dword [ebp - 0x30], 0
lea edi, [ebp - 0x24]
mov esi, str.0123456789ABCDEF
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]
jbe 0x44a0b2
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov ecx, esi
movzx eax, byte [eax + ebx]
shr eax, 4
movsx ax, byte [ebp + eax - 0x24]
movzx eax, ax
push eax
call main
mov eax, dword [ebp - 0x2c]
mov ecx, esi
movzx eax, byte [eax + ebx]
and eax, 0xf
movsx ax, byte [ebp + eax - 0x24]
movzx eax, ax
push eax
call main
inc ebx
cmp ebx, dword [ebp - 0x30]
jb 0x44a076
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.kernel32.dll_LocalFree]
jmp 0x44a0ec
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 1
push ebx
lea edx, [ebp - 0x34]
inc ecx
call fcn.004174f1
pop ecx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call main
push 0xffffffffffffffff
mov ecx, 0x515e1c
call main
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.0046abe6
ret
Function at 0x44a9c5
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x4b44dc
call fcn.0046ac3c
mov dword [ebp - 0x430], edx
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edi, 0x5164b4
mov ecx, dword [eax]
mov eax, dword [0x5164b0]
cmp eax, dword [ecx + 4]
jle 0x44aa2a
mov esi, 0x5164b0
push esi
call main
cmp dword [0x5164b0], 0xffffffff
pop ecx
jne 0x44aa2a
call fcn.00450db1
push eax
mov ecx, edi
call main
push 0x4b77e0
call main
pop ecx
push esi
call main
pop ecx
mov eax, dword [0x5164b4]
cmp dword [eax - 0xc], 0
jne 0x44ab38
call fcn.00450db1
push eax
lea ecx, [ebp - 0x428]
call main
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
mov dword [ebp - 4], esi
call fcn.004830a0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jne 0x44ab8a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call main
push str.AdobeARM1.0_armsvc.exe
lea ecx, [ebp - 0x428]
call main
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004830a0
add esp, 0xc
mov dword [ebp - 0x42c], 0x104
lea eax, [ebp - 0x42c]
push esi
push esi
mov esi, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.msi.dll_MsiMessageBoxW]
mov edi, eax
test edi, edi
jne 0x44ab56
lea eax, [ebp - 0x420]
mov edi, 0x5164b4
push eax
mov ecx, edi
call main
push str.found_service_version:
lea ecx, [ebp - 0x424]
call fcn.00402829
push 0
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 2
pop ecx
call fcn.00416dc0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00402e64
mov edx, ebx
mov ecx, edi
call main
mov ecx, dword [ebp - 0x430]
test eax, eax
setne al
mov byte [ecx], al
xor eax, eax
call fcn.0046abe6
ret
push str.unable_to_determine_service_version:
lea ecx, [ebp - 0x424]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 3
pop ecx
call fcn.004175da
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x44abc2
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x424]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 1
pop ecx
call fcn.004175da
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x428]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
jmp 0x44ab50
Function at 0x44ba3d
Capabilities:
Set registry value

Disassembly:
push 0x220
mov eax, 0x4b47cc
call fcn.0046ac3c
call dword [sym.imp.kernel32.dll_GetTickCount64]
mov esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], esi
push ebx
push eax
call fcn.004830a0
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call main
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x220]
push eax
call fcn.00402829
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.00402829
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
push 2
lea edx, [ebp - 0x224]
pop ecx
call fcn.00416dc0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x21c]
mov edi, 0x4cc898
push eax
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
push eax
push 0xf003f
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44bb8e
push 4
lea eax, [ebp - 0x22c]
push eax
push 4
push ebx
push str.iNotify
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x21c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44bbc3
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 2
pop ecx
call fcn.004174f1
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x44bbbb
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x228]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 3
pop ecx
call fcn.004174f1
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046abe6
ret
Function at 0x44cb06
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x4b4b1c
call fcn.0046ac3c
push str.CleanupUpgradeCache...
lea ecx, [ebp - 0x220]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x220]
push edi
push 2
pop ebx
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push 0x8023
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x44cba4
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x220]
call fcn.00402829
push esi
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.004175da
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
jmp 0x44cc44
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402829
push 0x515ff4
lea eax, [ebp - 0x228]
mov dword [ebp - 4], ebx
push str.AdobeARMUpgradeCache_
push eax
call fcn.004023f1
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x224]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call main
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402e64
push ecx
mov esi, esp
mov dword [ebp - 0x228], esi
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call main
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00449347
pop ecx
push dword [0x515e48]
mov edx, 0x4cc898
mov ecx, SysReAllocString
call main
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046abe6
ret
Function at 0x44e85d
Capabilities:
Check if file exists
Download url
Get common file path
Get file attributes
Receive data

Disassembly:
push 0x3c
mov eax, 0x4b5078
call fcn.0046ac3c
mov ebx, ecx
push str.PingPdfExtension:
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.00402829
push 0
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call main
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebx], 0
call fcn.00450db1
push eax
lea ecx, [ebp - 0x3c]
call main
mov esi, 0x104
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x3c]
call main
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
mov esi, eax
call main
test esi, esi
jne 0x44e90f
push str.failed_to_get_Temp_folder
lea ecx, [ebp - 0x40]
call fcn.00402829
mov byte [ebp - 4], 4
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea edx, [ebp - 0x40]
call main
pop ecx
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
jmp 0x44ea4a
push 0
call main
push eax
call main
call fcn.00489368
push 0xa
mov edx, eax
lea edi, [ebp - 0x38]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0xa
lea eax, [ebp - 0x38]
push eax
push edx
call main
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
add esp, 0x14
push dword [eax - 0xc]
push eax
call main
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x3c]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffc
push eax
call main
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004024b8
add esp, 0xc
mov byte [ebp - 4], 5
push dword [ebp + 8]
call dword [sym.imp.wininet.dll_DeleteUrlCacheEntryW]
mov esi, dword [ebp - 0x3c]
xor eax, eax
push eax
push eax
push esi
push dword [ebp - 0x44]
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
push str.ping__URL:
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.00402829
push ecx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x40]
call main
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test edi, edi
jne 0x44e9d8
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44e9d8
mov byte [ebx], 1
cmp byte [ebx], 0
mov ecx, str.Failed
mov eax, str.Success
cmove eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.00402829
push str.ping_result:
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00402829
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x40]
call main
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp byte [ebx], 0
je 0x44ea3c
lea ecx, [ebp - 0x3c]
call fcn.00449519
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046abe6
ret
Function at 0x4557e0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x455833
push esi
push dword [ebp + 8]
call main
mov edi, eax
test edi, edi
je 0x45582e
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45582e
mov eax, dword [ebp - 8]
jmp 0x455845
mov eax, dword [ebp + 0x10]
jmp 0x455845
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x455850
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b589b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.0046adb0
mov eax, dword [0x510554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x58], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
je 0x455987
push 0
push edx
call main
mov ebx, eax
test ebx, ebx
jne 0x4558b8
push esi
jmp 0x4559af
call fcn.00450db1
push eax
lea ecx, [ebp - 0x2014]
call main
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x455946
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call main
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call main
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x455974
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call main
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402e64
jmp 0x4559b6
push esi
mov ecx, edi
call fcn.00402829
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x45596d
test esi, esi
jne 0x455990
mov esi, 0x4cead4
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.00402829
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046a62a
leave
ret 0x10
Function at 0x4571f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x45721b
cmp dword [edi + 0x80], 0
jne 0x45721b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.0045fa23
push 5
push ebx
mov esi, dword [eax + 0xc]
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 ecx, edi
push eax
call main
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x462680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x4b5f0b
call fcn.0046ac73
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x46278a
cmp ebx, dword [esi + 0xc]
jge 0x46278a
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x4626d7
cmp ebx, dword [edi + 8]
jl 0x462778
cmp dword [ebp + 0xc], 0
je 0x462778
xor ebx, ebx
jmp 0x462711
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call main
mov edi, eax
test edi, edi
je 0x4626f1
mov dword [edi], vtable.CThreadData.0
jmp 0x4626f3
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call main
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x46272c
push 4
push dword [esi + 0xc]
call main
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.kernel32.dll_LocalAlloc]
jmp 0x462744
push 2
push 4
push dword [esi + 0xc]
call main
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.kernel32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x4627b1
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.004830a0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x46278a
cmp ebx, dword [edi + 8]
jge 0x46278a
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call fcn.0046abd1
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call main
int3