Function at 0x419180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47de64
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4b9070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [0x4bd654], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x164], esi
je 0x41957b
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x188], 0
mov dword [ebp - 0x184], 2
mov dword [ebp - method.ATL::CDacl.virtual_0], vtable.ATL::CDacl.0
call fcn.0041bc40
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push 0x4a4174
push eax
call fcn.004174c0
add esp, 0x14
push ecx
push 0xc0000000
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x190]
call fcn.00417a40
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.004176a0
push 0x222
push 0x20
push 2
lea eax, [ebp - 0xd4]
push 0x4a4174
push eax
call fcn.004174c0
add esp, 0x14
push ecx
push 0xc0000000
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x190]
call fcn.00417a40
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.004176a0
push 0x12
push 1
lea eax, [ebp - 0x134]
push 0x4a4174
push eax
call fcn.004174c0
add esp, 0x10
push ecx
push 0x10000000
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x190]
call fcn.00417a40
lea ecx, [ebp - 0x134]
call fcn.004176a0
mov dword [ebp - method.ATL::CSecurityDesc.virtual_0], vtable.ATL::CSecurityDesc.0
mov dword [ebp - 0x138], 0
push ecx
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x13c]
call fcn.00418220
mov eax, dword [ebp - 0x138]
sub esp, 8
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0xc
mov dword [ebp - 0x168], 0
push eax
sub esp, 0xc
mov ecx, dword [esi + 0x1b8]
call fcn.0044c770
add esp, 0x18
mov dword [esi + 0x1b0], eax
cmp eax, 0xffffffff
je 0x41959b
push 2
lea ecx, [ebp - 0x1a0]
xorps xmm0, xmm0
push ecx
push 0
push eax
movlpd qword [ebp - 0x1a4], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41936e
call fcn.00417040
test eax, eax
js 0x4195a6
xor eax, eax
test eax, eax
js 0x4195a6
mov ecx, edi
call fcn.00452280
mov edx, dword [edi]
mov ebx, eax
call dword [edx + 0x14]
push 0
lea ecx, [ebp - 0x194]
push ecx
push ebx
push eax
push dword [esi + 0x1b0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4193a8
call fcn.00417040
jmp 0x4193aa
xor eax, eax
test eax, eax
js 0x4195ac
mov eax, dword [ebp - 0x138]
mov dword [ebp - method.ATL::CSecurityDesc.virtual_0], vtable.ATL::CSecurityDesc.0
test eax, eax
je 0x4194d9
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x148], 0
push ecx
lea ecx, [ebp - 0x148]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
test eax, eax
je 0x4194c1
test dword [ebp - 0x148], 0x8000
jne 0x4194c1
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
push dword [ebp - 0x14c]
call fcn.00465389
add esp, 4
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorGroup]
push dword [ebp - 0x150]
call fcn.00465389
add esp, 4
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
cmp dword [ebp - 0x144], 0
je 0x419489
push dword [ebp - 0x154]
call fcn.00465389
add esp, 4
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
cmp dword [ebp - 0x144], 0
je 0x4194c1
push dword [ebp - 0x158]
call fcn.00465389
add esp, 4
push dword [ebp - 0x138]
call fcn.00465389
add esp, 4
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x190]
call fcn.004179c0
jmp 0x419560
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x41957b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1b0], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045527a
mov esp, ebp
pop ebp
ret 4
call fcn.00417040
push eax
call fcn.00416dd0
push eax
call fcn.00416dd0
push eax
call fcn.00416dd0
int3