Function at 0x10067b5e
Capabilities:
Get file size

Disassembly:
mov eax, 0x10139068
call fcn.1007db34
sub esp, 0x80
push ebx
push esi
push edi
push 0xf
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x8b]
mov byte [ebp - 0x8c], bl
mov esi, dword [ebp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
mov dword [ebp - 0x48], ebx
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x8c]
push 0x40
push eax
push dword [esi + 0x1f4]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], ebx
push dword [esi + 0x1ec]
push dword [esi + 0x20]
call fcn.10070e2f
add esp, 0x20
cmp eax, ebx
mov dword [ebp - 0x40], eax
je 0x10067fb4
push eax
call fcn.1005fb73
cmp eax, ebx
pop ecx
mov dword [ebp - 0x44], eax
je 0x10067fbd
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0x28]
mov edi, eax
push edi
push dword [ebp + 0xc]
call fcn.100615fb
add esp, 0xc
test eax, eax
je 0x10067fc6
mov eax, dword [ebp + 0x1c]
cmp dword [ebp - 0x30], ebx
mov dword [eax], 1
mov eax, dword [ebp + 0x10]
je 0x10067c1f
or dword [eax + 0x24], 8
cmp dword [ebp - 0x34], ebx
je 0x10067c28
or dword [eax + 0x24], 0x10
push dword [ebp + 8]
call fcn.10071121
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x28]
push eax
lea eax, [ebp - 0x8c]
push dword [ebp - 0x1c]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
push eax
call fcn.10074cd3
add esp, 0x10
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0x38], 0x3e0
mov dword [esi + 0x3c], ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x40], ebx
push dword [ebp + 8]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
call edi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call edi
push dword [ebp + 0x10]
call fcn.1006bad2
mov dword [esp], 0x3e0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10066afd
add esp, 0xc
test eax, eax
je 0x10067fcf
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x2c], ebx
cmp eax, ebx
mov dword [ebp + 0x14], ebx
jne 0x10067cdf
cmp dword [esi + 0x1c], ebx
jne 0x10067cdf
mov dword [ebp - 0x2c], 1
mov dword [ebp + 0x14], ebx
jmp 0x10067ead
cmp dword [esi + 0x1c], ebx
mov ecx, 0x10000
mov dword [ebp + 0x1c], ecx
jne 0x10067cf3
cmp eax, ecx
jae 0x10067cf3
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x1c]
call fcn.1007e238
mov edi, dword [ebp - 0x44]
pop ecx
push dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
add eax, 4
push eax
mov dword [ebp - 0x38], eax
call fcn.1007e238
pop ecx
mov dword [ebp - 0x44], eax
push ebx
push ebx
push dword [esi + 0x38]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x14]
call fcn.1007e1e0
push dword [ebp - 0x38]
push ebx
push dword [ebp - 0x10]
call fcn.1007e1e0
push ebx
lea eax, [ebp - 0x20]
push ebx
push eax
push dword [ebp + 0x1c]
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.1007354a
add esp, 0x30
test eax, eax
je 0x10067e04
cmp dword [ebp - 0x20], ebx
je 0x10067e0d
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x8c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push eax
push edi
call fcn.1006c142
add esp, 0x28
cmp eax, ebx
jne 0x10067e16
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
add eax, 4
push eax
call fcn.10074cb0
mov ecx, dword [ebp - 0x10]
push ebx
mov dword [ecx], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x3c], ebx
push eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.10073654
add esp, 0x1c
test eax, eax
je 0x10067e64
mov eax, dword [ebp - 0x18]
add eax, 4
cmp dword [ebp - 0x3c], eax
jb 0x10067e6b
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
jne 0x10067df8
mov dword [esi + 0x40], eax
inc ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x3c], ecx
jmp 0x10067d33
push 0x1c84
push 0xd
jmp 0x10067e72
mov dword [ebp - 0x2c], 1
jmp 0x10067e80
jge 0x10067e5b
push 0x1019f4bc
lea ecx, [ebp + 8]
call fcn.10094520
push 0x1c97
lea eax, [ebp + 8]
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
push dword [ebp - 0x20]
push dword [ebp - 0x40]
push str.Error:_Encrypt_Data_Failed__File__Algrithm_d__DataLen_lu_KeyLen_lu__LINE_d
push eax
call fcn.10097c40
push dword [ebp + 8]
call fcn.10072272
or dword [ebp - 4], 0xffffffff
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.10094cc0
push 0x1c9b
push 0x11
jmp 0x10067e72
push 0x1ca5
jmp 0x10067e70
push 0x1cac
push 0xe
call fcn.100680dd
pop ecx
mov dword [ebp + 0x14], 1
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x10067e8e
push dword [ebp - 0x14]
call fcn.1007de95
pop ecx
cmp dword [ebp - 0x44], ebx
je 0x10067e9c
push dword [ebp - 0x44]
call fcn.1007de95
pop ecx
cmp dword [ebp - 0x24], ebx
je 0x10067ead
push dword [ebp - 0x24]
call fcn.1007de95
pop ecx
mov dword [ebp - 0x24], ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0x2c], ebx
je 0x10067fed
cmp dword [ebp + 0x14], ebx
jne 0x10067fed
cmp dword [ebp + 0x18], ebx
mov dword [ebp - 0x48], 1
je 0x10067f77
mov eax, dword [esi + 0x3c]
cmp eax, ebx
jne 0x10067ef1
mov dword [esi + 0x378], 0x3e0
mov dword [esi + 0x37c], ebx
jmp 0x10067f19
push ebx
dec eax
push dword [esi + 0x40]
push ebx
push eax
call fcn.1007ea30
mov ecx, dword [esi + 0x44]
xor edi, edi
add eax, ecx
adc edx, edi
add eax, 0x3e0
adc edx, ebx
mov dword [esi + 0x378], eax
mov dword [esi + 0x37c], edx
push dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
push esi
push dword [edi + 0x20]
push dword [ebp + 0xc]
call fcn.10069087
add esp, 0x10
test eax, eax
je 0x10067f69
push dword [ebp + 0x18]
add edi, 0x24
push edi
call fcn.100721af
push dword [ebp + 0x18]
or dword [edi], 4
call fcn.10074d62
add esp, 0xc
test eax, eax
jne 0x10067f53
or dword [edi], 1
mov eax, dword [ebp + 0x18]
add eax, 0x10
push eax
call fcn.10074d62
test eax, eax
pop ecx
jne 0x10067f77
or dword [edi], 2
jmp 0x10067f77
push 0x1cf3
push 0x10
call fcn.100680dd
pop ecx
pop ecx
push dword [ebp + 0x10]
call fcn.1006baf3
push esi
push dword [ebp + 0x10]
call fcn.1006b971
add esp, 0xc
test eax, eax
je 0x10067fd6
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x3e0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10066afd
add esp, 0xc
test eax, eax
je 0x10067fdf
jmp 0x10067fed
push 0x1c19
push 0xb
jmp 0x10067fe6
push 0x1c20
push 0xc
jmp 0x10067fe6
push 0x1c2f
push 0x25
jmp 0x10067fe6
push 0x1c5a
jmp 0x10067fe4
push 0x1cfd
push 0x13
jmp 0x10067fe6
push 0x1d05
push 0x10
call fcn.100680dd
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret