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

Disassembly:
push 0x248
mov eax, 0x6556e3
call fcn.005bea6f
mov ebx, ecx
mov dword [ebp - 0x250], ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x41b1ab
mov eax, dword [edi + 0x14]
test eax, eax
je 0x41afb0
mov al, byte [eax]
jmp 0x41afb3
mov al, byte [edi + 0x18]
test al, al
je 0x41b1ab
mov ecx, edi
call fcn.00420b56
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.00417457
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00417457
mov byte [ebp - 4], 1
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
add ebx, 0xbc
test eax, eax
je 0x41b029
push ebx
xor eax, eax
push eax
push eax
push 0x8023
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push ebx
call fcn.004169f0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x248]
call fcn.0041c91b
push esi
call fcn.004169f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
jmp 0x41b06b
push esi
push 0x104
push ebx
call fcn.005ea3e6
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push esi
call fcn.004169f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.0041c91b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
call fcn.004169f0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x248]
call fcn.0041c91b
test dword [edi + 0x10], 0x20000
je 0x41b0d9
push ebx
push 0
lea ecx, [ebp - 0x230]
call fcn.0041743a
push eax
lea ecx, [ebp - 0x248]
call fcn.0041743a
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41b0d9
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x41b0d9
mov esi, dword [edi + 0x14]
test esi, esi
je 0x41b0d9
lea eax, [ebp - 0x218]
push eax
call fcn.004169f0
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 4]
call fcn.0041c91b
mov ecx, edi
call fcn.00420b56
mov esi, eax
push esi
mov dword [ebp - 0x24c], esi
call fcn.005e9fb0
pop ecx
test eax, eax
je 0x41b14f
xor eax, eax
test dword [edi + 0x10], 0x10000
push eax
push 0x80
je 0x41b108
push 2
jmp 0x41b10a
push 4
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41b14f
lea eax, [ebp - 0x254]
push eax
push ebx
push 0x104
push 0
push dword [ebp - 0x24c]
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x41b148
push ebx
mov ecx, edi
call fcn.00420b6b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test dword [edi + 0xc], 0x40000000
je 0x41b17d
mov esi, dword [ebp - 0x250]
mov ecx, esi
push edi
call fcn.0041acea
test dword [edi + 0x10], 0x100000
je 0x41b17d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.0041ac4f
mov eax, dword [edi + 0x14]
test eax, eax
je 0x41b189
mov byte [eax], 0
jmp 0x41b18d
mov byte [edi + 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00416f5c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00416f5c
call fcn.005bea19
ret 4
Function at 0x41df1d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0041dc92
sahf
mov bh, 0xd0
pop ebp
lea eax, [ebp - 0x58]
push eax
call fcn.0041dca2
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0041dc57
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x41df80
invalid
invalid
invalid

Function at 0x41e036
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 9], 0xbf
call fcn.0041dca2
push eax
push esi
push dword [ebp + 8]
call fcn.0041dc57
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17

Function at 0x41e061
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041dca2
push eax
push esi
push dword [ebp + 8]
call fcn.0041dc57
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
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 0x41e12d
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041dca2
push eax
push esi
push dword [ebp + 8]
call fcn.0041dc57
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041dc92
add eax, 0x88fc0c4e
popfd
jl 0x41e117
invalid
invalid
Function at 0x41e342
Capabilities:
Inspect section memory permissions

