Function at 0x48b62b
Capabilities:
Check if file exists
Get file size
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x500dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], 1
cmp eax, 2
jne 0x48b7ed
cmp dword [ebp + 0x10], ebx
jbe 0x48c4ed
cmp edi, ebx
je 0x48c4ed
lea esi, [esp + 0x14]
call fcn.00404790
mov dword [esp + 0x168], ebx
push 0x25
push dword [edi]
call fcn.004ce890
mov edx, dword [edi]
pop ecx
pop ecx
test eax, eax
je 0x48b720
lea ecx, [esp + 0x18]
call fcn.00466a28
mov byte [esp + 0x168], 1
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48b715
cmp dword [esi + 0xc], ebx
jl 0x48b708
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48b708
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x48b715
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x18]
call fcn.0042afc0
jmp 0x48b72b
lea ebx, [esp + 0x14]
call fcn.00417210
xor ebx, ebx
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x48b760
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 2
cmp eax, ebx
je 0x48b7de
push ebx
push 2
jmp 0x48b7d7
push ebx
push 0x80
push 2
push ebx
push 5
push 0xc0000000
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x54cfe0
push 0x10
mov esi, eax
call fcn.004cba2a
pop ecx
mov dword [esp + 0x28], eax
pop ecx
cmp esi, 0xffffffff
je 0x48b7c9
mov byte [esp + 0x168], 3
cmp eax, ebx
je 0x48b7a9
push ebx
push 1
call fcn.00431050
jmp 0x48b7ab
xor eax, eax
mov ecx, dword [esp + 0x20]
push eax
mov byte [esp + 0x16c], 0
call fcn.0040ed50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48ba3e
mov byte [esp + 0x168], 4
cmp eax, ebx
je 0x48b7de
push ebx
push ebx
call fcn.00431050
jmp 0x48b7e0
xor eax, eax
mov byte [esp + 0x168], 0
jmp 0x48ba34
cmp eax, 3
jne 0x48b932
cmp dword [ebp + 0x10], ebx
jbe 0x48c4ed
cmp edi, ebx
je 0x48c4ed
lea esi, [esp + 0x14]
call fcn.00404790
mov dword [esp + 0x168], 5
push 0x25
push dword [edi]
call fcn.004ce890
mov edx, dword [edi]
pop ecx
pop ecx
test eax, eax
je 0x48b88f
lea ecx, [esp + 0x18]
call fcn.00466a28
mov byte [esp + 0x168], 6
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48b87c
cmp dword [esi + 0xc], ebx
jl 0x48b86f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48b86f
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x48b87c
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x18]
mov byte [esp + 0x168], 5
call fcn.0042afc0
jmp 0x48b89a
lea ebx, [esp + 0x14]
call fcn.00417210
xor ebx, ebx
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x48ba3e
push 0x51e1b4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x48ba3e
push ebx
push dword [esp + 0x18]
push ebx
call eax
cmp eax, ebx
je 0x48b8fb
cmp eax, 0xb7
je 0x48b8fb
cmp eax, 0x50
je 0x48b8fb
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 8
cmp eax, ebx
je 0x48b923
push ebx
push ebx
jmp 0x48b91c
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 7
cmp eax, ebx
je 0x48b923
push ebx
push 1
call fcn.00431050
jmp 0x48b925
xor eax, eax
mov byte [esp + 0x168], 5
jmp 0x48ba34
push 7
pop esi
cmp eax, esi
jne 0x48ba47
cmp dword [ebp + 0x10], ebx
jbe 0x48c4ed
cmp edi, ebx
je 0x48c4ed
lea esi, [esp + 0x14]
call fcn.00404790
mov dword [esp + 0x168], 9
push 0x25
push dword [edi]
call fcn.004ce890
mov edx, dword [edi]
pop ecx
pop ecx
test eax, eax
je 0x48b9ce
lea ecx, [esp + 0x18]
call fcn.00466a28
mov byte [esp + 0x168], 0xa
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48b9c3
cmp dword [esi + 0xc], ebx
jl 0x48b9b6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48b9b6
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x48b9c3
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x18]
call fcn.0042afc0
jmp 0x48b9d9
lea ebx, [esp + 0x14]
call fcn.00417210
xor ebx, ebx
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push 0x54cfe0
push 0x10
test eax, eax
je 0x48ba0a
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 0xb
cmp eax, ebx
je 0x48ba2a
push ebx
push 1
jmp 0x48ba23
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 0xc
cmp eax, ebx
je 0x48ba2a
push ebx
push ebx
call fcn.00431050
jmp 0x48ba2c
xor eax, eax
mov byte [esp + 0x168], 9
mov ecx, dword [esp + 0x20]
push eax
call fcn.0040ed50
lea eax, [esp + 0x14]
jmp 0x48c441
cmp eax, 0xa
jne 0x48bbf4
cmp dword [ebp + 0x10], 2
jb 0x48c4ed
cmp edi, ebx
je 0x48c4ed
lea esi, [esp + 0x1c]
call fcn.00404790
mov dword [esp + 0x168], 0xd
push 0x25
push dword [edi]
call fcn.004ce890
mov edx, dword [edi]
pop ecx
pop ecx
test eax, eax
je 0x48bae8
lea ecx, [esp + 0x18]
call fcn.00466a28
mov byte [esp + 0x168], 0xe
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48badd
cmp dword [esi + 0xc], ebx
jl 0x48bacc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48bacc
call fcn.00418660
mov ebx, eax
mov eax, esi
call fcn.00408830
add ebx, 0x10
mov dword [esp + 0x1c], ebx
xor ebx, ebx
jmp 0x48badd
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.004185d0
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x18]
call fcn.0042afc0
jmp 0x48baf3
lea ebx, [esp + 0x1c]
call fcn.00417210
xor ebx, ebx
lea esi, [esp + 0x14]
call fcn.00404790
mov byte [esp + 0x168], 0xf
push 0x25
push dword [edi + 4]
call fcn.004ce890
mov edx, dword [edi + 4]
pop ecx
pop ecx
test eax, eax
je 0x48bb72
lea ecx, [esp + 0x18]
call fcn.00466a28
mov byte [esp + 0x168], 0x10
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48bb67
cmp dword [esi + 0xc], ebx
jl 0x48bb5a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48bb5a
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x48bb67
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.004185d0
lea eax, [esp + 0x18]
call fcn.0042afc0
jmp 0x48bb7d
lea ebx, [esp + 0x14]
call fcn.00417210
xor ebx, ebx
push dword [esp + 0x14]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x54cfe0
push 0x10
test eax, eax
je 0x48bbb2
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 0x11
cmp eax, ebx
je 0x48bbd2
push ebx
push 1
jmp 0x48bbcb
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 0x12
cmp eax, ebx
je 0x48bbd2
push ebx
push ebx
call fcn.00431050
jmp 0x48bbd4
xor eax, eax
mov ecx, dword [esp + 0x20]
push eax
mov byte [esp + 0x16c], 0xf
call fcn.0040ed50
lea eax, [esp + 0x14]
call fcn.0042afc0
jmp 0x48c1fc
cmp eax, 0xb
jne 0x48be28
cmp dword [ebp + 0x10], ebx
jbe 0x48c4ed
cmp edi, ebx
je 0x48c4ed
lea esi, [esp + 0x1c]
call fcn.00404790
mov dword [esp + 0x168], 0x13
push 0x25
push dword [edi]
call fcn.004ce890
mov edx, dword [edi]
pop ecx
pop ecx
test eax, eax
je 0x48bc9c
lea ecx, [esp + 0x18]
call fcn.00466a28
mov byte [esp + 0x168], 0x14
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48bc89
cmp dword [esi + 0xc], ebx
jl 0x48bc78
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48bc78
call fcn.00418660
mov ebx, eax
mov eax, esi
call fcn.00408830
add ebx, 0x10
mov dword [esp + 0x1c], ebx
xor ebx, ebx
jmp 0x48bc89
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.004185d0
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x18]
mov byte [esp + 0x168], 0x13
call fcn.0042afc0
jmp 0x48bca7
lea ebx, [esp + 0x1c]
call fcn.00417210
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocString
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x34], eax
cmp eax, 0xffffffff
je 0x48c1fc
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x48be19
cmp dword [ebp + 0x10], 2
mov dword [esp + 0x24], ebx
jb 0x48bcf9
push dword [edi + 4]
call fcn.004cd3d8
pop ecx
mov dword [esp + 0x24], eax
cmp ebx, dword [esp + 0x30]
jg 0x48be19
mov eax, dword [esp + 0x2c]
jl 0x48bd13
cmp dword [esp + 0x24], eax
jae 0x48be19
cmp dword [ebp + 0x10], 3
jb 0x48bd3d
mov esi, dword [edi + 8]
call fcn.004312d0
mov edi, eax
xor eax, eax
mov ecx, edi
add ecx, dword [esp + 0x24]
adc eax, ebx
cmp eax, dword [esp + 0x30]
jl 0x48bd43
mov eax, dword [esp + 0x2c]
jg 0x48bd3d
cmp ecx, eax
jbe 0x48bd43
sub eax, dword [esp + 0x24]
mov edi, eax
cmp edi, ebx
jbe 0x48be19
mov ebx, 0x54cfe0
push ebx
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
test eax, eax
je 0x48bd73
xor ecx, ecx
mov dword [eax], vtable.varstream.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov esi, eax
jmp 0x48bd75
xor esi, esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x168], 0x15
test esi, esi
je 0x48bdff
mov eax, edi
mov ecx, esi
call fcn.0047a801
cmp dword [esi + 8], 0
jbe 0x48bdff
cmp dword [esi + 4], 0
je 0x48bdff
push 0
push 0
xor eax, eax
push eax
push dword [esp + 0x30]
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x48bdff
and dword [esp + 0x18], 0
mov eax, dword [esi + 4]
push 0
lea ecx, [esp + 0x1c]
push ecx
push edi
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48bdff
push ebx
push 0x10
mov dword [esi + 0xc], edi
call fcn.004cba2a
pop ecx
pop ecx
test eax, eax
je 0x48bdf3
and dword [esp + 0x14], 0
mov dword [eax + 8], esi
mov dword [eax], 6
jmp 0x48bdf5
xor eax, eax
mov ecx, dword [esp + 0x20]
push eax
call fcn.0040ed50
mov byte [esp + 0x168], 0x13
cmp dword [esp + 0x14], 0
je 0x48be19
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push 1
call dword [eax + 8]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48c1fc
cmp eax, 0xe
jne 0x48c012
cmp dword [ebp + 0x10], ebx
jbe 0x48c4ed
cmp edi, ebx
je 0x48c4ed
lea esi, [esp + 0x1c]
call fcn.00404790
mov dword [esp + 0x168], 0x16
push 0x25
push dword [edi]
call fcn.004ce890
mov edx, dword [edi]
pop ecx
pop ecx
test eax, eax
je 0x48bec2
lea ecx, [esp + 0x18]
call fcn.00466a28
mov byte [esp + 0x168], 0x17
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48beb7
cmp dword [esi + 0xc], ebx
jl 0x48beaa
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48beaa
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x1c], edi
jmp 0x48beb7
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.004185d0
lea eax, [esp + 0x18]
call fcn.0042afc0
jmp 0x48becd
lea ebx, [esp + 0x1c]
call fcn.00417210
xor ebx, ebx
lea ecx, [esp + 0x34]
call fcn.00408850
lea ecx, [esp + 0x18]
call fcn.00408850
lea ecx, [esp + 0x2c]
call fcn.00408850
mov byte [esp + 0x168], 0x1a
lea eax, [esp + 0x44]
push 3
push dword [esp + 0x20]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
call fcn.004180d0
lea eax, [esp + 0x24]
mov byte [esp + 0x168], 0x1b
mov ecx, dword [esp + 0x40]
push eax
call fcn.004085e0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
mov byte [esp + 0x178], 0x1c
call fcn.004bf3fd
add esp, 0x10
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.004087f0
lea eax, [esp + 0x44]
mov byte [esp + 0x168], 0x1a
cmp dword [esp + 0x40], eax
je 0x48bf64
push dword [esp + 0x40]
call fcn.004cc15e
pop ecx
cmp esi, ebx
je 0x48bff7
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [esp + 0x24], esi
mov byte [esp + 0x168], 0x1d
cmp esi, ebx
je 0x48bfc5
lea eax, [esp + 0x44]
push 3
push dword [esp + 0x38]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
call fcn.00418470
mov byte [esp + 0x168], 0x1e
mov eax, dword [esp + 0x40]
and dword [esi], 0
mov ebx, eax
mov eax, esi
mov dword [esp + 0x14], 1
call fcn.0040c040
jmp 0x48bfc7
xor esi, esi
mov ecx, dword [esp + 0x20]
push esi
mov dword [esp + 0x16c], 0x1f
call fcn.0040ed50
test byte [esp + 0x14], 1
je 0x48bff7
lea eax, [esp + 0x44]
cmp dword [esp + 0x40], eax
je 0x48bff7
push dword [esp + 0x40]
call fcn.004cc15e
pop ecx
lea ecx, [esp + 0x2c]
call fcn.004087f0
lea ecx, [esp + 0x18]
call fcn.004087f0
lea ecx, [esp + 0x34]
jmp 0x48c1f7
cmp eax, 0xf
jne 0x48c205
cmp dword [ebp + 0x10], ebx
jbe 0x48c4ed
cmp edi, ebx
je 0x48c4ed
lea esi, [esp + 0x1c]
call fcn.00404790
mov dword [esp + 0x168], 0x20
push 0x25
push dword [edi]
call fcn.004ce890
mov edx, dword [edi]
pop ecx
pop ecx
test eax, eax
je 0x48c0ac
lea ecx, [esp + 0x24]
call fcn.00466a28
mov byte [esp + 0x168], 0x21
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48c0a1
cmp dword [esi + 0xc], ebx
jl 0x48c094
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48c094
call fcn.00418660
mov edi, eax
mov eax, esi
call fcn.00408830
add edi, 0x10
mov dword [esp + 0x1c], edi
jmp 0x48c0a1
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.004185d0
lea eax, [esp + 0x24]
call fcn.0042afc0
jmp 0x48c0b7
lea ebx, [esp + 0x1c]
call fcn.00417210
xor ebx, ebx
lea ecx, [esp + 0x2c]
call fcn.00408850
lea ecx, [esp + 0x18]
call fcn.00408850
lea ecx, [esp + 0x34]
call fcn.00408850
mov byte [esp + 0x168], 0x24
lea eax, [esp + 0x44]
push 3
push dword [esp + 0x20]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
call fcn.004180d0
lea eax, [esp + 0x24]
mov byte [esp + 0x168], 0x25
mov ecx, dword [esp + 0x40]
push eax
call fcn.004085e0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0x178], 0x26
call fcn.004bf3fd
add esp, 0x10
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.004087f0
lea eax, [esp + 0x44]
mov byte [esp + 0x168], 0x24
cmp dword [esp + 0x40], eax
je 0x48c14e
push dword [esp + 0x40]
call fcn.004cc15e
pop ecx
cmp esi, ebx
je 0x48c1e1
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [esp + 0x24], esi
mov byte [esp + 0x168], 0x27
cmp esi, ebx
je 0x48c1af
lea eax, [esp + 0x44]
push 3
push dword [esp + 0x38]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
call fcn.00418470
mov byte [esp + 0x168], 0x28
mov eax, dword [esp + 0x40]
and dword [esi], 0
mov ebx, eax
mov eax, esi
mov dword [esp + 0x14], 2
call fcn.0040c040
jmp 0x48c1b1
xor esi, esi
mov ecx, dword [esp + 0x20]
push esi
mov dword [esp + 0x16c], 0x29
call fcn.0040ed50
test byte [esp + 0x14], 2
je 0x48c1e1
lea eax, [esp + 0x44]
cmp dword [esp + 0x40], eax
je 0x48c1e1
push dword [esp + 0x40]
call fcn.004cc15e
pop ecx
lea ecx, [esp + 0x34]
call fcn.004087f0
lea ecx, [esp + 0x18]
call fcn.004087f0
lea ecx, [esp + 0x2c]
call fcn.004087f0
lea eax, [esp + 0x1c]
jmp 0x48c441
cmp eax, 0x11
jne 0x48c2c1
cmp dword [ebp + 0x10], 1
jb 0x48c4ed
cmp edi, ebx
je 0x48c4ed
mov edx, dword [edi]
lea ecx, [esp + 0x18]
call fcn.00466a28
push ebx
push 0x80
push 3
push ebx
push esi
push SysReAllocString
mov dword [esp + 0x180], 0x2a
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x48c43d
push ebx
push ebx
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x48c436
lea esi, [esp + 0x2c]
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0046739d
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 0x2b
cmp eax, ebx
je 0x48c2b2
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.00431080
jmp 0x48c2b4
xor eax, eax
mov byte [esp + 0x168], 0x2a
jmp 0x48c42c
cmp eax, 0x12
jne 0x48c37d
cmp dword [ebp + 0x10], 1
jb 0x48c4ed
cmp edi, ebx
je 0x48c4ed
mov edx, dword [edi]
lea ecx, [esp + 0x18]
call fcn.00466a28
push ebx
push 0x80
push 3
push ebx
push esi
push SysReAllocString
mov dword [esp + 0x180], 0x2c
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x48c43d
lea eax, [esp + 0x34]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x48c436
lea esi, [esp + 0x2c]
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0046739d
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 0x2d
cmp eax, ebx
je 0x48c36e
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.00431080
jmp 0x48c370
xor eax, eax
mov byte [esp + 0x168], 0x2c
jmp 0x48c42c
cmp eax, 0x13
jne 0x48c44b
cmp dword [ebp + 0x10], 1
jb 0x48c4ed
cmp edi, ebx
je 0x48c4ed
mov edx, dword [edi]
lea ecx, [esp + 0x18]
call fcn.00466a28
push ebx
push 0x80
push 3
push ebx
push esi
push SysReAllocString
mov dword [esp + 0x180], 0x2e
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x48c43d
push ebx
lea eax, [esp + 0x38]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x48c436
lea esi, [esp + 0x2c]
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0046739d
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x168], 0x2f
cmp eax, ebx
je 0x48c422
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.00431080
jmp 0x48c424
xor eax, eax
mov byte [esp + 0x168], 0x2e
mov ecx, dword [esp + 0x20]
push eax
call fcn.0040ed50
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
call fcn.0042afc0
jmp 0x48c4ed
cmp eax, 0x17
jne 0x48c4de
cmp dword [ebp + 0x10], 1
jb 0x48c4ed
cmp edi, ebx
je 0x48c4ed
xor eax, eax
lea edi, [esp + 0x144]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
lea eax, [esp + 0x148]
push eax
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
call fcn.004312d0
push eax
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeA]
test eax, eax
je 0x48c4ed
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x168], 0x30
cmp esi, ebx
je 0x48c4c8
and dword [esi], 0
lea ebx, [esp + 0x144]
call fcn.0040c040
jmp 0x48c4ca
xor esi, esi
mov ecx, dword [esp + 0x20]
or dword [esp + 0x168], 0xffffffff
push esi
call fcn.0040ed50
jmp 0x48c4ed
push edx
push dword [ebp + 0x10]
push edi
push eax
call fcn.00466419
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004cb38b
mov esp, ebp
pop ebp
ret 0x10