joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449f11
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x4b5230
call fcn.0046bb6c
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.00483fc0
add esp, 0xc
lea eax, [ebp - 0x30]
push 8
push ebx
push eax
call fcn.00483fc0
add esp, 0xc
lea eax, [ebp - 0x40]
push 8
push ebx
push eax
call fcn.00483fc0
mov eax, dword [esi]
add esp, 0xc
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], ebx
cmp dword [eax - 4], 1
jle 0x449f83
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call fcn.00402aac
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 [0x517e1c]
cmp dword [eax - 4], 1
jle 0x449fb0
push dword [eax - 0xc]
mov ecx, 0x517e1c
call fcn.00402aac
mov eax, dword [0x517e1c]
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 0x44a03a
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 0x44a02c
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 fcn.004279da
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 fcn.004279da
inc ebx
cmp ebx, dword [ebp - 0x30]
jb 0x449ff0
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x44a066
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.004174d1
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 int.00409d58
push 0xffffffffffffffff
mov ecx, 0x517e1c
call int.00409d58
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.0046bb16
ret
Function at 0x44a93f
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x4b541c
call fcn.0046bb6c
mov dword [ebp - 0x430], edx
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edi, 0x5184b4
mov ecx, dword [eax]
mov eax, dword [0x5184b0]
cmp eax, dword [ecx + 4]
jle 0x44a9a4
mov esi, 0x5184b0
push esi
call fcn.0046b916
cmp dword [0x5184b0], 0xffffffff
pop ecx
jne 0x44a9a4
call fcn.00451cd1
push eax
mov ecx, edi
call fcn.00402899
push 0x4b8a20
call fcn.0046b7dd
pop ecx
push esi
call fcn.0046b8cc
pop ecx
mov eax, dword [0x5184b4]
cmp dword [eax - 0xc], 0
jne 0x44aab2
call fcn.00451cd1
push eax
lea ecx, [ebp - 0x428]
call fcn.00402899
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00483fc0
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 0x44ab04
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.0040286d
push str.AdobeARM1.0_armsvc.exe
lea ecx, [ebp - 0x428]
call fcn.0040259d
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00483fc0
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 0x44aad0
lea eax, [ebp - 0x420]
mov edi, 0x5184b4
push eax
mov ecx, edi
call fcn.0040286d
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.00416da0
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 fcn.00445bf7
mov ecx, dword [ebp - 0x430]
test eax, eax
setne al
mov byte [ecx], al
xor eax, eax
call fcn.0046bb16
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.00417582
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x44ab3c
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.00417582
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 0x44aaca
Function at 0x44b9b7
Capabilities:
Set registry value

Disassembly:
push 0x220
mov eax, 0x4b570c
call fcn.0046bb6c
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.00483fc0
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0048bf2f
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.00416da0
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, 0x4cd858
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 0x44bb08
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 0x44bb3d
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.004174d1
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x44bb35
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.004174d1
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046bb16
ret

Function at 0x456700
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 0x456753
push esi
push dword [ebp + 8]
call fcn.004568f4
mov edi, eax
test edi, edi
je 0x45674e
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 0x45674e
mov eax, dword [ebp - 8]
jmp 0x456765
mov eax, dword [ebp + 0x10]
jmp 0x456765
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 0x456770
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6adb
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.0046bce0
mov eax, dword [0x512554]
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 0x4568a7
push 0
push edx
call fcn.004568f4
mov ebx, eax
test ebx, ebx
jne 0x4567d8
push esi
jmp 0x4568cf
call fcn.00451cd1
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 0x456866
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 int.00409d58
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x456894
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 0x4568d6
push esi
mov ecx, edi
call fcn.00402829
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x45688d
test esi, esi
jne 0x4568b0
mov esi, 0x4cfa94
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.0046b55a
leave
ret 0x10