Disassembly:
mov ebp, 0xffffff78
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x41e481
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x41e237
cmp dword [eax + 0xc], ebx
je 0x41e2da
mov edi, dword [eax + 0xc]
call fcn.0041dc92
in al, 0x7a
mov bh, 0xca
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x41e346
add eax, esi
cmp dword [eax], ebx
je 0x41e346
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41e341
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x41e32b
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41e333
cmp edx, ebx
jne 0x41e481
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41e302
add eax, dword [eax + 4]
jmp 0x41e2ef
mov dword [ebp + 0xc], ebx
jmp 0x41e351
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41e369
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41e387
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41e3e5
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41e3cc
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41e3d5
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41e3df
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41e3c1
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41e34b
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41e432
dec eax
je 0x41e429
pop ss
sub eax, 3
je 0x41e420
mov dword [ebp - 4], 0x40
jmp 0x41e44f
mov dword [ebp - 4], 4
jmp 0x41e435
mov dword [ebp - 4], 0x20
jmp 0x41e435
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41e481
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41e401
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0041dc92
pushfd
cmc
hlt
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41e579
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
invalid
invalid
inc esp
cld
Function at 0x41e83f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
test ebx, esp
cli
invalid
call [edx - 0x51b7a3a]
invalid
jmp [esi + eax*8 - 0x51a7b]
call [eax - 0x5197a3a]
invalid
dec dword [edi - 0x5187a3a]
invalid
dec dword [edi - 0x5177a3a]
invalid
invalid
ljmp 0xffff
push eax
call fcn.0041dca2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041dc57
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0041dc92
pop ebx
invalid

Function at 0x41fd01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x41fd28
lea eax, [ebp - 0x714]
push eax
call fcn.0041dca2
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0041dc57
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x41fd33
jmp 0x41fd38
jmp 0x41f634
cmp dword [ebp - 0x37c], 0
jne 0x41fde2
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041de6e
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x41fdce
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]

Function at 0x420930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x4209b2
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4209b2
cmp dword [ebp - 8], 1
jne 0x4209b2
mov eax, dword [ebp - 4]
xor ecx, ecx
push esi
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052c340
mov esi, eax
pop ecx
test esi, esi
je 0x4209b1
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4209aa
push esi
call fcn.004169f0
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.0041c91b
push esi
call fcn.0052f7e0
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421a0a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x421a65
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x421a56
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x421a52
cmp esi, ecx
jae 0x421a56
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x421a40
cmp esi, ecx
jb 0x421a5a
xor eax, eax
jmp 0x421a64
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4299a5
Capabilities:
Get disk size
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xorps xmm0, xmm0
xor esi, esi
cmp byte [ebp + 0x10], 0
push edi
movsd qword [ebp - 8], xmm0
jne 0x429a1b
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4299e7
mov eax, 0x80004005
jmp 0x429a84
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x8c2a80]
movsd qword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
comisd xmm0, xmmword [ebp - 8]
jb 0x429a4d
jmp 0x4299dd
lea edx, [ebp - 8]
add ecx, 4
push edx
lea edx, [ebp + 0x10]
push edx
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push esi
call dword [eax + 0x94]
movsd xmm1, qword [ebp - 8]
mulsd xmm1, qword [0x8c2818]
mulsd xmm1, qword [0x8c2818]
movsd qword [ebp - 8], xmm1
push esi
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4299dd
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0056bb40
xor ecx, ecx
mov eax, 0x80070070
comisd xmm0, xmmword [ebp - 8]
cmova eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a3b2
Capabilities:
Delete file

Disassembly:
push 0x94
mov eax, 0x65896b
call fcn.005bea6f
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x88]
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 0xcd7
push str.HPXS::CScanAppBusinessLogic::SaveToPDF
push 0x12fac74
push dword [0x12fa964]
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x94], eax
call fcn.004203f9
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], ebx
mov bl, byte [ebp + 0x18]
je 0x42a409
test bl, bl
jne 0x42a425
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0041bcf1
mov ecx, dword [edi + 0x368]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x42a498
mov ecx, dword [edi + 0x2d4]
lea edx, [ebp - 0x98]
and dword [ebp - 0x8c], 0
push edx
lea edx, [ebp - 0x9c]
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x90]
push edx
push 0
push 2
push dword [ebp - 0x94]
lea edx, [ebp - 0x8c]
push edx
call dword [eax + 0xb8]
mov esi, eax
test esi, esi
jne 0x42a498
push dword [ebp - 0x98]
mov ecx, dword [edi + 0x368]
push dword [ebp - 0x9c]
push dword [ebp - 0x90]
mov eax, dword [ecx]
push esi
push dword [ebp - 0x8c]
call dword [eax + 0x10]
mov esi, eax
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
je 0x42a4a4
test bl, bl
jne 0x42a4b5
test esi, esi
jne 0x42a4b9
mov ecx, dword [edi + 0x368]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, eax
test esi, esi
je 0x42a4d0
mov ecx, dword [edi + 0x368]
mov eax, dword [ecx]
call dword [eax + 8]
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push str.HPXS::CScanAppBusinessLogic::SaveToPDF
push str._s_hr0x_x
push 0xd0b
lea eax, [ebp - 0x88]
push 0x200
push eax
call fcn.0042077f
add esp, 0x18
lea ecx, [ebp - 0x88]
call fcn.004204d2
mov eax, esi
call fcn.005bea19
ret 0x14
Function at 0x42a509
Capabilities:
Delete file
Query or enumerate registry value

