Function at 0x42a610
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45cca1
mov eax, dword fs:[0]
push eax
sub esp, 0x914
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x910], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x928]
mov dword fs:[0], eax
mov eax, dword [esp + 0x938]
xor ebp, ebp
push 0x206
lea ecx, [esp + 0x51a]
push ebp
push ecx
mov dword [esp + 0x3c], eax
mov word [esp + 0x520], bp
call fcn.00446fa0
mov edx, dword [esp + 0x948]
add esp, 0xc
push edx
push ebp
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
je 0x42b104
push 0x208
lea eax, [esp + 0x518]
push ebp
push eax
call fcn.00446fa0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x518]
push ecx
push ebp
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebp
je 0x42b104
cmp dword [0x474f6c], ebp
je 0x42a720
push 0x474f90
mov ebx, str.Bin_
lea esi, [esp + 0x38]
call fcn.00408960
add esp, 4
push 0xffffffffffffffff
push ebp
mov ecx, 0x475094
mov dword [esp + 0x938], ebp
call fcn.00406d10
mov dword [esp + 0x930], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x42a720
mov edx, dword [esp + 0x38]
push edx
call fcn.004415cb
add esp, 4
cmp dword [0x4750a8], ebp
jne 0x42a734
cmp dword [0x4750c4], ebp
je 0x42b104
lea eax, [esp + 0x514]
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], bp
lea edx, [eax + 2]
jmp 0x42a760
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42a760
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x518]
push eax
lea esi, [esp + 0x90]
call fcn.00406f80
mov edi, esi
mov dword [esp + 0x930], 1
call fcn.00428710
mov ebx, dword [esp + 0x30]
push ebx
push 0x475094
lea edi, [esp + 0x58]
call fcn.004141f0
add esp, 8
mov byte [esp + 0x930], 2
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], bp
call fcn.00406d10
mov byte [esp + 0x930], 4
cmp dword [esp + 0x68], 8
jb 0x42a7f3
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004415cb
add esp, 4
mov esi, 7
lea edi, [esp + 0x6c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], bp
call fcn.00428710
push ebx
push 0x4750b0
lea edi, [esp + 0x1c]
call fcn.004141f0
add esp, 8
mov byte [esp + 0x930], 5
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebp
mov word [esp + 0xcc], bp
call fcn.00406d10
mov byte [esp + 0x930], 7
cmp dword [esp + 0x2c], 8
jb 0x42a869
mov edx, dword [esp + 0x18]
push edx
call fcn.004415cb
add esp, 4
lea edi, [esp + 0xc0]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
call fcn.00428710
push 0xffffffffffffffff
push ebp
mov eax, 0x475104
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebp
mov word [esp + 0xe8], bp
call fcn.00406d10
lea edi, [esp + 0xdc]
mov byte [esp + 0x930], 8
call fcn.00428710
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebp
mov word [esp + 0xa8], bp
lea edi, [esp + 0xf8]
mov byte [esp + 0x930], 9
call fcn.00427ff0
push 0x206
lea eax, [esp + 0x722]
push ebp
mov byte [esp + 0x938], 0xa
push eax
mov word [esp + 0x728], bp
call fcn.00446fa0
mov eax, dword [esp + 0x108]
add esp, 0xc
cmp dword [esp + 0x110], 8
jae 0x42a928
lea eax, [esp + 0xfc]
push eax
push 0x104
lea ecx, [esp + 0x724]
push ecx
push 0x46278c
push str.strQTalkPath
push str.Current
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x71c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42a955
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x720]
push edx
lea esi, [esp + 0xac]
call fcn.00406f80
push 5
push str.Bin_
mov ecx, esi
call fcn.00406eb0
push ebp
push ebx
or eax, 0xffffffff
call fcn.00406df0
mov eax, dword [esp + 0x8c]
mov edi, 8
cmp dword [esp + 0xa0], edi
jae 0x42a9ad
lea eax, [esp + 0x8c]
push eax
push str._setup_path1___s__n
lea eax, [esp + 0x11c]
push 0x200
push eax
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x50]
mov word [esp + 0x512], bp
call fcn.0042bd40
mov byte [esp + 0x930], 0xb
mov ebx, 7
lea eax, [esp + 0x114]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42aa00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x118]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f80
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0x938], 0xc
call fcn.00406df0
cmp dword [esp + 0x2c], edi
jb 0x42aa4c
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x68], edi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
jae 0x42aa67
lea edx, [esp + 0x54]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x42aaa1
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42aa76
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov byte [esp + 0x930], 0xa
cmp dword [esp + 0x68], 8
jb 0x42aabd
mov eax, dword [esp + 0x54]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x84], 8
mov eax, dword [esp + 0x70]
jae 0x42aacf
lea eax, [esp + 0x70]
push eax
push str._setup_path2___s__n
lea ecx, [esp + 0x11c]
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x50]
mov word [esp + 0x512], bp
call fcn.0042bd40
mov byte [esp + 0x930], 0xd
lea eax, [esp + 0x114]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ab20
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x118]
push edx
lea esi, [esp + 0x1c]
call fcn.00406f80
mov eax, esi
push ebp
push eax
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0x938], 0xe
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x42ab71
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x68], esi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
jae 0x42ab8c
lea edx, [esp + 0x54]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x42abca
mov eax, edx
lea esi, [eax + 2]
jmp 0x42aba0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42aba0
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov byte [esp + 0x930], 0xa
cmp dword [esp + 0x68], 8
jb 0x42abe6
mov edx, dword [esp + 0x54]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
jae 0x42abfe
lea eax, [esp + 0xc4]
push eax
push str._setup_path3___s__n
lea eax, [esp + 0x11c]
push 0x200
push eax
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x50]
mov word [esp + 0x512], bp
call fcn.0042bd40
mov byte [esp + 0x930], 0xf
lea eax, [esp + 0x114]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ac50
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x118]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f80
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0x938], 0x10
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x42aca1
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x68], esi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
jae 0x42acbc
lea edx, [esp + 0x54]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x42acfb
mov eax, edx
lea esi, [eax + 2]
jmp 0x42acd0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42acd0
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov byte [esp + 0x930], 0xa
cmp dword [esp + 0x68], 8
jb 0x42ad17
mov eax, dword [esp + 0x54]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xf4], 8
mov eax, dword [esp + 0xe0]
jae 0x42ad2f
lea eax, [esp + 0xe0]
push eax
push str._setup_path4___s__n
lea ecx, [esp + 0x11c]
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x50]
mov word [esp + 0x512], bp
call fcn.0042bd40
mov byte [esp + 0x930], 0x11
lea eax, [esp + 0x114]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ad80
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x118]
push edx
lea esi, [esp + 0x1c]
call fcn.00406f80
mov eax, esi
push ebp
push eax
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0x938], 0x12
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x42add1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x68], esi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
jae 0x42adec
lea edx, [esp + 0x54]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x42ae2a
mov eax, edx
lea esi, [eax + 2]
jmp 0x42ae00
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42ae00
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov byte [esp + 0x930], 0xa
cmp dword [esp + 0x68], 8
jb 0x42ae46
mov edx, dword [esp + 0x54]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xbc], 8
mov eax, dword [esp + 0xa8]
jae 0x42ae5e
lea eax, [esp + 0xa8]
push eax
push str._setup_path5___s__n
lea eax, [esp + 0x11c]
push 0x200
push eax
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x50]
mov word [esp + 0x512], bp
call fcn.0042bd40
mov byte [esp + 0x930], 0x13
lea eax, [esp + 0x114]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42aeb0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x118]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f80
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x58]
mov byte [esp + 0x938], 0x14
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x42af01
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x68], esi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
jae 0x42af1c
lea edx, [esp + 0x54]
mov edi, dword [0x474bb0]
cmp edi, ebp
je 0x42af5b
mov eax, edx
lea esi, [eax + 2]
jmp 0x42af30
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x42af30
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov esi, 8
mov byte [esp + 0x930], 0xa
cmp dword [esp + 0x68], esi
jb 0x42af7b
mov eax, dword [esp + 0x54]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x84], esi
mov eax, dword [esp + 0x70]
jae 0x42af8c
lea eax, [esp + 0x70]
mov edi, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x8c]
call fcn.00411070
test eax, eax
je 0x42aff8
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x88]
call fcn.004142a0
test al, al
jne 0x42aff8
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x88]
call fcn.004142a0
test al, al
jne 0x42aff8
lea ecx, [esp + 0x88]
push ecx
lea ebx, [esp + 0xe0]
call fcn.004276f0
add esp, 4
test eax, eax
jne 0x42aff8
xor ebx, ebx
jmp 0x42affd
mov ebx, 1
cmp dword [esp + 0x110], esi
mov edi, 7
jb 0x42b01b
mov edx, dword [esp + 0xfc]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xbc], esi
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebp
mov word [esp + 0xfc], bp
jb 0x42b04a
mov eax, dword [esp + 0xa8]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xf4], esi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebp
mov word [esp + 0xa8], bp
jb 0x42b079
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xd8], esi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebp
mov word [esp + 0xe0], bp
jb 0x42b0a8
mov edx, dword [esp + 0xc4]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebp
mov word [esp + 0xc4], bp
jb 0x42b0d4
mov eax, dword [esp + 0x70]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebp
mov word [esp + 0x70], bp
jb 0x42b100
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.004415cb
add esp, 4
mov eax, ebx
jmp 0x42b106
xor eax, eax
mov ecx, dword [esp + 0x928]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x910]
xor ecx, esp
call fcn.004414cc
add esp, 0x920
ret