Function at 0x458100
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 0x45812b
cmp dword [edi + 0x80], 0
jne 0x45812b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00460943
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.00458366
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45b9bf
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 0x45b9fe
call fcn.00460943
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45b9fe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45ba06
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00450fe7
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x45c123
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 0x45c1af
cmp dword [esi + 0x20], 0
je 0x45c1af
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c1af
cmp dword [ebp + 8], 0
je 0x45c1af
xor edi, edi
mov ebx, edi
call fcn.00460943
push 0x4bf730
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 0x45c193
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 0x45c1af
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004697fd
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45c1ab
mov ecx, esi
call fcn.0045bef2
mov eax, edi
jmp 0x45c1b1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4622ab
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x512554]
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.00483fc0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00493083
push eax
call fcn.0040295f
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x4bd950]
je 0x462415
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 0x462429
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x462429
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 0x462344
mov eax, edi
jmp 0x462373
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x462361
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.0046209e
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x46236a
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.00454f1c
test eax, eax
je 0x462398
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045478b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x46239c
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00454f1c
test eax, eax
je 0x4623c3
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045478b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4623c7
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00454f1c
test eax, eax
je 0x4623ef
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045478b
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4623f1
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x462403
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x462415
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.0046b55a
leave
ret 4
xor eax, eax
jmp 0x462418
Function at 0x4635a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x4b714b
call fcn.0046bba3
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 0x4636aa
cmp ebx, dword [esi + 0xc]
jge 0x4636aa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x4635f7
cmp ebx, dword [edi + 8]
jl 0x463698
cmp dword [ebp + 0xc], 0
je 0x463698
xor ebx, ebx
jmp 0x463631
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.00463047
mov edi, eax
test edi, edi
je 0x463611
mov dword [edi], vtable.CThreadData.0
jmp 0x463613
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.004634cc
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 0x46364c
push 4
push dword [esi + 0xc]
call fcn.00418582
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x463664
push 2
push 4
push dword [esi + 0xc]
call fcn.00418582
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x4636d1
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.00483fc0
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 0x4636aa
cmp ebx, dword [edi + 8]
jge 0x4636aa
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0046bb01
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004517ae
int3

Function at 0x4a095d
Capabilities:
Read file on windows

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

Function at 0x4a0968
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0798
Function at 0x40ab30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40ab3f
pop dword [ebp - 0x14]
mov eax, 0x24afd49e
add eax, 0xdb90d6a1
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xd900d36b
add dword [ebp - 0x24], 0x755171e0
mov dword [ebp - 0x20], 0xaa109588
sub dword [ebp - 0x20], 0x77dd4943
mov dword [ebp - 0x1c], 0x503a73e
add dword [ebp - 0x1c], 0x47489cf0
mov dword [ebp - 0x18], 0xe6ff9338
sub dword [ebp - 0x18], 0xe6ff9338
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4f7cc12a
sub eax, 0x4f3b908a
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xbcd5bc78
add dword [ebp - 0x24], 0xb79cacde
mov dword [ebp - 0x20], 0xf9ca6bab
sub dword [ebp - 0x20], 0xb85e0a36
mov dword [ebp - 0x1c], 0xaf045694
add dword [ebp - 0x1c], 0xb46b15d8
mov dword [ebp - 0x18], 0xb6450d0f
sub dword [ebp - 0x18], 0xb6450d0f
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x41183
push 0
call eax
mov ecx, 0x6dd57188
sub ecx, 0x6dd50fd6
xor edx, edx
add edx, eax
mov edi, 0x8cc78889
add edi, 0x737a2777
add edi, dword [ebp - 0x14]
mov esi, 0xd694490c
add esi, 0x82f42f25
mov dword [ebp - 0x10], 0x37ecf41a
mov ebx, dword [edi]
xor dword [ebp - 0x10], eax
xor ebx, esi
sub dword [ebp - 0x10], 0x963f5173
mov dword [edx], ebx
mov dword [ebp - 4], 0x9985d6d
add edx, 4
add edi, 4
loop 0x40ac5e
add eax, 0x5ddf2e9b
add eax, 0xa2224b00
mov ebx, eax
add eax, 0xa27bf95a
sub eax, 0xa27bf955
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x415380
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ae8fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a2e41
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415402
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a0210
mov eax, dword [eax]
push 0x59b244
push eax
call fcn.00491394
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a30cc
test bl, bl
je 0x415402
push 0x59b244
lea ecx, [esp + 0xc]
call fcn.004a345c
push 0x59ee1c
lea ecx, [esp + 0xc]
call fcn.004a345c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41543e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a30cc
jmp 0x415509
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4154c2
lea edx, [esp + 0x7c]
push 0x59ee18
push edx
call fcn.00491394
add esp, 8
test eax, eax
je 0x4154c2
lea eax, [esp + 0x7c]
push 0x59ee14
push eax
call fcn.00491394
add esp, 8
test eax, eax
je 0x4154c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x415452
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a30cc
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x415d00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ae97b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a98b0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x415e38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x415d66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a30cc
xor eax, eax
jmp 0x415eaf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a3209
push esi
lea ecx, [esp + 0xc]
call fcn.004a3498
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x59ee54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x415e8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x59ee4c
push closesocket
call fcn.00467ed0
test eax, eax
jne 0x415e8d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x59ee38
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00467ed0
test eax, eax
jne 0x415e8d
lea eax, [esp + 0x14]
push 0x59ee30
push eax
call fcn.00492620
mov esi, eax
add esp, 8
test esi, esi
jne 0x415e6c
lea ecx, [esp + 0x14]
push 0x59ee2c
push ecx
call fcn.004925a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x415e6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x415e6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a31b9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x415d7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a30cc
xor eax, eax
jmp 0x415eaf
mov byte [esi], 0
push 0x59ee28
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a30cc
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4