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

Disassembly:
push 0x424
mov eax, 0x4b305c
call fcn.004696cc
mov dword [ebp - 0x430], edx
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edi, 0x5164dc
mov ecx, dword [eax]
mov eax, dword [0x5164d8]
cmp eax, dword [ecx + 4]
jle 0x44a7b6
mov esi, 0x5164d8
push esi
call fcn.00469476
cmp dword [0x5164d8], 0xffffffff
pop ecx
jne 0x44a7b6
call fcn.0044f841
push eax
mov ecx, edi
call fcn.00402899
push 0x4b6050
call fcn.0046933d
pop ecx
push esi
call fcn.0046942c
pop ecx
mov eax, dword [0x5164dc]
cmp dword [eax - 0xc], 0
jne 0x44a8c4
call fcn.0044f841
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.00481b00
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 0x44a916
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.00481b00
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 0x44a8e2
lea eax, [ebp - 0x420]
mov edi, 0x5164dc
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.004145c0
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.00445b58
mov ecx, dword [ebp - 0x430]
test eax, eax
setne al
mov byte [ecx], al
xor eax, eax
call fcn.00469676
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.00414dc6
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x44a94e
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.00414dc6
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 0x44a8dc
Function at 0x44b715
Capabilities:
Set registry value

Disassembly:
push 0x220
mov eax, 0x4b334c
call fcn.004696cc
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.00481b00
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00488a0e
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.004145c0
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, 0x4cb968
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 0x44b866
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 0x44b89b
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.00414cf1
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x44b893
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.00414cf1
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.00469676
ret
Function at 0x44cc9e
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x4b378c
call fcn.004696cc
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.00414cf1
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 0x44cd3c
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.00414dc6
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
jmp 0x44cddc
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 fcn.004025c6
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 fcn.00402d9f
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004490e1
pop ecx
push dword [0x515e48]
mov edx, 0x4cb968
mov ecx, SysReAllocString
call fcn.00444388
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
call fcn.00469676
ret
Function at 0x454270
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 0x4542c3
push esi
push dword [ebp + 8]
call fcn.00454464
mov edi, eax
test edi, edi
je 0x4542be
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 0x4542be
mov eax, dword [ebp - 8]
jmp 0x4542d5
mov eax, dword [ebp + 0x10]
jmp 0x4542d5
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 0x4542e0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b410b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.00469840
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 0x454417
push 0
push edx
call fcn.00454464
mov ebx, eax
test ebx, ebx
jne 0x454348
push esi
jmp 0x45443f
call fcn.0044f841
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 0x4543d6
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.0040a128
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x454404
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 0x454446
push esi
mov ecx, edi
call fcn.00402829
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x4543fd
test esi, esi
jne 0x454420
mov esi, 0x4cdd44
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.004690ba
leave
ret 0x10
Function at 0x455c70
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 0x455c9b
cmp dword [edi + 0x80], 0
jne 0x455c9b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.0045e4b3
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.00455ed6
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45952f
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 0x45956e
call fcn.0045e4b3
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45956e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x459576
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0044eb57
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x459c93
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 0x459d1f
cmp dword [esi + 0x20], 0
je 0x459d1f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459d1f
cmp dword [ebp + 8], 0
je 0x459d1f
xor edi, edi
mov ebx, edi
call fcn.0045e4b3
push 0x4bd730
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 0x459d03
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 0x459d1f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0046736d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x459d1b
mov ecx, esi
call fcn.00459a61
mov eax, edi
jmp 0x459d21
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45bca0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fsub dword [edi - 0x3a]
inc ebp
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x45bd0c
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0045b881
push eax
push esi
push dword [ebp + 8]
call fcn.0045b836
add esp, 0x30
mov dword [ebp - 0xb8], eax
invalid
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0045b871
sal byte [ebx - 0x7a723264], 1
jl 0x45bd5c
invalid
invalid

