Function at 0x410ca0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4280eb
mov eax, dword fs:[0]
push eax
mov eax, 0xc918
call fcn.0041d300
mov eax, dword [0x4322d0]
xor eax, esp
mov dword [esp + 0xc914], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4322d0]
xor eax, esp
push eax
lea eax, [esp + 0xc92c]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc934], ebx
mov ebp, dword [edi]
lea esi, [esp + 0x20]
call fcn.00402db0
push eax
mov eax, dword [ebp + 0x58]
push edi
call eax
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [edi]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x42a49c
push edi
call edx
test eax, eax
jl 0x410edb
cmp dword [esp + 0x14], ebx
je 0x410edb
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jl 0x410d6c
mov edx, dword [esp + 0x18]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jge 0x410d82
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea edi, [esp + 0x20]
call fcn.00402d60
xor eax, eax
jmp 0x410f17
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
test eax, eax
mov eax, dword [esp + 0x14]
push eax
jge 0x410da8
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
jmp 0x410d66
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x1c]
push ecx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebx
push ebx
push 0xffffffffffffffff
push ebp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xfde9
call ebx
mov esi, eax
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004124f2
mov edi, eax
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call fcn.00418240
add esp, 0x10
push esi
push edi
push esi
push ebp
push 0
push 0xfde9
call ebx
push 0xc7ff
lea ecx, [esp + 0x12d]
push 0
push ecx
mov byte [esp + 0x134], 0
call fcn.00418240
add esp, 0xc
push 0
push 0
push 0xc800
lea edx, [esp + 0x134]
push edx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
call fcn.0041361a
push 0x103
lea eax, [esp + 0x2d]
push 0
push eax
mov byte [esp + 0x34], 0
call fcn.00418240
mov ecx, dword [0x434af8]
push ecx
lea edx, [esp + 0x38]
push str.C:WebContent__d.txt
push edx
call fcn.004136aa
push 0x42cb08
lea eax, [esp + 0x44]
push eax
call fcn.004138d9
mov esi, eax
push esi
push 1
lea ecx, [esp + 0x154]
push 0xc800
push ecx
call fcn.00413b45
push esi
call fcn.00413967
mov edx, dword [esp + 0x54]
inc dword [0x434af8]
add esp, 0x38
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x410f17
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x410f17
mov eax, dword [esi]
cmp eax, ebx
je 0x410efe
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x410f0e
push eax
call fcn.0041361a
add esp, 4
push esi
call fcn.00412ddf
add esp, 4
mov ecx, dword [esp + 0xc92c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc914]
xor ecx, esp
call fcn.00412dd0
add esp, 0xc924
ret