joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4495f0
Capabilities:
Set registry value

Disassembly:
push 0x220
mov eax, 0x4b609c
call fcn.0046c44c
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.00484bc0
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0048bace
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.00414600
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, 0x4ce610
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 0x449741
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 0x449776
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.00414d4f
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x44976e
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.00414d4f
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046c3f6
ret
Function at 0x44a651
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x4b639c
call fcn.0046c44c
push str.CleanupUpgradeCache...
lea ecx, [ebp - 0x21c]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x21c]
push edi
push 2
pop ebx
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x8023
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x44a6ef
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x21c]
call fcn.00402829
push esi
lea edx, [ebp - 0x21c]
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.00414e00
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
jmp 0x44a78f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402829
push 0x51aed4
lea eax, [ebp - 0x224]
mov dword [ebp - 4], ebx
push str.AdobeARMUpgradeCache_
push eax
call fcn.004023f1
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402e64
push ecx
mov esi, esp
mov dword [ebp - 0x224], esi
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004467b2
push dword [0x51ad28]
mov edx, 0x4ce610
mov ecx, SysReAllocString
call fcn.00441a36
pop ecx
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046c3f6
ret
Function at 0x44b96d
Capabilities:
Download url
Receive data

Disassembly:
push 0x5c
mov eax, 0x4b6760
call fcn.0046c44c
mov esi, edx
mov dword [ebp - 0x68], esi
mov ebx, ecx
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x54]
and dword [ebp - 0x54], 0
push ecx
push 0x4cd070
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], eax
push ecx
mov ecx, eax
call fcn.0042b38d
and dword [ebp - 4], 0
jmp 0x44bb48
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
mov dword [esp], str..txt
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00402459
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.ping__URL:
lea ecx, [ebp - 0x48]
call fcn.00402829
push ecx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x48]
call fcn.00414dc9
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0
call fcn.0048af3e
push eax
call fcn.0048aea9
call fcn.0048ae88
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 fcn.0048ba99
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
add esp, 0x18
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040259d
push str._arm.txt
lea ecx, [ebp - 0x3c]
call fcn.0040259d
push str.temp_file_path:
lea ecx, [ebp - 0x4c]
call fcn.00402829
mov byte [ebp - 4], 5
lea eax, [ebp - 0x3c]
push ecx
push eax
lea edx, [ebp - 0x4c]
call fcn.00414dc9
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, dword [ebp - 0x44]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov esi, dword [ebp - 0x3c]
xor eax, eax
push eax
push eax
push esi
push edi
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
push str.ping__result:
lea ecx, [ebp - 0x50]
mov ebx, eax
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 6
pop ecx
call fcn.00414e00
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x3c]
call fcn.00446984
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x54]
push eax
push 0x4cd070
lea eax, [ebp - 0x60]
push eax
call fcn.0042b38d
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00402e14
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402e64
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x40]
cmp dword [eax - 0xc], 0
jne 0x44b9aa
lea ecx, [eax - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.0046c3f6
ret
Function at 0x45026b
Capabilities:
Download url
Receive data

Disassembly:
push 8
mov eax, 0x4acb70
call fcn.0046c418
mov ebx, edx
mov esi, ecx
push dword [esi]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
xor eax, eax
push eax
push eax
push dword [ebx]
push dword [esi]
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
push str.ping_URL:
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push ecx
push esi
call fcn.00414dc9
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.ping_result:
lea ecx, [ebp - 0x14]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 1
pop ecx
call fcn.00414e00
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x4502ff
mov ecx, ebx
call fcn.00446984
mov eax, edi
call fcn.0046c3e1
ret

Function at 0x4567c0
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 0x456813
push esi
push dword [ebp + 8]
call fcn.004569b4
mov edi, eax
test edi, edi
je 0x45680e
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 0x45680e
mov eax, dword [ebp - 8]
jmp 0x456825
mov eax, dword [ebp + 0x10]
jmp 0x456825
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 0x456830
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7b2b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.0046c5c0
mov eax, dword [0x515554]
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 0x456967
push 0
push edx
call fcn.004569b4
mov ebx, eax
test ebx, ebx
jne 0x456898
push esi
jmp 0x45698f
call fcn.00452601
push eax
lea ecx, [ebp - 0x2014]
call fcn.00402899
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 0x456926
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.00402bd2
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 fcn.0040ae39
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x456954
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.00402d9f
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402e64
jmp 0x456996
push esi
mov ecx, edi
call fcn.00402829
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x45694d
test esi, esi
jne 0x456970
mov esi, 0x4d189c
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.0046be3a
leave
ret 0x10

Function at 0x4581c0
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 0x4581eb
cmp dword [edi + 0x80], 0
jne 0x4581eb
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.004609f3
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 fcn.00458426
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45ba7f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x45babe
call fcn.004609f3
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45babe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45bac6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00451917
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x45c1e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x45c26f
cmp dword [esi + 0x20], 0
je 0x45c26f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c26f
cmp dword [ebp + 8], 0
je 0x45c26f
xor edi, edi
mov ebx, edi
call fcn.004609f3
push 0x4c06a0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x45c253
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45c26f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0046a0fd
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45c26b
mov ecx, esi
call fcn.0045bfb1
mov eax, edi
jmp 0x45c271
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x462b9b
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x515554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.00484bc0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00493e16
push eax
call fcn.0040295f
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x4be960]
je 0x462d05
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x462d19
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x462d19
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x462c34
mov eax, edi
jmp 0x462c63
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x462c51
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.0046298e
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x462c5a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00461a5c
test eax, eax
je 0x462c88
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.004612ce
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x462c8c
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00461a5c
test eax, eax
je 0x462cb3
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.004612ce
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x462cb7
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00461a5c
test eax, eax
je 0x462cdf
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.004612ce
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x462ce1
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x462cf3
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x462d05
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046be3a
leave
ret 4
xor eax, eax
jmp 0x462d08
Function at 0x463e90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x4b825b
call fcn.0046c483
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 0x463f9a
cmp ebx, dword [esi + 0xc]
jge 0x463f9a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x463ee7
cmp ebx, dword [edi + 8]
jl 0x463f88
cmp dword [ebp + 0xc], 0
je 0x463f88
xor ebx, ebx
jmp 0x463f21
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.00463937
mov edi, eax
test edi, edi
je 0x463f01
mov dword [edi], vtable.CThreadData.0
jmp 0x463f03
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 fcn.00463dbc
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 0x463f3c
push 4
push dword [esi + 0xc]
call fcn.00415ee9
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x463f54
push 2
push 4
push dword [esi + 0xc]
call fcn.00415ee9
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x463fc1
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.00484bc0
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 0x463f9a
cmp ebx, dword [edi + 8]
jge 0x463f9a
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0046c3e1
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004520de
int3