Disassembly:
push 0xe28
mov eax, 0x6589a9
call fcn.005bea6f
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2a8]
push 0
push 0
push 0xd11
push str.HPXS::CScanAppBusinessLogic::SaveToiDRS
push 0x12fac74
push dword [0x12fa964]
mov dword [ebp - 0xe34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe30], eax
call fcn.004203f9
and dword [ebp - 4], 0
xor esi, esi
cmp byte [ebx + 0x372], 0
jne 0x42a5e3
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.005e1980
add esp, 0xc
mov dword [ebp - 0xe2c], esi
lea eax, [ebp - 0xe2c]
xor esi, esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push str.ResourcePath
push dword [ebx + 0x518]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a5b4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
cmp dword [ebx + 0x514], esi
jne 0x42a5c7
call fcn.0047558d
mov dword [ebx + 0x514], eax
mov ecx, dword [ebx + 0x514]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
jne 0x42a764
mov byte [ebx + 0x372], 1
mov edi, dword [ebp + 0x14]
cmp edi, 1
je 0x42a5f1
cmp byte [ebp + 0x1c], 0
jne 0x42a606
mov ecx, dword [ebx + 0x514]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
test esi, esi
jne 0x42a6ec
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 1
mov byte [ebp - 4], 1
lea edx, [ebp - 0x230]
mov ecx, dword [ebx + 0x2d4]
push edx
push str..jpg
push edi
mov eax, dword [ecx]
push 0x836210
call dword [eax + 0x1b8]
test al, al
je 0x42a6d9
mov ecx, dword [ebx + 0x2d4]
lea edx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
push 0
cmovae edx, dword [ebp - 0x230]
mov eax, dword [ecx]
push edi
push 2
push dword [ebp - 0xe30]
push edx
call dword [eax + 0xc0]
mov esi, eax
test esi, esi
jne 0x42a6d9
mov eax, dword [ebx + 0x514]
lea edi, [ebp - 0x230]
mov ecx, dword [0x12fa704]
push dword [ebp + 0x10]
cmp dword [ebp - 0x21c], 8
mov esi, dword [eax]
mov eax, dword [ecx]
cmovae edi, dword [ebp - 0x230]
push 0x53
call dword [eax + 8]
mov ecx, dword [ebx + 0x514]
push eax
push edi
call dword [esi + 0xc]
cmp dword [ebp - 0x21c], 8
mov esi, eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp + 0x14]
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.0041746a
cmp edi, dword [ebp + 0x18]
je 0x42a6f7
cmp byte [ebp + 0x1c], 0
jne 0x42a740
mov ecx, dword [0x12fa708]
lea edx, [ebp - 0xe28]
push edx
mov eax, dword [ecx]
call dword [eax + 0xb8]
test esi, esi
jne 0x42a740
mov eax, dword [ebx + 0x514]
lea esi, [ebp - 0xe28]
sub esp, 0xb80
mov ecx, 0x2e0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0x20]
push dword [ebp + 0x10]
push dword [ebp - 0xe34]
call dword [edx + 0x10]
mov esi, eax
push esi
push str.HPXS::CScanAppBusinessLogic::SaveToiDRS
push str._s_hr0x_x
push 0xd4a
lea eax, [ebp - 0x2a8]
push 0x200
push eax
call fcn.0042077f
add esp, 0x18
lea ecx, [ebp - 0x2a8]
call fcn.004204d2
mov eax, esi
call fcn.005bea19
ret 0x1c
Function at 0x42b137
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00436721

Function at 0x42b248
Capabilities:
Get file version info

