Function at 0x409680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43aa4b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x63700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x1d24]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
cmp ebx, eax
jne 0x409775
mov dword [ebp - 0x18], method.exui::WindowBoxEx.virtual_0
mov dword [ebp - 0x18], vtable.CVolObject.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], vtable.rg_n33645::rg_n33667.0
mov dword [ebp - 4], 1
call fcn.004247f0
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x40971c
push 0x10
push 0xbb80
push 0
push esi
call fcn.00424640
push eax
call fcn.00424a10
inc esi
cmp esi, ebx
jl 0x409702
call fcn.00424530
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x40974a
nop dword [eax]
push 0x10
push 0xbb80
push 0
push esi
call fcn.00424380
push eax
call fcn.00424a10
inc esi
cmp esi, ebx
jl 0x409730
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x40
push 0x4445fc
push 0x444608
push dword [0x638e40]
call esi
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], vtable.CVolObject.0
lea eax, [edi + 0x1bd4]
cmp ebx, eax
jne 0x409835
mov dword [ebp - 0x18], method.exui::WindowBoxEx.virtual_0
mov dword [ebp - 0x18], vtable.CVolObject.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], vtable.rg_n33645::rg_n33667.0
mov dword [ebp - 4], 4
call fcn.004247f0
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x4097db
push 0x10
push 0xac44
push 0
push esi
call fcn.00424640
push eax
call fcn.00424a10
inc esi
cmp esi, ebx
jl 0x4097c1
call fcn.00424530
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x40980a
nop dword [eax + eax]
push 0x10
push 0xac44
push 0
push esi
call fcn.00424380
push eax
call fcn.00424a10
inc esi
cmp esi, ebx
jl 0x4097f0
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x40
push 0x4445fc
push 0x444608
push dword [0x638e40]
call esi
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], vtable.CVolObject.0
lea eax, [edi + 0x1a84]
cmp ebx, eax
jne 0x4098f5
mov dword [ebp - 0x18], method.exui::WindowBoxEx.virtual_0
mov dword [ebp - 0x18], vtable.CVolObject.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 6
mov dword [ebp - 0x18], vtable.rg_n33645::rg_n33667.0
mov dword [ebp - 4], 7
call fcn.004247f0
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x40989b
push 0x18
push 0xbb80
push 0
push esi
call fcn.00424640
push eax
call fcn.00424a10
inc esi
cmp esi, ebx
jl 0x409881
call fcn.00424530
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x4098ca
nop dword [eax + eax]
push 0x18
push 0xbb80
push 0
push esi
call fcn.00424380
push eax
call fcn.00424a10
inc esi
cmp esi, ebx
jl 0x4098b0
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x40
push 0x4445fc
push 0x444608
push dword [0x638e40]
call esi
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], vtable.CVolObject.0
lea eax, [edi + 0x1934]
cmp ebx, eax
jne 0x4099b5
mov dword [ebp - 0x18], method.exui::WindowBoxEx.virtual_0
mov dword [ebp - 0x18], vtable.CVolObject.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 9
mov dword [ebp - 0x18], vtable.rg_n33645::rg_n33667.0
mov dword [ebp - 4], 0xa
call fcn.004247f0
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x40995b
push 0x18
push 0xac44
push 0
push esi
call fcn.00424640
push eax
call fcn.00424a10
inc esi
cmp esi, ebx
jl 0x409941
call fcn.00424530
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x40998a
nop dword [eax + eax]
push 0x18
push 0xac44
push 0
push esi
call fcn.00424380
push eax
call fcn.00424a10
inc esi
cmp esi, ebx
jl 0x409970
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x40
push 0x4445fc
push 0x444608
push dword [0x638e40]
call esi
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], vtable.CVolObject.0
lea eax, [edi + 0x17e4]
cmp ebx, eax
jne 0x409a1e
mov dword [ebp - 0x18], method.exui::WindowBoxEx.virtual_0
mov dword [ebp - 0x18], vtable.CVolObject.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x18], vtable.rg_n33645::rg_n33667.0
mov dword [ebp - 4], 0xd
call fcn.00413e30
push 0x40
push 0x4445fc
push 0x444608
push dword [0x638e40]
call esi
mov ecx, edi
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], vtable.CVolObject.0
lea eax, [edi + 0x1694]
cmp ebx, eax
jne 0x409acf
mov dword [ebp - 0x18], method.exui::WindowBoxEx.virtual_0
mov dword [ebp - 0x18], vtable.CVolObject.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x18], vtable.rg_n33645::rg_n33667.0
mov dword [ebp - 4], 0x10
call fcn.004247f0
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x409a7f
nop word [eax + eax]
push 1
push 1
push esi
call fcn.00424870
inc esi
cmp esi, ebx
jl 0x409a70
call fcn.00424530
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x409a9f
nop dword [eax]
push 1
push 0
push esi
call fcn.00424870
inc esi
cmp esi, ebx
jl 0x409a90
push 0x40
push 0x4445fc
push 0x444608
push dword [0x638e40]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, edi
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], vtable.CVolObject.0
lea eax, [edi + 0x1544]
cmp ebx, eax
jne 0x409b9c
mov dword [ebp - 0x18], method.exui::WindowBoxEx.virtual_0
mov dword [ebp - 0x18], vtable.CVolObject.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x18], vtable.rg_n33645::rg_n33667.0
mov dword [ebp - 4], 0x13
call fcn.004247f0
xor esi, esi
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x409b3e
mov ebx, eax
nop
push 1
push esi
call fcn.00424220
cmp eax, 1
jne 0x409b36
push 0
push eax
push esi
call fcn.00424870
inc esi
cmp esi, ebx
jl 0x409b20
mov ebx, dword [ebp + 8]
call fcn.00424530
xor esi, esi
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x409b6f
mov ebx, eax
nop
push 0
push esi
call fcn.00424220
cmp eax, 1
jne 0x409b67
push 0
push 0
push esi
call fcn.00424870
inc esi
cmp esi, ebx
jl 0x409b50
mov ebx, dword [ebp + 8]
push 0x40
push 0x4445fc
push 0x444608
push dword [0x638e40]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, edi
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], vtable.CVolObject.0
lea eax, [edi + 0x13f4]
cmp ebx, eax
jne 0x409bf9
mov eax, dword [0x638e44]
cmp eax, 1
jne 0x409bcb
push 8
push dword [edi + 0x390]
call dword [0x63926c]
cmp eax, 0xffffffff
je 0x409bf9
push eax
call fcn.00424640
jmp 0x409be4
cmp eax, 2
jne 0x409bf9
push 8
push dword [edi + 0x5d0]
call dword [0x63926c]
push eax
call fcn.00424380
mov esi, eax
push esi
call fcn.00424950
push esi
call fcn.004249b0
mov ecx, edi
call fcn.004082a0
lea eax, [edi + 0x804]
cmp ebx, eax
jne 0x409c0c
mov eax, dword [edi + 0x14]
lea ecx, [edi + 0x14]
call dword [eax + 0x4c]
lea eax, [edi + 0x1fc4]
cmp ebx, eax
jne 0x409dd1
mov dword [ebp - 0x38], method.exui::WindowBoxEx.virtual_0
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x38]
push 0xa
push eax
mov eax, dword [0x638e70]
mov ecx, 0x638e70
push 0x1fa
call dword [eax + 0x18]
lea ecx, [ebp - 0x90]
call fcn.00417190
mov byte [ebp - 4], 0x17
mov edx, eax
push str.Sound.exe
lea ecx, [ebp - 0x64]
call fcn.0041ea20
add esp, 4
mov byte [ebp - 4], 0x18
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x409cb5
mov esi, dword [ebp - 0x24]
mov eax, esi
mov ebx, dword [ebp - 0x2c]
jmp 0x409cca
cmp dword [eax + 0x24], 0
je 0x409cfb
mov ecx, dword [eax + 0x1c]
mov esi, dword [ebp - 0x24]
mov eax, esi
mov ebx, dword [ebp - 0x2c]
test ecx, ecx
je 0x409cfb
cmp word [ecx], 0
je 0x409cfb
test eax, eax
js 0x409cfb
push 0x445084
push ecx
call fcn.0042b9ea
mov edi, eax
add esp, 8
test edi, edi
je 0x409cfb
push edi
push esi
push 1
push ebx
call fcn.0042a55d
push edi
call fcn.0042985f
add esp, 0x14
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x64]
call fcn.0040b360
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x90]
call fcn.0040b360
lea ecx, [ebp - 0x64]
call fcn.00417190
mov byte [ebp - 4], 0x19
mov edx, eax
push str.Sound.exe
lea ecx, [ebp - 0x90]
call fcn.0041ea20
add esp, 4
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x409d4f
cmp dword [eax + 0x24], ecx
mov ecx, 0x444840
je 0x409d4f
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.0041c860
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x90]
call fcn.0040b360
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x64]
call fcn.0040b360
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x409dae
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.exui::WindowBoxEx.virtual_12
jne 0x409da9
mov ecx, 0x638e78
call fcn.0041dba0
jmp 0x409dae
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolObject.0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20