Function at 0x4a14ff
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a11b0

Function at 0x4a150a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a133a
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438c93
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
dec edx
inc ecx
call fcn.00438cc9
dec ecx
sub ecx, 0x9938d49
sub ecx, 0xa385c711
xor dword [eax], esi
add ecx, 1
add eax, 1
or edx, edx
mov ecx, ecx
cmp eax, edi
jne fcn.00438c93
or ecx, ecx
add ecx, ecx
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x401450
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40900c
push 0x80000002
call dword [0x436e0c]
test eax, eax
jne 0x40147c
mov eax, 0xd903
jmp 0x401526
mov dword [0x436e04], 0x24e1
mov ecx, dword [0x436e04]
sub ecx, 0x24e1
mov dword [0x436e04], ecx
mov edx, 1
test edx, edx
je 0x401526
mov eax, dword [0x436e04]
cmp eax, dword [ebp + 0xc]
jb 0x4014b1
jmp 0x401526
cmp dword [0x436e04], 0
jne 0x4014cf
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4014cf
xor eax, eax
jmp 0x401526
mov ecx, dword [ebp + 8]
add ecx, dword [0x436e04]
mov edx, dword [ecx]
add edx, dword [0x436e04]
mov eax, dword [ebp + 8]
add eax, dword [0x436e04]
mov dword [eax], edx
mov dword [ebp - 8], 0x3c615bf
mov ecx, dword [0x436e04]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 2]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [0x436e04]
push ecx
call fcn.00401200
add esp, 8
mov edx, dword [0x436e04]
add edx, 4
mov dword [0x436e04], edx
jmp 0x401498
mov esp, ebp
pop ebp
ret

Function at 0x401a70
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebp
pop dword [0x436df0]
push dword [0x436df0]
push 0x401a8b
jmp fcn.004015c0
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x32716e42
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x14065fee
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219