Disassembly:
push 0x28
mov eax, 0x658bd2
call fcn.005bea6f
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
call fcn.0042548d
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x42b2f9
push ebx
call fcn.0052c340
cmp dword [ebp - 0x14], 8
mov esi, eax
pop ecx
push esi
push ebx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42b2f2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x7291ac
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42b2f2
cmp dword [ebp - 0x30], 0
je 0x42b2f2
mov ecx, dword [ebp - 0x34]
cmp dword [ecx], 0xfeef04bd
jne 0x42b2f2
movzx eax, word [ecx + 0xa]
mov dword [edi], eax
movzx eax, word [ecx + 8]
mov dword [edi + 4], eax
movzx eax, word [ecx + 0xe]
mov dword [edi + 8], eax
movzx eax, word [ecx + 0xc]
mov dword [edi + 0xc], eax
push esi
call fcn.0052f7e0
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041746a
call fcn.005bea19
ret 4

Function at 0x42b572
Capabilities:
Get common file path

Disassembly:
push 0x304
mov eax, 0x658d2f
call fcn.005bea6f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
xor bl, bl
call fcn.005e1980
add esp, 0xc
lea eax, [ebp - 0x218]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
jae 0x42b68c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0041bcf1
push ecx
push ecx
xor edi, edi
lea ecx, [ebp - 0x310]
mov dword [ebp - 4], edi
call fcn.0042db91
mov byte [ebp - 4], 1
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
lea eax, [ebp - 0x300]
push str.hpscan
push eax
call fcn.0041ec29
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e2b2
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x310]
call fcn.0042db46
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push edi
push eax
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x260]
call fcn.00481c2a
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.0041de91
push edi
push 1
lea ecx, [ebp - 0x260]
call fcn.0041746a
mov ecx, esi
call fcn.00482b82
test al, al
je 0x42b655
inc bl
jmp 0x42b665
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edi
jb 0x42b660
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.0041746a
lea ecx, [ebp - 0x310]
call fcn.00429d88
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.0041746a
mov al, bl
call fcn.005bea19
ret 4
Function at 0x42d50e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x14
mov eax, 0x6599b7
call fcn.005beaa6
mov esi, ecx
mov dword [ebp - 0x1c], esi
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], 0xc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
push 0x18
pop ecx
idiv ecx
mov edi, eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
mov dword [esi], ebx
mov dword [ebp - 4], eax
mov dword [esi + 4], ebx
mov dword [ebp - 4], eax
mov dword [esi + 8], ebx
test edi, edi
je 0x42d639
mov dword [ebp - 4], eax
cmp edi, 0xaaaaaaa
jbe 0x42d579
push str.vector_T__too_long
call fcn.005abad5
mov dword [ebp - 4], eax
push 1
push ecx
push edi
call fcn.00416a6c
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 4], eax
or dword [ebp - 4], 0xffffffff
imul eax, edi, 0x18
add eax, dword [esi]
mov dword [esi + 8], eax
mov dword [ebp - 4], 0x35
mov byte [ebp - 4], 0x34
mov byte [ebp - 4], 0x33
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 0x37
mov byte [ebp - 4], 0x3b
mov byte [ebp - 4], 0x3a
mov byte [ebp - 4], 0x39
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x3e
mov byte [ebp - 4], 0x3d
mov byte [ebp - 4], 0x41
mov byte [ebp - 4], 0x40
mov byte [ebp - 4], 0x3f
mov byte [ebp - 4], 0x3c
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x32
mov eax, dword [esi]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x43
mov byte [ebp - 4], 0x42
mov byte [ebp - 4], 0x32
mov byte [ebp + 8], bl
push ecx
mov dword [ebp - 0x20], esp
mov byte [ebp - 4], 0x44
mov byte [ebp - 4], 0x32
push dword [ebp + 8]
push ecx
push eax
call fcn.0043207e
add esp, 0x10
mov byte [ebp - 4], 0x47
mov byte [ebp - 4], 0x46
mov byte [ebp - 4], 0x45
mov byte [ebp - 4], 0x32
mov dword [esi + 4], eax
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.005bea04
ret 4