Function at 0x43fa26
Capabilities:
Suspend thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x1a14], 0
jne 0x43fa62
cmp dword [0x52fa58], 0
je 0x43fa5b
mov ecx, dword [0x52fa58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x52fa58], 0
push 0
call fcn.004bb4ee
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x1188], 1
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x70d10], 0
je 0x43fa8b
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x70d10]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x30]
push eax
push 1
mov ecx, dword [0x5348f8]
push ecx
call fcn.004aeaa0
add esp, 0xc
test eax, eax
je 0x43fd87
cmp dword [ebp - 0x30], 0
je 0x43faca
push 0x52fa5c
push 0x4fb28c
push 0x4fb290
push 0x4fb2c0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x43fae4
push 0x52fa5c
push 0x4fb2dc
push 0x4fb2e0
push 0x4fb310
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x2c], 0
je 0x43fb06
push 0x52fa5c
push 0x4fb32c
push 0x4fb330
push 0x4fb348
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x43fb20
push 0x52fa5c
push 0x4fb364
push 0x4fb368
push 0x4fb380
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb39c
push 0x4fb3b4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb3d0
push 0x4fb3e0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb3fc
push 0x4fb410
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb42c
push 0x4fb440
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb45c
push 0x4fb470
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb48c
push 0x4fb4a0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb4bc
push 0x4fb4d0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb4ec
push 0x4fb500
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb51c
push 0x4fb534
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb550
push 0x4fb568
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xa
mov edx, dword [ebp - 0x34]
add edx, 0x948
push edx
mov ecx, dword [ebp - 0x34]
add ecx, 0x738a0
call fcn.0040d5e0
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov eax, dword [ebp - 0x34]
add eax, 0x948
push eax
push 0x4fb584
push 0x4fb5ac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x34]
call fcn.00413ee4
push 0xa
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x71058]
push eax
call fcn.004ba8b8
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x34]
add ecx, 0x948
push ecx
push 0x4fb5c8
push 0x4fb5f8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esp, ebp
pop ebp
ret