Function at 0x10024f20
Capabilities:
Check if file exists
Check os version
Copy file
Delete directory
Delete file
Get disk information
Get disk size
Get file attributes
Get file size
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100485b7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1c0c
call fcn.10047080
mov eax, dword [0x10056024]
xor eax, esp
mov dword [esp + 0x1c08], eax
push ebx
push esi
push edi
mov eax, dword [0x10056024]
xor eax, esp
push eax
lea eax, [esp + 0x1c20]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c]
xor edi, edi
push 0x206
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x24]
lea eax, [esp + 0x1a12]
push edi
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x1a18], di
call sub.MSVCR80.dll_memset
add esp, 0xc
call sub.EnumFolder.dll_CreateEnumRemoteFolder
push 0x206
lea ecx, [esp + 0xbda]
push edi
push ecx
mov dword [esp + 0x4c], eax
mov word [esp + 0xbe0], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x206
lea edx, [esp + 0x11f2]
push edi
push edx
mov word [esp + 0x11f8], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x206
lea eax, [esp + 0x1602]
push edi
push eax
mov word [esp + 0x1608], di
call sub.MSVCR80.dll_memset
mov edx, dword [ebx]
mov eax, dword [edx + 0xdc]
add esp, 0xc
mov ecx, ebx
call eax
cmp dword [ebp + 8], eax
jge 0x10025c18
cmp dword [ebp + 8], 0xffffffff
jle 0x10025c18
push 0x206
lea ecx, [esp + 0x6c2]
push edi
push ecx
mov dword [esp + 0x54], 1
mov word [esp + 0x6c8], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea edx, [esp + 0x6c0]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10025080
sub eax, edx
sar eax, 1
cmp eax, 2
mov edi, 0x5c
jbe 0x100250cd
cmp word [esi], di
jne 0x100250cd
cmp word [esi + 2], di
jne 0x100250cd
call fcn.1003e0a0
lea ecx, [esp + 0x6bc]
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
push ecx
mov edx, ecx
push 0x104
push edx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea eax, [esp + 0x6bc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100250d7
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x6ba], di
je 0x1002510d
push 0x1004b060
lea ecx, [esp + 0x6c0]
push 0x104
push ecx
call esi
add esp, 0xc
mov edx, dword [ebx]
mov edi, dword [ebp + 8]
mov eax, dword [edx + 0x60]
push edi
mov ecx, ebx
call eax
push eax
lea ecx, [esp + 0x6c0]
push 0x104
push ecx
call esi
add esp, 0xc
push 0x1004b060
lea edx, [esp + 0x6c0]
push 0x104
push edx
call esi
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
add esp, 0xc
push 0
push 0
push edi
mov ecx, ebx
call edx
push eax
lea eax, [esp + 0x6c0]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1002517c
mov ecx, dword [esp + 0x38]
push eax
push 0x64
push ecx
call dword [esp + 0x40]
jmp 0x10025c6a
mov esi, dword [esp + 0x18]
call fcn.1000dde0
test eax, eax
je 0x100251d1
mov edx, dword [ebx]
mov eax, dword [edx + 0x80]
push 0
push 0
push edi
mov ecx, ebx
call eax
mov esi, eax
call fcn.1000dde0
test eax, eax
je 0x100251d1
push 0x176e
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
mov edi, 0x176e1050
call fcn.1000d400
add esp, 4
push eax
push str.BRERR_NOT_SUPPORT_NET2NET
mov esi, edi
call fcn.10001230
add esp, 8
jmp 0x10025c18
mov esi, dword [esp + 0x18]
call fcn.1000dde0
test eax, eax
je 0x100251fb
test esi, esi
je 0x100251ee
lea edx, [esp + 0xbd4]
call fcn.10024c10
mov eax, dword [esp + 0x3c]
push 0
push eax
mov eax, dword [esp + 0x4c]
jmp 0x10025257
mov eax, dword [ebx]
mov eax, dword [eax + 0x80]
lea ecx, [esp + 0x15fc]
push ecx
lea edx, [esp + 0x11f0]
push edx
push edi
mov ecx, ebx
call eax
mov esi, eax
call fcn.1000dde0
test eax, eax
je 0x1002526b
mov edx, dword [ebx]
mov eax, dword [edx + 0x80]
push 0
push 0
push edi
mov ecx, ebx
call eax
test eax, eax
je 0x10025246
mov esi, eax
lea edx, [esp + 0xbd4]
call fcn.10024c10
lea eax, [esp + 0x15fc]
push 0
push eax
lea eax, [esp + 0x11f4]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push eax
lea eax, [esp + 0xbe0]
push eax
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x8c]
push edi
mov ecx, ebx
call edx
test eax, eax
je 0x100259f2
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push edi
mov ecx, ebx
call edx
test eax, eax
je 0x100252d3
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xb8]
push ecx
push edx
mov ecx, ebx
call eax
mov edi, eax
movzx ecx, di
test ecx, ecx
je 0x10025316
push 0x177f
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
add esp, 4
push eax
push str.OpenImg_param___BRWCHAR_wszTaskPasswd_
mov esi, edi
call fcn.10001230
add esp, 8
jmp 0x10025c18
mov edx, dword [ebx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0xb8]
xor esi, esi
push esi
push eax
mov ecx, ebx
call edx
mov edi, eax
movzx eax, di
test eax, eax
je 0x10025318
push 0x1783
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
add esp, 4
push eax
push str.OpenImg_param_
mov esi, edi
call fcn.10001230
add esp, 8
jmp 0x10025c18
xor esi, esi
push 0x206
lea ecx, [esp + 0x13fa]
push esi
push ecx
mov dword [esp + 0x20], esi
mov word [esp + 0x1400], si
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0x104
lea edx, [esp + 0x13f8]
push edx
push esi
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [esp + 0x13f4]
push ecx
call dword [sym.imp.MSVCR80.dll__wcsupr]
add esp, 4
lea edx, [esp + 0x13f4]
push 0x1004d0f8
push edx
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
je 0x1002538a
mov dword [esp + 0x14], 1
push 0x206
lea eax, [esp + 0xde2]
push esi
push eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov word [esp + 0xde8], si
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c28], esi
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
xor edi, edi
call eax
test eax, eax
jbe 0x100254c9
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0xa4]
push eax
push edi
call edx
mov edx, 0x104
lea eax, [esp + 0x2c8]
lea ecx, [esp + 0xddc]
call fcn.100093b0
lea eax, [esp + 0xddc]
push eax
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x20]
mov byte [esp + 0x1c2c], 1
call fcn.10027650
lea ecx, [esp + 0x88]
mov byte [esp + 0x1c28], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea edx, [esp + 0xdf4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002558a
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x54], ecx
mov eax, dword [esp + 0x68]
adc dword [esp + 0x58], eax
cmp dword [esp + 0x14], 0
je 0x100254b4
cmp eax, 1
jg 0x100255ca
jl 0x100254b4
test ecx, ecx
ja 0x100255ca
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
add edi, 1
call eax
cmp edi, eax
jb 0x100253d7
xor esi, esi
push 0x206
lea ecx, [esp + 0xfea]
push esi
push ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov word [esp + 0xff0], si
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xff0]
add esp, 0xc
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x10025500
mov esi, dword [esp + 0x18]
call fcn.1000dde0
test eax, eax
je 0x10025545
call fcn.1003e0a0
mov esi, eax
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0xfe4]
push eax
mov ecx, eax
push 0x104
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea eax, [esp + 0x4c]
push eax
xor edi, edi
push edi
push edi
lea ecx, [esp + 0xff0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x100255e9
push 0x17ba
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
mov edi, 0x17ba1041
call fcn.1000d400
add esp, 4
push eax
push str.BRERR_FLR_TARGET_UNWRITEABLE
jmp 0x100255a7
push 0x179c
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
mov edi, 0x179c1021
call fcn.1000d400
add esp, 4
push eax
push str.BRERR_FILE_IS_OPENING
mov esi, edi
call fcn.10001230
add esp, 8
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c28], 0xffffffff
call fcn.10027d20
jmp 0x10025c18
push 0x17a6
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
mov edi, 0x17a61042
call fcn.1000d400
add esp, 4
push eax
push str.BRERR_FLB_FATFS_NOT_SUPPORT_MORE_THAN_4GB
jmp 0x100255a7
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
cmp edx, eax
ja 0x10025620
jb 0x10025601
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x54]
jae 0x10025620
push 0x17be
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
mov edi, 0xc9
call fcn.1000d400
add esp, 4
push eax
push str.E_NTFS_NOT_ENOUGH_SPACE
jmp 0x100255a7
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edi
push 0x64
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x5c]
push eax
push edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], 2
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 0x64
call fcn.100470c0
mov esi, dword [esp + 0x48]
mov dword [esp + 0x84], eax
xor ebx, ebx
mov dword [esp + 0x14], edi
nop
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x100258c2
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x100258c2
cmp esi, edi
je 0x100258c2
push 0x206
lea eax, [esp + 0x8ca]
push edi
push eax
mov word [esp + 0x8d0], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x6bc]
push ecx
lea edx, [esp + 0x8c8]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
cmp ecx, edi
je 0x10025708
mov edi, dword [esp + 0x24]
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10025716
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [ecx + eax + 0x14]
lea esi, [eax - 1]
je 0x1002573e
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10025748
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp dword [ecx + eax + 0x18], 8
jb 0x10025759
mov ecx, dword [ecx + eax + 4]
jmp 0x1002575d
lea ecx, [ecx + eax + 4]
push ecx
lea ecx, [esp + 0x1808]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
test esi, esi
je 0x1002578f
mov eax, 0x5c
lea ecx, [ecx]
cmp word [esp + esi*2 + 0x1804], ax
je 0x1002578f
sub esi, 1
jne 0x10025780
lea eax, [esp + 0x8c4]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100257a0
sub eax, edx
sar eax, 1
lea esi, [esp + esi*2 + 0x1806]
mov edx, eax
mov eax, esi
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100257c0
sub eax, edi
sar eax, 1
add edx, eax
cmp edx, 0x104
sbb edx, edx
neg edx
je 0x10025884
push esi
lea eax, [esp + 0x8c8]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea ecx, [esp + 0x8c4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10025862
lea ecx, [esp + 0x8c4]
call fcn.1000de10
mov edx, dword [esp + 0x2c]
push 0
push edx
lea eax, [esp + 0x78]
push eax
push 0x10024bd0
lea ecx, [esp + 0x8d4]
push ecx
lea edx, [esp + 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
add dword [esp + 0x14], 0x1c
mov esi, eax
mov eax, dword [esp + 0x7c]
add ebx, 1
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], 0
xor edi, edi
jmp 0x10025670
push 0x17d9
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
mov edi, 0x17d91027
call fcn.1000d400
add esp, 4
push eax
push str.BRERR_FILE_EXISTS
jmp 0x100255a7
push 0x17d4
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
call fcn.1000d400
add esp, 4
mov esi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push 0x17d41051
push str.lDir_MAX_PATH
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
mov edi, 0x17d41051
jmp 0x100255b1
mov eax, dword [esp + 0x2c]
cmp dword [eax], edi
je 0x10025904
push 0x17e5
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
mov edi, 0x17
call fcn.1000d400
add esp, 4
mov esi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push edi
push str.E_USER_CANCEL
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
jmp 0x100255b1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x13
jne 0x1002594b
push 0x17e9
mov ecx, str.D:BR_srcUiLogicUiRecord.cpp
mov edi, 0x17e91041
call fcn.1000d400
add esp, 4
mov esi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push edi
push str.BRERR_FLR_TARGET_UNWRITEABLE
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x14
jmp 0x100255b1
cmp esi, edi
je 0x10025bc0
xor ebx, ebx
xor edi, edi
jmp 0x10025960
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100259de
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x100259de
cmp dword [esi + edi + 0x18], 8
jb 0x10025996
mov eax, dword [esi + edi + 4]
jmp 0x1002599a
lea eax, [esi + edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x80]
push 0
push 0
push edx
call eax
mov edx, 0x104
lea ecx, [esp + 0xddc]
call fcn.100093b0
lea ecx, [esp + 0xddc]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add ebx, 1
add edi, 0x1c
jmp 0x10025960
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c28], 0xffffffff
call fcn.10027d20
mov esi, dword [esp + 0x18]
mov eax, esi
lea edx, [eax + 2]
jmp 0x10025a00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10025a00
sub eax, edx
sar eax, 1
cmp eax, 2
jbe 0x10025b05
cmp word [esi], 0x5c
jne 0x10025b05
cmp word [esi + 2], 0x5c
jne 0x10025b05
push 0x206
lea eax, [esp + 0xaa]
push 0
push eax
mov word [esp + 0xb0], cx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x410
lea ecx, [esp + 0x2b0]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
lea edx, [esp + 0x6bc]
push edx
lea eax, [esp + 0xa8]
push 0x104
push eax
call esi
mov ecx, dword [esp + 0x50]
add esp, 0xc
push ecx
lea edx, [esp + 0x2b0]
push 0x104
push edx
call esi
mov eax, dword [esp + 0x48]
add esp, 0xc
push eax
lea ecx, [esp + 0x4b8]
push 0x104
push ecx
call esi
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 8]
mov ebx, dword [ecx]
add esp, 0xc
push edx
mov edx, dword [ebx + 0x20]
lea eax, [esp + 0x20]
push eax
call edx
mov edx, dword [eax]
sub esp, 0x618
mov edi, esp
mov ecx, 0x186
lea esi, [esp + 0x6bc]
rep movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0x84]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x658]
call edx
push 0x103
lea eax, [esp + 0xad1]
push 0
push eax
mov byte [esp + 0xad8], 0
call sub.MSVCR80.dll_memset
lea ecx, [esp + 0x6c8]
add esp, 0xc
push ecx
mov edi, 0x104
lea ebx, [esp + 0xad0]
call fcn.1000d4f0
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x34]
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
add esp, 4
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
mov dword [esp + 0x34], 0
call edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
push ebx
lea edx, [esp + 0x40]
mov dword [ecx + 0xc], eax
call fcn.10023600
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10025c16
mov esi, str.Image
call fcn.100392e0
mov edi, eax
test edi, edi
je 0x10025c06
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test eax, eax
jne 0x10025be7
mov esi, str.Image
mov eax, edi
call fcn.10039330
mov edi, eax
test edi, edi
jne 0x10025b9f
jmp 0x10025c06
call ebx
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [esp + 0x40]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c28], 0xffffffff
call fcn.10027d20
jmp 0x10025c6a
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test eax, eax
je 0x10025c06
push eax
lea ecx, [esp + 0xad0]
mov eax, str.path
call fcn.100396f0
mov ebx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
add eax, 8
mov edi, ebx
call fcn.10039d90
xor edi, edi
mov ecx, dword [esp + 0x38]
and edi, 0xffff
push edi
push 0x64
push ecx
call dword [esp + 0x40]
mov esi, dword [esp + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x15fc]
push eax
lea ecx, [esp + 0x11f0]
push ecx
lea eax, [esp + 0xbdc]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x1a14]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1c20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c08]
xor ecx, esp
call fcn.10045f6c
mov esp, ebp
pop ebp
ret 0x20