Function at 0x42b90c
Capabilities:
Write file on windows

Disassembly:
cmp dword [ecx + 0x30], 0
jne 0x42bade
jmp 0x42b91b
push 0x30
mov eax, 0x46765d
call fcn.0044584f
mov edi, ecx
cmp dword [edi + 8], 1
jne 0x42bad5
lea esi, [edi + 0xc]
cmp dword [esi + 0x14], 8
jb 0x42b940
mov eax, dword [esi]
jmp 0x42b942
mov eax, esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42b987
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x18
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.quickLaunch__CIniFileParseImpl__failed_to_open_ini_file_for_write__file___s__GetLastError___d
call fcn.0042ada2
add esp, 0x20
xor eax, eax
jmp 0x42bad8
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x28]
mov esi, dword [eax]
mov dword [ebp - 0x2c], esi
cmp esi, eax
je 0x42bac2
push 0x5b
push 1
lea ecx, [ebp - 0x28]
call fcn.004240e2
push 0xffffffffffffffff
push 0
add esi, 0x10
lea ecx, [ebp - 0x28]
push esi
call fcn.0040a4f1
push 0x5d
push 1
lea ecx, [ebp - 0x28]
call fcn.00419eed
push 0xd
push 1
lea ecx, [ebp - 0x28]
call fcn.00419eed
push 0xa
push 1
lea ecx, [ebp - 0x28]
call fcn.00419eed
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042b4d6
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
jmp 0x42ba9d
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42ba3d
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.0040175b
push 0x3d
push 1
lea ecx, [ebp - 0x28]
call fcn.00419eed
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a4f1
push 0xd
push 1
lea ecx, [ebp - 0x28]
call fcn.00419eed
push 0xa
push 1
lea ecx, [ebp - 0x28]
call fcn.00419eed
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esi, 0x30
cmp esi, dword [ebp - 0x38]
jne 0x42ba2a
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0042db5c
lea ecx, [ebp - 0x2c]
call fcn.00404bde
mov esi, dword [ebp - 0x2c]
cmp esi, dword [edi + 0x28]
jne 0x42b9ac
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004017ef
xor eax, eax
inc eax
call fcn.004457fe
ret
push 0x3c
mov eax, 0x467692
call fcn.0044584f
mov ebx, ecx
cmp dword [ebx + 8], 1
jne 0x42be49
lea esi, [ebx + 0xc]
cmp dword [esi + 0x14], 8
jb 0x42bb03
mov eax, dword [esi]
jmp 0x42bb05
mov eax, esi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x42bb4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x18
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.quickLaunch__CIniFileParseImpl__failed_to_open_ini_file_for_write__file___s__GetLastError___d
call fcn.0042ada2
add esp, 0x20
xor eax, eax
jmp 0x42be4c
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push 0
push ecx
push 2
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xfeff
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
mov eax, dword [ebx + 0x28]
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
cmp esi, eax
je 0x42be34
push 0x5b
push 1
lea ecx, [ebp - 0x28]
call fcn.004134a1
lea edi, [esi + 0x10]
push 0x10
pop esi
cmp dword [edi + 0x14], esi
jb 0x42bba8
mov eax, dword [edi]
jmp 0x42bbaa
mov eax, edi
push eax
push 0xfde9
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x42bbc1
and dword [ebp - 0x2c], 0
jmp 0x42bbe1
cmp dword [edi + 0x14], esi
jb 0x42bbca
mov eax, dword [edi]
jmp 0x42bbcc
mov eax, edi
push eax
push 0xfde9
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov dword [ebp - 0x2c], esp
cmp dword [edi + 0x14], esi
jb 0x42bbea
mov eax, dword [edi]
jmp 0x42bbec
mov eax, edi
cmp dword [edi + 0x14], esi
jb 0x42bbf5
mov esi, dword [edi]
jmp 0x42bbf7
mov esi, edi
push eax
push 0xfde9
call fcn.00429ff7
shr eax, 1
push eax
push dword [ebp - 0x2c]
push esi
push 0xfde9
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x1c
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00402a5c
push 0x5d
push 1
lea ecx, [ebp - 0x28]
call fcn.0042db90
push 0xd
push 1
lea ecx, [ebp - 0x28]
call fcn.0042db90
push 0xa
push 1
lea ecx, [ebp - 0x28]
call fcn.0042db90
mov esi, dword [ebp - 0x30]
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x34]
push 0
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x48]
call fcn.0042b4d6
mov edi, dword [ebp - 0x48]
mov byte [ebp - 4], 1
cmp edi, dword [ebp - 0x44]
je 0x42be14
add edi, 0x18
cmp dword [edi - 4], 0x10
lea esi, [edi - 0x18]
jb 0x42bca7
mov eax, dword [esi]
jmp 0x42bca9
mov eax, esi
push eax
push 0xfde9
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x42bcc0
and dword [ebp - 0x2c], 0
jmp 0x42bce1
cmp dword [edi - 4], 0x10
jb 0x42bcca
mov eax, dword [esi]
jmp 0x42bccc
mov eax, esi
push eax
push 0xfde9
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov dword [ebp - 0x2c], esp
cmp dword [edi - 4], 0x10
jb 0x42bceb
mov eax, dword [esi]
jmp 0x42bced
mov eax, esi
cmp dword [edi - 4], 0x10
jb 0x42bcf5
mov esi, dword [esi]
push eax
push 0xfde9
call fcn.00429ff7
shr eax, 1
push eax
push dword [ebp - 0x2c]
push esi
push 0xfde9
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x1c
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00401a41
push 0x3d
push 1
lea ecx, [ebp - 0x28]
call fcn.0042db90
push 0x10
pop esi
cmp dword [edi + 0x14], esi
jb 0x42bd3e
mov eax, dword [edi]
jmp 0x42bd40
mov eax, edi
push eax
push 0xfde9
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x42bd57
and dword [ebp - 0x2c], 0
jmp 0x42bd77
cmp dword [edi + 0x14], esi
jb 0x42bd60
mov eax, dword [edi]
jmp 0x42bd62
mov eax, edi
push eax
push 0xfde9
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov dword [ebp - 0x2c], esp
cmp dword [edi + 0x14], esi
jb 0x42bd80
mov eax, dword [edi]
jmp 0x42bd82
mov eax, edi
cmp dword [edi + 0x14], esi
jb 0x42bd8b
mov esi, dword [edi]
jmp 0x42bd8d
mov esi, edi
push eax
push 0xfde9
call fcn.00429ff7
shr eax, 1
push eax
push dword [ebp - 0x2c]
push esi
push 0xfde9
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x1c
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00402a5c
push 0xd
push 1
lea ecx, [ebp - 0x28]
call fcn.0042db90
push 0xa
push 1
lea ecx, [ebp - 0x28]
call fcn.0042db90
mov esi, dword [ebp - 0x30]
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x34]
push 0
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, 0x30
lea eax, [edi - 0x18]
cmp eax, dword [ebp - 0x44]
jne 0x42bc9a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0042db5c
lea ecx, [ebp - 0x38]
call fcn.00404bde
mov esi, dword [ebp - 0x38]
cmp esi, dword [ebx + 0x28]
jne 0x42bb8d
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401833
xor eax, eax
inc eax
lea esp, [ebp - 0x58]
call fcn.004457fe
ret