Function at 0x100128a0
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095cc2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x398
mov eax, dword [0x100c29e4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x154], ecx
cmp dword [0x100c286c], 8
lea ecx, [ebx + 8]
mov esi, dword [0x100c2868]
mov edi, 0x100c2858
cmovae edi, dword [0x100c2858]
cmp dword [ebx + 0x1c], 8
mov eax, dword [ebx + 0x18]
cmovae ecx, dword [ebx + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x158], ecx
cmp esi, eax
ja 0x100129a5
sub eax, esi
test esi, esi
je 0x100129a5
inc eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0x164], eax
nop dword [eax]
sub eax, ecx
sar eax, 1
je 0x100129a5
movzx edx, word [edi]
nop dword [eax]
cmp word [ecx], dx
je 0x1001295f
add ecx, 2
sub eax, 1
jne 0x10012950
jmp 0x100129a5
test ecx, ecx
je 0x100129a5
cmp dword [0x100c2868], 0
mov edx, edi
jbe 0x10012995
mov edi, ecx
sub edi, dword [ebp - 0x150]
nop word [eax + eax]
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x10012a75
add edx, 2
sub esi, 1
jne 0x10012980
sub ecx, dword [ebp - 0x158]
sar ecx, 1
test ecx, ecx
jg 0x100131ae
push 1
lea ecx, [ebp - 0x3a4]
call fcn.10017710
push 1
lea ecx, [ebp - 0x39c]
call fcn.1000d200
mov dword [ebp - 0x3a8], 0x1009e7e4
mov dword [ebp - 0x3a4], 0x1009e814
mov dword [ebp - 0x3a0], 0x1009e838
push 0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.1000da90
mov dword [ebp - 0x98], vtable.CryptoPP::StringSource.0
mov dword [ebp - 0x94], vtable.CryptoPP::StringSource.1.0
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
cmp dword [0x100c2854], 0x10
mov ecx, 0x100c2840
mov eax, dword [0x100c2850]
cmovae ecx, dword [0x100c2840]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x54], 0
push 1
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push str.InputBuffer
push eax
call fcn.1000c7a0
add esp, 0x10
mov ecx, dword [ebp - 0x98]
mov byte [ebp - 4], 6
push eax
mov edx, dword [ecx + 0x20]
cmp edx, method.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.virtual_32
jne 0x10012a8f
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x7c]
call dword [eax + 0x20]
jmp 0x10012a97
mov edi, dword [ebp - 0x150]
add ecx, 2
mov esi, dword [0x100c2868]
mov eax, dword [ebp - 0x164]
jmp 0x10012940
lea ecx, [ebp - 0x98]
call edx
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x98]
push 1
mov eax, dword [eax + 0xc8]
cmp eax, fcn.10014820
jne 0x10012ab9
call fcn.10014820
jmp 0x10012abb
call eax
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x10012acc
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x2c], vtable.CryptoPP::NameValuePairs.0
mov eax, dword [ebp - 0x394]
lea ecx, [ebp - 0x394]
lea edx, [ebp - 0x98]
mov byte [ebp - 4], 9
push edx
add ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x98], vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.0
mov dword [ebp - 0x94], vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.1.0
test ecx, ecx
je 0x10012b16
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
movsd xmm0, qword [0x1009eb80]
cmovae eax, dword [ebx + 8]
push 0x80
push eax
mov dword [ebp - 4], 1
movsd qword [ebp - 0x178], xmm0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push 0
cmovae eax, dword [ebx + 8]
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100131a3
lea eax, [ebp - 0x1a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10012b91
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100131a3
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x144]
mov esi, dword [ebp - 0x1a0]
push 1
mov dword [ebp - 0x14c], eax
call fcn.10017710
push 1
lea ecx, [ebp - 0x140]
call fcn.10017710
lea eax, [ebp - 0x120]
mov dword [ebp - 0x138], 0xffffffff
and eax, 0xf
mov dword [ebp - 0x134], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x130], 0
add eax, ecx
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0xb0], 0x3fffffff
mov dword [ebp - 0xac], 0x18
mov byte [ebp - 0xb7], 1
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0x14
mov dword [ebp - 0x148], 0x1009e940
mov dword [ebp - 0x144], 0x1009e988
mov dword [ebp - 0x140], 0x1009e9cc
mov dword [ebp - 0x128], 0x1009ea00
push 0x38
mov byte [ebp - 4], 0xb
call fcn.10065a24
push 0x20
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x194], 0xffffffff
mov dword [ebp - 0x190], 0x20
call fcn.1001c110
mov dword [ebp - 0x18c], eax
push 0x18
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x184], 0xffffffff
mov dword [ebp - 0x180], 0x18
call fcn.1001c110
add esp, 0xc
mov dword [ebp - 0x17c], eax
push 0x20
push dword [ebp - 0x18c]
mov ecx, 0x100c7e18
mov byte [ebp - 4], 0xd
call fcn.100187a0
push 0x18
push dword [ebp - 0x17c]
mov ecx, 0x100c7e18
call fcn.100187a0
push 0x18
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x148]
push 0x20
push dword [ebp - 0x18c]
call fcn.100194c0
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x164]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ebp - 0x17c]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x3a8]
push eax
push edi
movq qword [ecx + 0x30], xmm0
push ecx
mov ecx, dword [ebp - 0x154]
call fcn.100111b0
mov eax, dword [ebp - 0x14c]
test eax, eax
jg 0x10012e32
jl 0x10012d51
cmp esi, 0x1388
jae 0x10012e1c
movsd xmm0, qword [0x1009eb88]
movsd qword [ebp - 0x178], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x160], ecx
mov ecx, esi
mov dword [ebp - 0x168], edx
sub ecx, dword [ebp - 0x160]
push 0
push 0x40
sbb eax, edx
push eax
push ecx
call fcn.10065d60
movsd xmm0, qword [ebp - 0x178]
mov ecx, edx
mulsd xmm0, qword [0x1009eb70]
mov dword [ebp - 0x158], ecx
mov ecx, eax
mov dword [ebp - 0x150], eax
movsd qword [ebp - 0x178], xmm0
call fcn.10065fc0
mulsd xmm0, qword [ebp - 0x178]
call fcn.10065f10
mov ecx, eax
or ecx, edx
jne 0x10012e8a
cmp dword [ebp - 0x14c], ecx
jl 0x10012fd7
jg 0x10012dea
test esi, esi
je 0x10012fd7
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x258]
call fcn.1000db90
mov ecx, dword [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x14c]
push eax
push esi
push eax
push esi
push 0
push 0
push edi
call fcn.100131f0
jmp 0x10012fd7
test eax, eax
jl 0x10012d61
jg 0x10012e32
cmp esi, 0x40000000
jbe 0x10012d61
movsd xmm0, qword [0x1009eb78]
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x258]
movsd qword [ebp - 0x178], xmm0
call fcn.1000db90
mov ecx, dword [ebp - 0x154]
push eax
push dword [ebp - 0x14c]
push esi
push 0
push 0x1388
push 0
push 0
push edi
call fcn.100131f0
mov eax, dword [ebp - 0x14c]
xor edx, edx
mov dword [ebp - 0x160], 0x1388
jmp 0x10012d75
push edx
push eax
push dword [ebp - 0x158]
push dword [ebp - 0x150]
call fcn.10065d60
mov ecx, eax
mov dword [ebp - 0x174], eax
or ecx, edx
mov dword [ebp - 0x15c], edx
jne 0x10012ee1
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x258]
call fcn.1000db90
mov ecx, dword [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x14c]
push eax
push esi
push eax
push esi
push 0
push 0
push edi
call fcn.100131f0
jmp 0x10012fd7
cmp dword [ebp - 0x158], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
jl 0x10012fd7
jg 0x10012f05
cmp dword [ebp - 0x150], 0
jbe 0x10012fd7
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x16c], eax
nop word [eax + eax]
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x258]
call fcn.1000cef0
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x14c]
mov eax, dword [ebp - 0x170]
shld eax, ecx, 6
push esi
shl ecx, 6
add ecx, dword [ebp - 0x160]
push 0
adc eax, dword [ebp - 0x168]
push 0x40
push eax
push ecx
mov ecx, dword [ebp - 0x154]
push edi
mov dword [ebp - 0x258], 0x1009e940
mov dword [ebp - 0x254], 0x1009e988
mov dword [ebp - 0x250], 0x1009e9cc
mov dword [ebp - 0x238], 0x1009ea00
call fcn.100131f0
mov eax, dword [ebp - 0x16c]
add eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x170]
adc ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x170], ecx
cmp ecx, dword [ebp - 0x158]
jl 0x10012f20
jg 0x10012fd7
cmp eax, dword [ebp - 0x150]
jb 0x10012f20
mov eax, dword [ebp - 0x164]
push eax
call fcn.10065a2d
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 8
lea esi, [ebx + 8]
push 0xa
cmovae esi, dword [ebx + 8]
lea ecx, [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x50], 0
push 0x1009d6e0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.10007f80
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x50]
push eax
push 0
mov byte [ebp - 4], 0xe
call fcn.100092d0
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [eax]
mov byte [ebp - 4], 0xd
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x100130b6
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100130ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100131d6
push ecx
push edx
call fcn.10065a16
add esp, 8
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x10013103
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100130f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100131db
push ecx
push edx
call fcn.10065a16
add esp, 8
mov edx, dword [ebp - 0x17c]
mov byte [ebp - 4], 0xf
test edx, edx
je 0x10013125
mov edi, edx
xor al, al
mov ecx, 0x18
rep stosb byte es:[edi], al
push edx
call fcn.1001c170
add esp, 4
mov edx, dword [ebp - 0x18c]
mov byte [ebp - 4], 0x10
test edx, edx
je 0x10013147
mov edi, edx
xor al, al
mov ecx, 0x20
rep stosb byte es:[edi], al
push edx
call fcn.1001c170
add esp, 4
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 0x1009e940
mov dword [ebp - 0x144], 0x1009e988
mov dword [ebp - 0x140], 0x1009e9cc
mov dword [ebp - 0x128], 0x1009ea00
call fcn.1000efa0
jmp 0x100131a3
lea ecx, [ebp - 0x3a8]
call fcn.1000f300
lea ecx, [ebx + 8]
call fcn.10003fb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10065d4c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.10071200
call fcn.10071200
int3