Function at 0x45c72e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sbb al, byte [eax - 0x22f5b]
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
Function at 0x45fe1b
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x510554]
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.00481b00
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00490bd3
push eax
call fcn.0040295f
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x4bb950]
je 0x45ff85
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 0x45ff99
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x45ff99
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 0x45feb4
mov eax, edi
jmp 0x45fee3
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x45fed1
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.0045fc0e
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x45feda
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.00452a8c
test eax, eax
je 0x45ff08
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.004522fb
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x45ff0c
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00452a8c
test eax, eax
je 0x45ff33
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.004522fb
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x45ff37
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00452a8c
test eax, eax
je 0x45ff5f
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.004522fb
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x45ff61
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x45ff73
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x45ff85
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.004690ba
leave
ret 4
xor eax, eax
jmp 0x45ff88
Function at 0x461110
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x4b477b
call fcn.00469703
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 0x46121a
cmp ebx, dword [esi + 0xc]
jge 0x46121a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x461167
cmp ebx, dword [edi + 8]
jl 0x461208
cmp dword [ebp + 0xc], 0
je 0x461208
xor ebx, ebx
jmp 0x4611a1
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.00460bb7
mov edi, eax
test edi, edi
je 0x461181
mov dword [edi], vtable.CThreadData.0
jmp 0x461183
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.0046103c
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 0x4611bc
push 4
push dword [esi + 0xc]
call fcn.00415dd9
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4611d4
push 2
push 4
push dword [esi + 0xc]
call fcn.00415dd9
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x461241
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.00481b00
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 0x46121a
cmp ebx, dword [edi + 8]
jge 0x46121a
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00469661
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0044f31e
int3

Function at 0x49e4ad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049e15e

Function at 0x49e4b8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049e2e8
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1378
call fcn.00401a90
mov eax, dword [esp + 0x137c]
push esi
lea ecx, [esp + 0x5c]
push edi
push ecx
mov dword [0x4095a0], eax
call fcn.00401330
add esp, 4
test eax, eax
je 0x40117a
lea edx, [esp + 0x74]
lea eax, [esp + 0x380]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x380]
push str.shfill.exe_form.ftf__
push ecx
call esi
lea edx, [esp + 0x27c]
lea eax, [esp + 0x380]
push edx
push eax
call esi
lea ecx, [esp + 0x380]
push 0x40704c
push ecx
call esi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x40108d
lea edx, [esp + 0x380]
push str._Form.fdd
push edx
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x39c]
push 0
push eax
push 0
mov dword [esp + 0x44], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401134
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebx, 0x103
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push edx
call ebp
push 0xffffffffffffffff
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x10], ebx
jne 0x401129
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
call esi
push 0x14
call edi
cmp dword [esp + 0x10], ebx
je 0x401113
mov eax, dword [esp + 0x14]
push eax
call ebp
pop ebp
pop ebx
jmp 0x40117a
push 0
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x10
push str.System_Error
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x60]
push ecx
call fcn.004011a0
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x1378
ret 0x10
Function at 0x4011a0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4012e8
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebp, [ebx + 0x14]
push edi
lea eax, [esp + 0x10]
push ebp
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [esp + eax + 0x10]
push str.ShFill.exe
push edi
call esi
lea edx, [esp + 0x10]
push edx
call fcn.004012f0
add esp, 4
push str.ShFill._xe
push edi
call esi
lea eax, [esp + 0x10]
push eax
call fcn.004012f0
add esp, 4
push str.Form.ftf
push edi
call esi
lea ecx, [esp + 0x10]
push ecx
call fcn.004012f0
mov eax, dword [ebx + 8]
add esp, 4
test eax, eax
je 0x40124c
push str.codebar.dll
push edi
call esi
lea edx, [esp + 0x10]
push edx
call fcn.004012f0
add esp, 4
push str.codebar._dl
push edi
call esi
lea eax, [esp + 0x10]
push eax
call fcn.004012f0
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x40127d
push str.vtssdl32.dll
push edi
call esi
lea ecx, [esp + 0x10]
push ecx
call fcn.004012f0
add esp, 4
push str.vtssdl32._dl
push edi
call esi
lea edx, [esp + 0x10]
push edx
call fcn.004012f0
add esp, 4
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4012ae
push str.zlib.dll
push edi
call esi
lea eax, [esp + 0x10]
push eax
call fcn.004012f0
add esp, 4
push str.zlib._dl
push edi
call esi
lea ecx, [esp + 0x10]
push ecx
call fcn.004012f0
add esp, 4
cmp dword [ebx], 0
je 0x4012c8
push str.Form.fdd
push edi
call esi
lea edx, [esp + 0x10]
push edx
call fcn.004012f0
add esp, 4
lea eax, [ebx + 0x118]
push eax
call fcn.004012f0
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
mov dword [ebx + 0x10], 1
pop ebp
pop ebx
add esp, 0x104
ret

Function at 0x4012f0
Capabilities:
Delete file

Disassembly:
sub esp, 0x88
lea eax, [esp]
push esi
mov esi, dword [esp + 0x90]
push 0x4000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x40131b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
add esp, 0x88
ret