Function at 0x10007ae0
Capabilities:
Get file size
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101e00c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x10282758]
push ebx
mov ebx, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, ecx
test eax, eax
mov dword [esp + 0x10], edi
je 0x10007b3c
test ebx, ebx
je 0x10007b1e
mov eax, dword [ebx + 0x1c]
add eax, 0x20
jmp 0x10007b20
xor eax, eax
push eax
push esi
push ebx
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_lpInfo_0x_x___dwSize_0x_x___lpInfo__size_0x_x__0
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
test ebx, ebx
je 0x10008279
mov eax, dword [ebx + 0x1c]
add eax, 0x20
cmp esi, eax
jne 0x10008279
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.10063e30
mov ecx, dword [0x10282758]
mov eax, dword [ebx + 4]
test ecx, ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 0xf000
je 0x10007b98
push eax
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_dwID_0x_x__in_param_1
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x14
push ebp
push 0x102747b8
lea ecx, [esp + 0x14]
call fcn.10077a80
lea eax, [edi + 0x90]
push 1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 1
call sub.MFC42u.DLL_CSingleLock::CSingleLock
lea ecx, [esp + 0x20]
add edi, 0x74
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x50], 2
call fcn.10009920
test eax, eax
je 0x100080ac
mov esi, dword [eax + 0xc]
test esi, esi
je 0x100080e6
lea eax, [esi + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.100784b0
mov eax, dword [0x10282758]
mov ecx, dword [esi + 0xc]
mov ebp, dword [esi + 0x64]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x10007c2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
push ebp
push edx
push eax
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_dwID_0x_x____s__hFile__lu__in_map
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, edi
mov dword [esi + 0x10], eax
call fcn.10009920
test eax, eax
jne 0x10007c8b
mov eax, dword [edi + 4]
test eax, eax
jne 0x10007c60
mov eax, dword [edi + 8]
push 1
push eax
mov ecx, edi
call fcn.10009980
mov ecx, edi
call fcn.100099f0
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
mov dword [eax + 0xc], esi
mov eax, dword [0x10282758]
test eax, eax
je 0x10007cb4
mov edx, dword [esi + 0x10]
push edx
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_update_tick_0x_x__x1
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 1
call sub.MFC42u.DLL_CSingleLock::Unlock
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 8]
cmp ecx, eax
jne 0x10008120
test ebp, ebp
je 0x10007cda
cmp ebp, 0xffffffff
jne 0x10007d1d
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1000812a
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
push ebp
push edx
mov ecx, esi
call fcn.10007820
test eax, eax
je 0x10008156
jmp 0x10007d21
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
and eax, edx
cmp eax, 0xffffffff
je 0x10008178
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10007d5b
mov eax, dword [0x10282758]
test eax, eax
je 0x10007d5b
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_4
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [esp + 0x18]
xor esi, esi
xor edx, edx
or esi, eax
mov eax, dword [0x10282758]
or edi, edx
test eax, eax
je 0x10007daf
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
push ebp
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_hFile__lu__qwSrcFileSize__I64d__err_0x_x__offset__I64d__5
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x28
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp esi, eax
jne 0x10007ff1
cmp edi, ecx
jne 0x10007ff1
lea edx, [esp + 0x2c]
xor eax, eax
push 2
push edx
push eax
push ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x10282758]
test eax, eax
je 0x10007e0c
push esi
push edi
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_5.1__dwEnd__lu__dwLastErr__lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x18
cmp edi, 0xffffffff
jne 0x10007e43
test esi, esi
je 0x10007e43
mov eax, dword [0x10282758]
test eax, eax
je 0x10007e36
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_SetFilePointer_fail_5.2
push str.SDTransform
push edi
push 0x10281ec4
call fcn.100de220
add esp, 0x10
mov dword [esp + 0x50], 0xf006
jmp 0x10008020
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x1c]
push 0
push eax
lea edx, [ebx + 0x20]
push ecx
push edx
push ebp
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10007e9e
mov ecx, dword [0x10282758]
test ecx, ecx
je 0x10007e91
push eax
push ebx
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_size_0x_x___written_0x_x__5.3
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x18
mov dword [esp + 0x50], 0xf006
jmp 0x10008020
mov eax, dword [0x10282758]
test eax, eax
je 0x10007ec0
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_write_succeed
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x10
mov ebp, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x38]
lea eax, [ebp + 0x90]
push eax
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov ecx, dword [esp + 0x54]
xor edx, edx
mov eax, ecx
mov byte [esp + 0x48], 3
shr eax, 4
div dword [ebp + 0x7c]
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x10007fe1
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10007fe1
cmp dword [eax + 8], ecx
je 0x10007f0f
mov eax, dword [eax]
test eax, eax
jne 0x10007eff
jmp 0x10007fe1
test eax, eax
je 0x10007fe1
mov edi, dword [eax + 0xc]
test edi, edi
mov dword [esp + 0x20], edi
je 0x10007fe1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x54]
mov ebx, dword [ebp + 0x7c]
xor edx, edx
shr eax, 4
div ebx
mov ecx, dword [ebp + 0x78]
test ecx, ecx
mov esi, edx
je 0x10007f66
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x10007f62
mov edx, dword [esp + 0x54]
cmp dword [eax + 8], edx
je 0x10007f5e
mov eax, dword [eax]
test eax, eax
jne 0x10007f51
jmp 0x10007f62
test eax, eax
jne 0x10007fb8
test ecx, ecx
jne 0x10007f92
lea edi, [ebx*4]
push edi
call sub.MFC42u.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x78], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0x7c], ebx
lea edi, [ebp + 0x74]
mov ecx, edi
call fcn.100099f0
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov edx, dword [edi + 4]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x20]
mov dword [edx + esi*4], eax
mov dword [eax + 0xc], edi
mov eax, dword [0x10282758]
test eax, eax
je 0x10007fe1
mov eax, dword [edi + 0x10]
push eax
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_update_tick_0x_x__x2
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x14
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 1
call sub.MFC42u.DLL_CSingleLock::Unlock
jmp 0x10008020
mov edx, dword [0x10282758]
test edx, edx
je 0x10008018
push ecx
push eax
push edi
push esi
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_qwSrcFileSize__I64d___dwOffset__I64d__5.4
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x20
mov dword [esp + 0x50], 0xf008
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.10078300
cmp dword [esp + 0x50], 0xf000
je 0x10008240
mov eax, dword [0x10282758]
test eax, eax
je 0x1000805e
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_write_fail_5.6
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x10
mov esi, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x38]
lea eax, [esi + 0x90]
push eax
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov ecx, dword [esp + 0x54]
xor edx, edx
mov eax, ecx
shr eax, 4
div dword [esi + 0x7c]
mov eax, dword [esi + 0x78]
test eax, eax
je 0x10008226
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10008226
cmp dword [eax + 8], ecx
je 0x10008214
mov eax, dword [eax]
test eax, eax
jne 0x10008098
jmp 0x10008226
mov eax, dword [0x10282758]
test eax, eax
je 0x100080ce
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_2
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xf00d
mov byte [esp + 0x48], 1
call sub.MFC42u.DLL_CSingleLock::Unlock
jmp 0x10008165
mov eax, dword [0x10282758]
test eax, eax
je 0x10008108
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_3
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xf00d
mov byte [esp + 0x48], 1
call sub.MFC42u.DLL_CSingleLock::Unlock
jmp 0x10008165
mov dword [esp + 0x50], 0xf009
jmp 0x10008165
mov eax, dword [0x10282758]
test eax, eax
je 0x1000814c
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_Open_fail_5.5
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x10
mov dword [esp + 0x50], 0xf005
jmp 0x10008165
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x50], 0xf00d
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.10078300
jmp 0x1000803c
mov eax, dword [0x10282758]
test eax, eax
je 0x1000819e
mov ecx, dword [ebx + 0x18]
push ecx
push str.CDecryptProxyHelper::CDecryptProxyHelperTaskDisposeFunc::SetData_dwParam_0x_x__finish
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x14
lea eax, [esi + 0x90]
push 1
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov ecx, dword [esp + 0x54]
xor edx, edx
mov eax, ecx
shr eax, 4
div dword [edi + 8]
mov edi, dword [edi + 4]
test edi, edi
je 0x100081eb
mov eax, dword [edi + edx*4]
test eax, eax
je 0x100081eb
cmp dword [eax + 8], ecx
je 0x100081d9
mov eax, dword [eax]
test eax, eax
jne 0x100081cc
jmp 0x100081eb
test eax, eax
je 0x100081eb
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100081eb
mov dword [eax + 0x54], 0
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CSingleLock::Unlock
mov edx, dword [ebx + 0x18]
mov eax, dword [esp + 0x54]
push edx
push eax
mov ecx, esi
call fcn.10006790
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.10078300
jmp 0x10008240
test eax, eax
je 0x10008226
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10008226
mov dword [eax + 0x54], 0
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push ecx
push edx
mov ecx, esi
call fcn.10006790
mov ecx, dword [esp + 0x50]
xor eax, eax
cmp ecx, 0xf000
lea ecx, [esp + 0x24]
sete al
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.10063e60
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8