Function at 0x41c730
Capabilities:
Write file on windows

Disassembly:
push ebp
xor edx, edx
xor ecx, ecx
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x22e]
push ebx
sub esp, 0x26c
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x11a]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x234], pe_nt_image_headers32
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x240], 0x75d6e8
mov word [ebp - 0x22e], dx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], pe_nt_image_headers32
mov byte [ebp - 0x11c], 0
mov dword [ebp - 0x12c], 0x75d6e8
mov word [ebp - 0x11a], cx
call fcn.0043ef90
mov ebx, eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x240]
mov dword [esi], 1
mov dword [eax], 1
mov dword [esp + 8], 0x8330e0
mov dword [esp + 4], str._sinstall64.exe
mov dword [esp], edi
call fcn.00403910
mov eax, dword [ebp - 0x238]
mov ecx, 0x8554b8
mov dword [esp], eax
call fcn.0043f2f0
sub esp, 4
test al, al
jne 0x41c8c8
mov dword [esp], 0x8330e0
call fcn.0043ff20
mov dword [esp + 8], 0x8330e0
mov dword [esp + 4], str.Dir:___S__n
mov dword [esp], 0x835180
call fcn.0041eed0
mov eax, dword [ebp - 0x238]
mov dword [esp + 4], 0x71cbb2
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wfopen]
mov dword [ebp - 0x24c], eax
test eax, eax
mov eax, dword [ebp - 0x238]
mov dword [esp + 8], eax
je 0x41caa4
mov dword [esp + 4], str.Created__S_n
mov dword [esp], 0x835180
call fcn.0041eed0
lea eax, [ebp - 0x244]
mov dword [esp], 0xd1
mov dword [esp + 8], eax
lea eax, [ebp - 0x248]
mov dword [esp + 4], eax
call fcn.0043f1f0
mov eax, dword [ebp - 0x24c]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x244]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x248]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x24c]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov ecx, 0x835180
mov dword [0x8330c4], 1
call fcn.0041e820
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 4], 0
mov dword [esp], 0x41bf20
call dword [eax + 8]
sub esp, 8
test byte [0x8531c0], 0x40
je 0x41ca60
mov dword [esp], 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
sub esp, 4
test eax, eax
je 0x41ca97
test byte [0x8531c0], 0x40
jne 0x41c943
cmp eax, 0xe0000235
je 0x41c9a4
mov eax, dword [0x70c368]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [eax + 0x120]
test eax, eax
jne 0x41c9a4
mov eax, dword [ebx]
mov dword [0x8330c4], 0
mov ecx, ebx
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp dword [esi], 1
je 0x41cac0
mov eax, dword [ebp - 0x128]
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x41c980
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x23c]
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x41c99c
mov dword [esp], eax
call fcn.006eb310
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], str.__s____s_
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0x12c]
mov dword [esp], eax
call fcn.00403910
mov dword [esp + 8], 0x8330e0
mov dword [esp + 4], str._sinstall64.exe
mov dword [esp], edi
call fcn.00403910
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], str._S__S_n
mov dword [esp], 0x835180
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x238]
mov dword [esp + 8], eax
call fcn.0041eed0
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], 1
mov ecx, 0x8554b8
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x238]
mov dword [esp], eax
call fcn.00440110
mov edx, eax
sub esp, 0x10
mov dword [esi], eax
and edx, 0x7fffffff
cmp edx, 1
jne 0x41c943
mov edx, dword [ebp + 0x14]
shr eax, 0x1f
mov dword [edx], eax
and dword [esi], 0x7fffffff
jmp 0x41c943
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [0x853238]
mov dword [esp], eax
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesW
sub esp, 0x14
test eax, eax
mov dword [esi], eax
jne 0x41c91c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x41c91c
mov dword [esp + 4], str.Failed_to_create__S_n
mov dword [esp], 0x835180
call fcn.0041eed0
jmp 0x41c8c8
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004022d0
jmp 0x41c964