Function at 0x100070a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101e0048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebp
mov ebp, dword [esp + 0x80]
push edi
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x18], ecx
je 0x100077fd
push ebp
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x100077fd
mov eax, dword [0x10282758]
push ebx
mov ebx, dword [esp + 0x90]
cmp eax, edi
push esi
je 0x10007120
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x90]
push eax
push ebx
push esi
push ebp
push str.CDecryptProxyHelper::DecryptSendFile_file__s___dwID_0x_x___dwContextID_0x_x___dwConnectID0x_x_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x20
jmp 0x10007127
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x9c]
push ebp
mov dword [ecx], 0xf000
lea ecx, [esp + 0x14]
call fcn.10077a80
push 7
push bind
lea ecx, [esp + 0x60]
mov dword [esp + 0x8c], edi
xor ebp, ebp
call fcn.100143c0
mov edx, dword [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x8c], 1
call fcn.100144c0
test eax, eax
jne 0x10007193
mov eax, dword [esp + 0x10]
push 0xfffffffffffffffe
push eax
lea ecx, [esp + 0x60]
call fcn.100146d0
lea ecx, [esp + 0x58]
call fcn.100144b0
test eax, eax
je 0x100077b1
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 7
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
mov eax, dword [0x10282758]
je 0x10007606
test eax, eax
je 0x100071e6
mov edx, dword [esp + 0x10]
push ebx
push esi
push edx
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__1
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
push 0x10000
call sub.MFC42u.DLL_operatornew
mov edi, eax
mov eax, dword [0x10282758]
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x100075c4
test eax, eax
je 0x1000722a
mov eax, dword [esp + 0x10]
push ebx
push esi
push eax
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__2
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
mov ecx, 0x4000
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, 7
lea edi, [esp + 0x3c]
mov dword [esp + 0x38], eax
push 0x10020
rep stosd dword es:[edi], eax
mov dword [esp + 0x58], 0x10000
call sub.MFC42u.DLL_operatornew
mov ebp, eax
mov eax, dword [0x10282758]
add esp, 4
test ebp, ebp
je 0x10007582
test eax, eax
je 0x1000728a
mov ecx, dword [esp + 0x10]
push ebx
push esi
push ecx
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__3
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
mov ecx, 0x4008
xor eax, eax
mov edi, ebp
mov dword [esp + 0x1c], eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
xor edi, edi
or ecx, eax
or edx, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
ja 0x100072d8
test ecx, ecx
jbe 0x10007492
jmp 0x100072d8
mov esi, dword [esp + 0x90]
mov eax, dword [0x10282758]
test eax, eax
je 0x1000730b
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push ecx
push edx
push ebx
push esi
push eax
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__dwRemain__I64d_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x24
mov edx, dword [esp + 0x14]
mov ecx, 0x4000
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x2c]
test eax, eax
ja 0x10007335
cmp edi, 0x10000
jbe 0x1000733c
mov eax, 0x10000
jmp 0x1000733e
mov eax, edi
lea ecx, [esp + 0x94]
push 0
push ecx
push eax
push edx
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10007541
mov edx, dword [esp + 0x94]
test edx, edx
je 0x10007541
mov eax, dword [0x10282758]
test eax, eax
je 0x100073d1
mov eax, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.1011efe0
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push edx
push eax
push edi
push ebx
push esi
push ecx
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__dwRemain_0x_x__buf__s_
push str.FileContext
push 0xffffffffffffffff
push 0x10281ec4
mov byte [esp + 0xac], 2
call fcn.100de220
add esp, 0x28
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 1
call fcn.10078300
mov edx, dword [esp + 0x94]
mov ecx, 0x4008
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov dword [ebp + 4], esi
mov esi, dword [esp + 0x2c]
sub eax, edi
sbb ecx, esi
mov esi, dword [esp + 0x14]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov ecx, edx
lea edi, [ebp + 0x20]
shr ecx, 2
mov dword [ebp + 8], ebx
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x98]
add eax, 0x20
push esi
push eax
push ebp
push ebx
push edi
push ecx
mov ecx, dword [edx + 0xf0]
call fcn.10062d90
test eax, eax
je 0x100074f0
cmp dword [esi], 0xf000
jne 0x100074f0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x2c]
sbb eax, 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jne 0x100072d1
mov eax, ecx
test eax, eax
ja 0x100072d1
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
or eax, ecx
jne 0x100075f5
mov eax, dword [0x10282758]
test eax, eax
je 0x100074cf
mov edx, dword [esp + 0x10]
push 0
push 0
push ebx
push esi
push edx
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__dwRemain_0x_x__finish
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x24
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x18]
push edx
mov dword [eax], 0xf000
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x14]
jmp 0x10007637
mov eax, dword [0x10282758]
test eax, eax
je 0x10007523
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push ecx
push edx
push ebx
push edi
push eax
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__dwRemain_0x_x__DecryptSendFileData_fail_x3
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x24
cmp dword [esi], 0xf000
jne 0x1000748b
mov ecx, dword [esp + 0x9c]
mov dword [ecx], 0xf00f
jmp 0x1000748b
mov eax, dword [0x10282758]
test eax, eax
je 0x10007570
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push edx
push edi
push ebx
push esi
push eax
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__dwRemain_0x_x__fail_x1
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x24
mov ecx, dword [esp + 0x9c]
mov dword [ecx], 0xf007
jmp 0x10007492
test eax, eax
je 0x100075a6
mov ecx, dword [esp + 0x10]
push ebx
push esi
push ecx
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__fail_x5
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
mov edx, dword [esp + 0x9c]
mov dword [edx], 0xf001
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x14]
jmp 0x10007637
test eax, eax
je 0x100075e8
mov eax, dword [esp + 0x10]
push ebx
push esi
push eax
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__fail_x6
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
mov ecx, dword [esp + 0x9c]
mov dword [ecx], 0xf001
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x14]
jmp 0x10007637
test eax, eax
je 0x1000762a
mov eax, dword [esp + 0x10]
push ebx
push esi
push eax
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__fail_x7
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
mov ecx, dword [esp + 0x9c]
mov dword [ecx], 0xf005
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0
call fcn.10014440
test edi, edi
je 0x10007655
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
test ebp, ebp
je 0x10007662
push ebp
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x38], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x9c]
or eax, 0xffffffff
push edi
lea edx, [esp + 0x3c]
mov ecx, dword [edi]
push 0x20
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [ecx + 0xf0]
push edx
push ebx
push esi
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x6c], 0
call fcn.10062d90
mov ebp, eax
test ebp, ebp
je 0x100076ce
cmp dword [edi], 0xf000
je 0x10007705
mov eax, dword [0x10282758]
test eax, eax
je 0x100076f7
mov edx, dword [esp + 0x10]
push ebx
push esi
push edx
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__fail_x8
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
cmp dword [edi], 0xf000
jne 0x10007705
mov dword [edi], 0xf00f
mov eax, dword [esp + 0x50]
cmp eax, 0xf000
je 0x10007712
mov dword [edi], eax
mov ecx, dword [0x10282758]
test ecx, ecx
je 0x1000774b
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
push ebp
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
push str.CDecryptProxyHelper::DecryptSendFile_dwID_0x_x___dwContextID_0x_x___Offset__I64d___dwError_0x_x___bNotify__lu__ret
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x28
mov edx, dword [edi]
mov eax, dword [0x10282758]
xor ecx, ecx
cmp edx, 0xf000
sete cl
test eax, eax
mov edi, ecx
je 0x10007786
mov edx, dword [esp + 0x8c]
push ebx
push esi
push edx
push str.CDecryptProxyHelper::DecryptSendFile___s__0x_x__0x_x__ret
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.10078300
pop esi
mov eax, edi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0x14
mov eax, dword [0x10282758]
test eax, eax
je 0x100077da
mov edx, dword [esp + 0x10]
push ebx
push esi
push edx
push str.CDecryptProxyHelper::DecryptSendFile_file__s__dwID_0x_x__dwContextID_0x_x__fail_x0
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0
mov dword [eax], 0xf005
call fcn.10014440
jmp 0x10007662
mov ecx, dword [esp + 0x74]
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x78
ret 0x14