Function at 0x401100
Capabilities:
Delete file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x432738
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x441618]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [0x44569c]
mov dword [0x445504], eax
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x40115f
push 0x104
mov ecx, 0x44569c
call fcn.00404090
mov edx, dword [0x44569c]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x44569c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0041e980
add esp, 8
test eax, eax
jl 0x401632
mov ecx, dword [0x44569c]
cmp eax, dword [ecx - 8]
jg 0x401632
mov dword [ecx - 0xc], eax
mov edx, dword [0x44569c]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [0x44569c]
push 0x5c
push eax
call fcn.0041ef6c
add esp, 8
test eax, eax
jne 0x4011be
or eax, 0xffffffff
jmp 0x4011c6
sub eax, dword [0x44569c]
sar eax, 1
inc eax
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, 0x44569c
call fcn.00402ee0
push eax
mov ecx, 0x44569c
mov dword [esp + 0x38], 0
call fcn.00403e80
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401212
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00401f30
call fcn.00404229
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401231
push 0x80004005
call fcn.00404110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], esp
push str.GameStart.ini
push 0x44569c
push ecx
call fcn.00403040
add esp, 0xc
call fcn.00402710
add esp, 4
test eax, eax
je 0x4012b0
push str.GameStart.ini
lea edx, [esp + 0x40]
push 0x44569c
push edx
call fcn.00403040
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.00403e80
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4012ef
push str.gameyxdown.dat
lea ecx, [esp + 0x40]
push 0x44569c
push ecx
call fcn.00403040
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.00403e80
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4012fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00404229
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401315
push 0x80004005
call fcn.00404110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x3c], edi
mov byte [esp + 0x34], 4
call fcn.00404229
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401344
push 0x80004005
call fcn.00404110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x34], 5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x40137f
push 0x104
lea ecx, [esp + 0x24]
call fcn.00404090
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebp
push 0x104
push esi
push 0x4388d4
push str.GameName
push str.main
call ebx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0041e980
add esp, 8
test eax, eax
jl 0x401632
cmp eax, dword [esi - 8]
jg 0x401632
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edx, [esp + 0x20]
mov word [esi + eax*2], cx
push edx
mov ecx, 0x4456a0
call fcn.00403e80
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4013fd
push 0x104
lea ecx, [esp + 0x40]
call fcn.00404090
mov edi, dword [esp + 0x3c]
push ebp
push 0x104
push edi
push 0x4388d4
push 0x4386e8
push str.main
call ebx
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0041e980
add esp, 8
test eax, eax
jl 0x401632
cmp eax, dword [edi - 8]
jg 0x401632
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov edi, dword [edi - 0xc]
add edi, 0xfffffffc
push edi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x44]
call fcn.00402ee0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 6
call fcn.00403e80
mov byte [esp + 0x34], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x44569c]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x44569c
call fcn.00402ee0
mov bl, 7
mov byte [esp + 0x34], bl
mov edi, dword [esp + 0x18]
mov esi, dword [edi - 0xc]
push 0x5c
push edi
call fcn.0041ef6c
add esp, 8
test eax, eax
jne 0x4014c0
or eax, 0xffffffff
jmp 0x4014c4
sub eax, edi
sar eax, 1
sub esi, eax
dec esi
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00402e60
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 8
call fcn.00403e80
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401509
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x401522
push 0x80004005
call fcn.00404110
mov eax, dword [esp + 0x18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40154c
test dx, dx
je 0x401548
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40154c
add eax, 4
add ecx, 4
test dx, dx
jne 0x401526
xor eax, eax
jmp 0x401551
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x40157f
mov eax, dword [0x44569c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00403e10
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004027e0
add esp, 4
call fcn.00401d30
call fcn.00404229
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40159e
push 0x80004005
call fcn.00404110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x34], 9
mov ecx, dword [0x4456a0]
push ecx
lea edx, [esp + 0x28]
push 0x4386f0
push edx
call fcn.00403cb0
mov eax, dword [esp + 0x30]
add esp, 0xc
push 0
push 0x438708
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push str.unist.xml
lea ecx, [esp + 0x2c]
push 0x44569c
push ecx
call fcn.00403040
add esp, 0xc
mov byte [esp + 0x34], 0xa
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00402c90
call fcn.00401fa0
cmp dword [0x445698], 0
je 0x401624
mov dword [0x445698], 0
push 0
call fcn.0040480c
push 0
call fcn.0041ee52
push 0x80070057
call fcn.00404110
int3