Function at 0x10364c70
Capabilities:
Move file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10416183
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x104c5878]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0xb0], ebx
mov esi, ecx
mov dword [ebp - 0xb4], esi
mov dl, 1
mov ecx, ebx
call fcn.103658d0
test ebx, ebx
je 0x10364cd4
mov ecx, ebx
mov dword [ebp - 0x64], ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10364cc3
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
jmp 0x10364ce2
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
test esi, esi
je 0x10364d01
mov ecx, esi
mov dword [ebp - 0x5c], esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10364cf0
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x58], eax
jmp 0x10364d0f
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xac]
call fcn.1035f180
mov dword [ebp - 4], 2
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xa0]
call fcn.1035f180
mov byte [ebp - 4], 5
push dword [ebp - 0xac]
push dword [ebp - 0xa0]
call fcn.103de46c
add esp, 8
test eax, eax
sete byte [ebp - 0x45]
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x10364de8
call fcn.10367720
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xac]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x10364e18
call fcn.10367720
mov dword [ebp - 0xac], 0
cmp byte [ebp - 0x45], 0
je 0x10364e25
mov al, 1
jmp 0x10364faa
mov ecx, ebx
call fcn.10365350
mov dword [ebp - 0x7c], 0x104771c4
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x7c], vtable.os::File.0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x94], 0x104771c4
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x94], vtable.os::File.0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x90], 0
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0xe
mov ecx, 0x200000
mov dword [ebp - 0x4c], 0x200000
call fcn.103675e0
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x10364fc6
mov dword [ebp - 0x4c], eax
xor bl, bl
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10364f1e
mov ecx, eax
call fcn.10367720
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x94], vtable.os::File.0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x10364f4d
push eax
call fcn.103d309b
add esp, 4
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x88]
call fcn.10367720
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x7c], vtable.os::File.0
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x10364f92
push eax
call fcn.103d309b
add esp, 4
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x70]
call fcn.10367720
mov dword [ebp - 0x70], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.103b6385
mov esp, ebp
pop ebp
ret
push 0
push 0x104741c8
push esi
lea ecx, [ebp - 0x7c]
call fcn.10364690
test al, al
je 0x10364f03
push 1
push 0x1047718c
push ebx
lea ecx, [ebp - 0x94]
call fcn.10364690
test al, al
je 0x10364f03
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x78]
call fcn.103e296c
add esp, 4
push eax
call fcn.103de456
mov edi, dword [ebp - 0x30]
xor ebx, ebx
mov eax, edi
add esp, 8
or eax, ebx
je 0x10365085
nop dword [eax]
test ebx, ebx
ja 0x10365035
jb 0x1036502e
cmp edi, 0x200000
jae 0x10365035
mov esi, edi
mov dword [ebp - 0x58], ebx
jmp 0x10365041
mov esi, 0x200000
mov dword [ebp - 0x58], 0
push dword [ebp - 0x78]
push esi
push 1
push dword [ebp - 0x50]
call fcn.103db4a1
add esp, 0x10
cmp eax, esi
jne 0x103650df
push dword [ebp - 0x90]
push esi
push 1
push dword [ebp - 0x50]
call fcn.103d6725
add esp, 0x10
cmp eax, esi
jne 0x103650d6
mov eax, esi
cdq
sub edi, eax
mov eax, edi
sbb ebx, edx
or eax, ebx
jne 0x10365020
mov esi, dword [ebp - 0xb4]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10365120
test al, al
je 0x103650b1
push dword [ebp - 0x58]
lea ecx, [ebp - 0x94]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.103651b0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x103650c8
push eax
call fcn.103d309b
add esp, 4
mov dword [ebp - 0x78], 0
mov ecx, esi
call fcn.10365380
mov bl, 1
jmp 0x10364f05
mov byte [ebp - 0x8c], 1
jmp 0x103650e3
mov byte [ebp - 0x74], 1
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x10364f03
push eax
call fcn.103d309b
mov ecx, dword [ebp - 0xb0]
add esp, 4
mov dword [ebp - 0x90], 0
call fcn.10365380
jmp 0x10364f03