joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x443330]
movq xmm0, qword [str.SOFTWARE_]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x104
mov word [ebp - 8], ax
lea eax, [ebp - 0x114]
push 0
push eax
movq qword [ebp - 0x10], xmm0
call fcn.00420f90
add esp, 0xc
mov dword [ebp - 0x120], 0xffffffff
xor edi, edi
mov dword [ebp - 0x124], 4
mov dword [ebp - 0x11c], edi
mov esi, 0x30
mov dword [ebp - 0x118], edi
mov dword [ebx], edi
nop
cmp byte [esi + str.SoftwareMicrosoftWindows_NTCurrentVersionUBR], 0x5c
je 0x4153be
sub esi, 1
jne 0x415380
lea eax, [ebp - 0x11c]
push eax
push 0x2001d
push esi
push str.SOFTWARE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41548e
mov dword [ebp - 0x11c], edi
jmp 0x4154e2
push 9
lea eax, [ebp - 0x10]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionUBR
call fcn.00425d7a
add esp, 0xc
test eax, eax
je 0x415425
lea eax, [esi + 0xa]
cmp eax, 0x104
jae 0x41542d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004241d3
push str.SoftwareMicrosoftWindows_NTCurrentVersionUBR
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00424248
lea eax, [esi + 9]
add esp, 0x18
cmp eax, 0x104
jae 0x415506
mov byte [ebp + eax - 0x114], 0
jmp 0x415461
cmp esi, 0x104
jb 0x415440
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
push str.SoftwareMicrosoftWindows_NTCurrentVersionUBR
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004241d3
add esp, 0xc
mov byte [ebp + esi - 0x114], 0
lea eax, [ebp - 0x118]
inc esi
push eax
push 0x20019
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41548e
mov dword [ebp - 0x118], edi
jmp 0x4154d1
lea eax, [ebp - 0x124]
push eax
push ebx
lea eax, [ebp - 0x120]
push eax
push 0
lea eax, [esi + str.SoftwareMicrosoftWindows_NTCurrentVersionUBR]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x4154cc
test eax, eax
jne 0x4154d1
cmp dword [ebp - 0x120], 4
jne 0x4154d1
cmp dword [ebp - 0x124], edi
jbe 0x4154d1
mov edi, 1
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x4154e2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x4154f3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
call fcn.0041fb8e
int3
Function at 0x4161e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, edx
push esi
push edi
lea esi, [ecx + 0x200]
mov edi, ebx
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x18]
lea edi, [ebx + 0x10]
mov edx, dword [ebx + 0x20]
mov esi, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x18], edx
add edx, 0xffffffe0
mov dword [ebx + 0x1c], esi
adc esi, 0xffffffff
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x4c], esi
or eax, 0xffffffff
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x48], edx
mov dword [edi], 0
test esi, esi
je 0x41624a
nop dword [eax + eax]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43b3a0]
sub esi, 1
jne 0x416230
not eax
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x416af0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 4], eax
movsx eax, cl
xorps xmm0, xmm0
push eax
push str._C:_
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], 0
push 0x20
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x416b90
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
imul eax, ecx
push eax
push edx
push ecx
lea eax, [ebp - 0x24]
push eax
push str.GetVolumeClusterSize__s_SUCCESS__u__u__u
call fcn.00414ac0
mov eax, dword [ebp - 0x28]
add esp, 0x14
imul eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x24]
push eax
push str.GetVolumeClusterSize__s_failed_err:_u
call fcn.00414ac0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x416bc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x80
xor edi, edi
lea eax, [ebp - 0x88]
push edi
push eax
mov ebx, ecx
call fcn.00420f90
add esp, 0xc
lea eax, [ebp - 0x190]
push 0x104
push edi
push eax
call fcn.00420f90
mov al, byte [ebx + 0x22c]
lea esi, [ebx + 0x22c]
add esp, 0xc
test al, al
je 0x416c85
nop dword [eax]
nop dword [eax + eax]
movsx ecx, al
lea edx, [ebp - 0x198]
call fcn.0040d050
test eax, eax
js 0x416c47
cmp dword [ebp - 0x198], 0x100000
jne 0x416c47
cmp dword [ebp - 0x194], 0
je 0x416c52
mov al, byte [esi + 1]
inc esi
inc edi
test al, al
jne 0x416c20
jmp 0x416c85
movsx eax, byte [ebx + edi + 0x22c]
push eax
push str._C:_
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00401010
lea eax, [ebp - 0x88]
push eax
push str.Find_the_partition_1_logical_drive_is__s
call fcn.00414ac0
add esp, 0x18
push 0x44343c
lea esi, [ebx + 0x270]
push 0x10
push esi
call fcn.00401010
mov cl, byte [ebp - 0x88]
add esp, 0xc
test cl, cl
je 0x416dd6
call fcn.00416af0
push 0x104
mov dword [ebx + 0x26c], eax
lea eax, [ebp - 0x190]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x416da8
lea eax, [ebp - 0x190]
push 0x43ffd0
push eax
call fcn.0042622f
add esp, 8
test eax, eax
jne 0x416cfe
push 0x43ffd0
jmp 0x416d6b
lea eax, [ebp - 0x190]
push 0x43ffd8
push eax
call fcn.0042622f
add esp, 8
test eax, eax
jne 0x416d1d
push 0x43ffd8
jmp 0x416d6b
lea eax, [ebp - 0x190]
push 0x43ff98
push eax
call fcn.0042622f
add esp, 8
test eax, eax
je 0x416d66
lea eax, [ebp - 0x190]
push 0x43feb0
push eax
call fcn.0042622f
add esp, 8
test eax, eax
je 0x416d66
lea eax, [ebp - 0x190]
push eax
push 0x43be74
push 0x10
push esi
call fcn.00401010
add esp, 0x10
jmp 0x416d76
push 0x43feb0
push 0x10
push esi
call fcn.00401010
add esp, 0xc
push esi
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [ebx + 4]
push str.GetVentoyFsNameInPhyDrive__d__s___s____s_
call fcn.00414ac0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
push str.GetVolumeInformationA__s_failed__u
call fcn.00414ac0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x88]
push eax
push str.GetVentoyFsNameInPhyDrive__s_not_found
call fcn.00414ac0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x418260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 4], eax
imul ecx, ecx, 0x64
mov eax, 0x3e0f83e1
push esi
mov dword [ebp - 0x8c], 0
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x4441dc
lea eax, [ebp - 0x88]
push 0x80
push eax
call fcn.00401010
push 0x4441e0
mov esi, eax
lea eax, [ebp - 0x8c]
push str.cli_percent.txt
push eax
call fcn.0042528c
mov ecx, dword [ebp - 0x8c]
add esp, 0x1c
test ecx, ecx
je 0x418300
push ecx
push esi
lea eax, [ebp - 0x88]
push 1
push eax
call fcn.004246d7
push dword [ebp - 0x8c]
push 1
push 1
push 0x442c3c
call fcn.004246d7
push dword [ebp - 0x8c]
call fcn.00425151
add esp, 0x24
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x419320
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x444504
lea eax, [ebp - 0x108]
push 0x40
push eax
call fcn.004029f0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
xor edi, edi
xor esi, esi
nop word [eax + eax]
push edi
push 0x444520
lea eax, [ebp - 0x88]
push 0x40
push eax
call fcn.004029f0
mov eax, dword [0x44942c]
add esp, 0x10
add eax, 0x304
add eax, esi
push str.._ventoylanguages.ini
push 0x80
push eax
push 0x444558
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
call ebx
sub esi, 0xffffff80
inc edi
cmp esi, 0x1c00
jl 0x419360
push 0x100000
call fcn.0042442e
mov esi, eax
add esp, 4
mov dword [ebp - 0x118], esi
test esi, esi
je 0x4195a6
push str.._ventoylanguages.ini
push 0x80000
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [esi], 0
mov ebx, esi
mov edi, dword [0x44942c]
mov dword [ebp - 0x10c], esi
je 0x41958a
nop word [eax + eax]
cmp dword [0x44941c], 0xc8
jge 0x419584
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 9
jl 0x419567
mov ecx, 0x44455c
mov edx, ebx
mov esi, 0xe
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x419567
add ecx, 4
add edx, 4
sub esi, 4
jae 0x419430
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x419567
lea eax, [ebx + 0x12]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.._ventoylanguages.ini
push 0x100
lea eax, [edi + 0x200]
push eax
push 0x444558
push 0x444570
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.._ventoylanguages.ini
push 0xa
push 0x444588
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ebx, ebx
mov dword [edi + 0x300], eax
xor ecx, ecx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ecx
nop word [eax + eax]
mov eax, dword [0x44942c]
lea esi, [ebx + 0x1f04]
push str.._ventoylanguages.ini
push 0x800
add esi, edi
add eax, 0x304
push esi
push 0x444558
add eax, ecx
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0
je 0x41952e
mov ecx, ebx
mov eax, ebx
nop dword [eax + eax]
movzx edx, word [ecx + edi + 0x1f06]
test dx, dx
je 0x419528
cmp word [ecx + edi + 0x1f04], 0x23
jne 0x419518
cmp edx, 0x40
jne 0x419518
mov dword [ecx + edi + 0x1f04], 0xa000d
add eax, 2
mov ecx, eax
cmp word [edi + eax + 0x1f04], 0
jne 0x4194f0
mov ebx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
add ebx, 0x800
sub ecx, 0xffffff80
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ecx
cmp ecx, 0x1c00
jl 0x4194b0
inc dword [0x44941c]
add edi, 0x1df04
mov ebx, dword [ebp - 0x10c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2]
add ebx, 2
mov dword [ebp - 0x10c], ebx
cmp word [ebx], 0
jne 0x419400
mov esi, dword [ebp - 0x118]
push esi
call fcn.0042422d
add esp, 4
push dword [0x44941c]
push str.Total__d_languages_...
call fcn.00414ac0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x41d600
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
or edx, 0xffffffff
push edi
add dword [esi + 0xa4], 0xfffffffc
lea edi, [esi + 0xa8]
mov ebx, dword [esi + 0xa4]
test ebx, ebx
je 0x41d63a
nop
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x44b228]
sub ebx, 1
jne 0x41d620
mov edi, dword [esi + 0xa4]
not edx
movzx ecx, byte [edi + esi + 0xab]
movzx eax, byte [edi + esi + 0xaa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + esi + 0xa9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + esi + 0xa8]
shl ecx, 8
or ecx, eax
cmp edx, ecx
jne 0x41d838
lea ebx, [esi + 0xa0]
mov dword [ebx], 2
mov al, byte [esi + 0xa9]
test al, 0x3f
jne 0x41d82f
test al, 0x40
je 0x41d6c2
push edi
lea edi, [esi + 0xa8]
mov ecx, esi
push ebx
mov edx, edi
call fcn.0041d500
add esp, 8
cmp eax, 1
jne 0x41d838
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov al, byte [esi + 0xa9]
jmp 0x41d6ce
or ecx, 0xffffffff
lea edi, [esi + 0xa8]
or edx, 0xffffffff
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
test al, al
jns 0x41d6fc
push dword [esi + 0xa4]
mov edx, edi
mov ecx, esi
push ebx
call fcn.0041d500
add esp, 8
cmp eax, 1
jne 0x41d838
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
jmp 0x41d702
or eax, 0xffffffff
or ecx, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov edx, dword [esi + 0xa4]
mov eax, edx
mov ecx, dword [ebx]
sub eax, ecx
cmp eax, 2
jb 0x41d838
mov al, byte [ecx + esi + 0xa8]
inc ecx
mov dword [ebx], ecx
cmp al, 0x21
jne 0x41d82f
mov al, byte [ecx + esi + 0xa8]
inc ecx
mov dword [ebx], ecx
cmp al, 1
jne 0x41d82f
sub edx, ecx
cmp edx, 1
jb 0x41d838
mov dl, byte [ecx + esi + 0xa8]
lea eax, [ecx + 1]
mov edi, dword [esi + 0x4a8]
mov dword [ebx], eax
cmp dl, 0x27
ja 0x41d82f
movzx eax, dl
mov ecx, eax
and eax, 1
shr ecx, 1
add eax, 2
add ecx, 0xb
shl eax, cl
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x30], eax
test ecx, ecx
je 0x41d7cd
cmp eax, dword [edi + 0x34]
jbe 0x41d791
pop edi
pop esi
mov eax, 4
pop ebx
ret
mov dword [edi + 0x2c], eax
cmp ecx, 2
jne 0x41d7cd
cmp dword [edi + 0x38], eax
jae 0x41d7cd
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x41d7b1
push ecx
call fcn.0042422d
mov eax, dword [edi + 0x30]
add esp, 4
push eax
call fcn.0042442e
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
jne 0x41d7cd
mov dword [edi + 0x38], eax
mov eax, 3
pop edi
pop esi
pop ebx
ret
mov dword [edi + 0x68], 0
mov dword [edi + 0x40], 0
mov byte [edi + 0x50], 1
mov dword [edi + 0x6ee4], 0
mov edx, dword [esi + 0xa4]
mov ecx, dword [ebx]
cmp ecx, edx
jae 0x41d807
mov al, byte [ecx + esi + 0xa8]
inc ecx
mov dword [ebx], ecx
test al, al
jne 0x41d82f
cmp ecx, edx
jb 0x41d7f5
pop edi
mov dword [esi + 0x40], 0
xor eax, eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
pop esi
mov dword [ebx], 0
pop ebx
ret
pop edi
pop esi
mov eax, 6
pop ebx
ret
pop edi
pop esi
mov eax, 7
pop ebx
ret
Function at 0x428ddb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
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 0x428e48
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004289bd
push eax
push esi
push dword [ebp + 8]
call fcn.00428972
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004289ad
pop ss
adc dword [ecx + 0x59], edx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
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.004289ad
cmp bh, al
lea eax, gs:[ebp - 0x84]
push eax
call fcn.004289bd
push eax
push esi
push dword [ebp + 8]
call fcn.00428972
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je fcn.004291a6
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0042891e
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x428f1d
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0042891e
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x428eea
call fcn.004289ad
mov bl, 0x59
add al, 0x68
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
Function at 0x429096
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x429084
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
push esp
invalid
invalid
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x429100
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 0x4290e7
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4290f0
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je fcn.004290fa
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4290dc
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x429066
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 0x42914d
dec eax
je 0x429144
sub eax, 3
je 0x42913b
mov dword [ebp - 4], 0x40
jmp 0x42916a
mov dword [ebp - 4], 4
jmp 0x429150
mov dword [ebp - 4], 0x20
jmp 0x429150
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 0x42919c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x42911c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004289ad
inc ebp
sbb ah, cl
stc
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x4291a8
Function at 0x4290fa
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x429084
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
push esp
invalid
invalid
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x429100
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 0x4290e7
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4290f0
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je fcn.004290fa
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4290dc
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x429066
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 0x42914d
dec eax
je 0x429144
sub eax, 3
je 0x42913b
mov dword [ebp - 4], 0x40
jmp 0x42916a
mov dword [ebp - 4], 4
jmp 0x429150
mov dword [ebp - 4], 0x20
jmp 0x429150
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 0x42919c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x42911c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004289ad
inc ebp
sbb ah, cl
stc
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x4291a8
Function at 0x42c02b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042bea1
Function at 0x4023f0
Capabilities:
Get file size

Disassembly:
push ecx
cmp byte [ecx + 0x10], 0
push esi
je 0x402436
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
mov dword [eax], 0
mov dword [eax + 4], 0
cmp dword [ecx + 0x18], edi
jbe 0x40242e
xor edx, edx
push ebx
mov esi, dword [ecx + 0x14]
mov ebx, dword [esi + edx + 8]
add dword [eax], ebx
mov esi, dword [esi + edx + 0xc]
adc dword [eax + 4], esi
inc edi
add edx, 0x10
cmp edi, dword [ecx + 0x18]
jb 0x402414
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 4
mov ecx, dword [ecx + 8]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40245d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40245d
xor al, al
pop esi
pop ecx
ret 4
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
call fcn.004e4480
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ecx
ret 4