Function at 0x4122c0
Capabilities:
Delete file
Read .ini file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41f2d2
push eax
mov eax, 0x8080
mov dword fs:[0], esp
call fcn.0041e170
push ebp
push esi
mov esi, ecx
mov byte [esp + 0x27], 0
mov dword [esp + 0x30], esi
lea ebp, [esi + 0xc0]
push ebp
call fcn.0041ae90
add esp, 4
test al, al
je 0x4135a6
mov eax, dword [0x424038]
push ebx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x8098], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov ecx, 0x1fff
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0xa8]
mov byte [esp + 0x8098], 0xa
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00407020
mov eax, dword [esp + 0x80a4]
sub eax, 0
je 0x413081
dec eax
jne 0x4134e2
mov eax, dword [ebp]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x41237d
mov edx, dword [eax - 4]
test edx, edx
jge 0x4123c1
mov eax, dword [eax - 8]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x41238a
mov ecx, eax
push ecx
mov ecx, ebp
call fcn.00410180
test eax, eax
je 0x4123c4
mov eax, dword [esp + 0x18]
mov edi, dword [ebp]
lea esi, [ebx + 0xc]
push ebx
lea ecx, [eax + 1]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
call fcn.004101e0
mov esi, dword [esp + 0x38]
mov eax, dword [ebp]
push eax
lea edx, [esp + 0x94]
push 0x8000
push edx
push str.Versions
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
je 0x412402
lea ecx, [esp + 0x14]
add esi, 0xc8
push ecx
push esi
lea edx, [esp + 0x98]
push eax
push edx
call fcn.0041a150
add esp, 0x10
test eax, eax
jne 0x412425
mov eax, 0x4244f8
test eax, eax
je 0x412416
push 0x4244f8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x4244f8
push eax
lea ecx, [esp + 0x1c]
call fcn.00413790
mov eax, dword [esp + 0x14]
xor edx, edx
mov esi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp esi, 1
mov dword [esp + 0x18], ecx
jg 0x412441
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x412485
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x41244a
mov edx, ebx
push edx
lea ecx, [esp + 0x18]
call fcn.00410180
test eax, eax
je 0x412485
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea ecx, [ebx + 1]
push eax
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], ebx
call fcn.004101e0
mov eax, dword [esp + 0x14]
push eax
push str.Stage0
lea edx, [esp + 0x24]
push str._s__s
push edx
call fcn.00413b50
mov eax, dword [esp + 0x24]
add esp, 0x10
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x4124b5
mov edx, dword [eax - 4]
test edx, edx
jge 0x4124fd
mov eax, dword [eax - 8]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4124c2
mov ecx, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00410180
test eax, eax
je 0x4124fd
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea esi, [ebx + 0xc]
push ebx
lea ecx, [eax + 1]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], eax
call fcn.004101e0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push eax
push str.Stage1
push str._s__s
lea ebx, [edx + 0xc4]
push ebx
call fcn.00413b50
mov eax, dword [ebx]
add esp, 0x10
xor edx, edx
mov esi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp esi, 1
mov dword [esp + 0x24], ecx
jg 0x412535
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x41257b
mov eax, dword [eax - 8]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x412542
mov edx, eax
push edx
mov ecx, ebx
call fcn.00410180
test eax, eax
je 0x41257d
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov edi, dword [ebx]
lea ecx, [eax + 1]
lea esi, [edx + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
call fcn.004101e0
mov eax, dword [ebx]
mov ecx, dword [esp + 0x38]
push 0x10
mov edx, dword [ecx + 0xec]
add edx, 0x168
push edx
push eax
call fcn.0041b5c0
add esp, 0xc
mov ecx, ebx
call fcn.00410210
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
mov edx, dword [ebx]
lea ecx, [esp + 0x14]
mov byte [eax + edx], 0
call fcn.00410210
mov eax, dword [esp + 0x14]
push eax
call edi
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x14]
mov byte [eax + edx], 0
mov eax, str.ClientType
test eax, eax
je 0x4125e5
push str.ClientType
call edi
push str.ClientType
push eax
lea ecx, [esp + 0x30]
call fcn.00413790
mov eax, dword [ebp]
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
lea ebx, [eax - 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov edx, dword [ebx]
cmp edx, 1
jg 0x41261e
mov edx, dword [eax - 4]
test edx, edx
jge 0x41266a
mov esi, dword [eax - 8]
test esi, esi
mov dword [esp + 0x18], esi
jle 0x41262b
mov ecx, esi
push ecx
mov ecx, ebp
call fcn.00410180
test eax, eax
jne 0x41263d
mov dword [esp + 0x34], eax
jmp 0x412671
mov edi, dword [ebp]
lea ecx, [esi + 1]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov dword [eax - 8], ecx
call fcn.004101e0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp edx, 1
mov dword [esp + 0x18], esi
jg 0x41268d
mov edx, dword [eax - 4]
test edx, edx
jge 0x4126dd
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x412696
mov ecx, ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.00410180
test eax, eax
jne 0x4126aa
mov dword [esp + 0x5c], eax
jmp 0x4126e1
mov edi, dword [esp + 0x28]
lea ecx, [ebx + 1]
mov eax, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x18]
mov ecx, eax
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
mov dword [ecx - 8], ebx
call fcn.004101e0
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
xor edx, edx
mov esi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp esi, 1
mov dword [esp + 0x24], ecx
jg 0x4126fd
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x412747
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x412706
mov edx, ebx
push edx
lea ecx, [esp + 0x20]
call fcn.00410180
test eax, eax
je 0x412747
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
lea ecx, [ebx + 1]
push eax
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [ecx - 8], ebx
call fcn.004101e0
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x60]
push 0x14
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.00410210
mov eax, dword [esp + 0x14]
push eax
call edi
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
mov byte [eax + edx], 0
call fcn.00410210
mov eax, dword [esp + 0x28]
push eax
call edi
mov ecx, dword [esp + 0x28]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x28]
mov ecx, ebp
mov byte [eax + edx], 0
call fcn.00410210
mov eax, dword [ebp]
push eax
call edi
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
mov edx, dword [ebp]
xor ecx, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x4127d1
mov edx, dword [eax - 4]
test edx, edx
jge 0x41281f
mov esi, dword [eax - 8]
test esi, esi
mov dword [esp + 0x18], esi
jle 0x4127de
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00410180
test eax, eax
je 0x41281f
mov edi, dword [esp + 0x14]
lea ecx, [esi + 1]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x18]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], edx
call fcn.004101e0
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.Delete
lea eax, [esp + 0x24]
push str._s__s
push eax
call fcn.00413b50
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00410210
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], 0
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x14]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x34]
xor edx, edx
mov dword [esp + 0x44], edx
lea eax, [esp + 0x44]
mov dword [esp + 0x48], edx
push 0xa
mov dword [esp + 0x50], edx
push eax
mov dword [esp + 0x58], edx
push ecx
mov dword [esp + 0x60], edx
call dword [sym.imp.MSVCRT.dll__ltoa]
mov eax, dword [ebp]
add esp, 0xc
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x4128a0
mov edx, dword [eax - 4]
test edx, edx
jge 0x4128ec
mov eax, dword [eax - 8]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4128ad
mov ecx, eax
push ecx
mov ecx, ebp
call fcn.00410180
test eax, eax
jne 0x4128bf
mov dword [esp + 0x5c], eax
jmp 0x4128f3
mov eax, dword [esp + 0x18]
mov edi, dword [ebp]
lea esi, [ebx + 0xc]
push ebx
lea ecx, [eax + 1]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
call fcn.004101e0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x10]
mov ecx, 0x400
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp edx, 1
mov dword [esp + 0x24], esi
jg 0x412910
cmp dword [eax - 4], ecx
jge 0x412960
mov ebx, dword [eax - 8]
cmp ebx, ecx
jle 0x412919
mov ecx, ebx
push ecx
lea ecx, [esp + 0x14]
call fcn.00410180
test eax, eax
jne 0x41292d
mov dword [esp + 0x18], eax
jmp 0x412964
mov edi, dword [esp + 0x10]
lea ecx, [ebx + 1]
mov eax, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24]
mov ecx, eax
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], ebx
call fcn.004101e0
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
xor edx, edx
mov esi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp esi, 1
mov dword [esp + 0x24], ecx
jg 0x412980
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x4129ca
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x412989
mov edx, ebx
push edx
lea ecx, [esp + 0x20]
call fcn.00410180
test eax, eax
je 0x4129ca
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
lea ecx, [ebx + 1]
push eax
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [ecx - 8], ebx
call fcn.004101e0
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
push 0x400
push ecx
lea edx, [esp + 0x50]
push 0
push edx
push eax
call ebx
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00410210
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x1c]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov byte [eax + edx], 0
call fcn.00410210
mov eax, dword [esp + 0x10]
push eax
call edi
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov byte [eax + edx], 0
call fcn.00410210
mov eax, dword [ebp]
push eax
call edi
mov ecx, dword [ebp]
push 0
test esi, esi
mov dword [ecx - 8], eax
mov edx, dword [ebp]
mov byte [edx + eax], 0
je 0x412c1d
push 0x7c
lea ecx, [esp + 0x18]
call fcn.00411f80
mov esi, eax
test esi, esi
je 0x412c14
push esi
lea eax, [esp + 0x90]
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.00411ff0
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
mov byte [esp + 0x8098], 0xc
je 0x412ace
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x412a9e
mov edx, dword [0x42403c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x412aa5
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x412ab5
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00413790
jmp 0x412ace
lea ecx, [esp + 0x30]
call fcn.004105b0
mov ebx, dword [ebx]
mov dword [esp + 0x30], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x8098], 0xa
call fcn.0040e080
inc esi
lea edx, [esp + 0x88]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.00411fc0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x809c], 0xd
call fcn.00411b90
lea ecx, [esp + 0x88]
mov byte [esp + 0x8098], 0xa
call fcn.0040e080
mov ebx, dword [esp + 0x38]
push 0
lea esi, [ebx + 0xbc]
mov ecx, esi
call fcn.00411e10
push eax
push 0x400
push 0x400
lea ecx, [esp + 0x48]
call fcn.00411e10
push eax
lea eax, [esp + 0x50]
push 0
push eax
push str.Delete
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
call fcn.00411ec0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411ec0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x412c14
lea eax, [esp + 0x40]
add ebx, 0xb4
push eax
lea ecx, [esp + 0x78]
push ebx
push ecx
call fcn.00413840
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x809c], 0xe
call fcn.00411b90
lea ecx, [esp + 0x74]
mov byte [esp + 0x8098], 0xa
call fcn.0040e080
push 0
lea ecx, [esp + 0x44]
call fcn.00411e10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
call fcn.00411ec0
push 0
mov ecx, esi
call fcn.00411e10
push eax
push 0
lea ecx, [esp + 0x38]
call fcn.00411e10
lea edx, [esp + 0x48]
push eax
push edx
push str.Delete
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.00411ec0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411ec0
inc dword [esp + 0x34]
jmp 0x41285e
lea ecx, [esp + 0x18]
call fcn.00411e10
push eax
push str.Stage0
lea eax, [esp + 0x24]
push str._s__s
push eax
call fcn.00413b50
add esp, 0x10
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00411ec0
xor ecx, ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
push 0xa
mov dword [esp + 0x4c], ecx
push edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x58], ecx
push ecx
mov dword [esp + 0x60], ecx
call dword [sym.imp.MSVCRT.dll__ltoa]
add esp, 0xc
mov ecx, ebp
push 0
call fcn.00411e10
push eax
push 0x400
push 0x400
lea ecx, [esp + 0x1c]
call fcn.00411e10
push eax
lea eax, [esp + 0x50]
push 0
push eax
push 0
lea ecx, [esp + 0x34]
call fcn.00411e10
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00411ec0
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00411ec0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00411ec0
test esi, esi
je 0x413067
mov ebx, dword [esp + 0x38]
push 0
push 0x7c
lea ecx, [esp + 0x18]
call fcn.00411f80
push 0x7c
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00413b20
test edi, edi
mov esi, eax
je 0x412f78
test esi, esi
je 0x412f78
cmp edi, esi
je 0x412f78
push edi
lea ecx, [esp + 0x88]
push 0
push ecx
lea ecx, [esp + 0x1c]
call fcn.00411ff0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x809c], 0xf
call fcn.00411b90
lea ecx, [esp + 0x84]
mov byte [esp + 0x8098], 0xa
call fcn.0040e080
lea edx, [esi + 1]
lea eax, [esp + 0x7c]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.00411fc0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x809c], 0x10
call fcn.00411b90
lea ecx, [esp + 0x7c]
mov byte [esp + 0x8098], 0xa
call fcn.0040e080
sub esi, edi
lea ecx, [esp + 0x6c]
dec esi
inc edi
push esi
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00411ff0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x809c], 0x11
call fcn.00411b90
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8098], 0xa
call fcn.0040e080
push 0
lea ecx, [esp + 0x68]
call fcn.00411e10
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x64]
mov edi, eax
push 0xffffffffffffffff
call fcn.00411ec0
lea esi, [ebx + 0xbc]
push 0
mov ecx, esi
call fcn.00411e10
push eax
push 0x400
push 0x400
lea ecx, [esp + 0x48]
call fcn.00411e10
push eax
lea edx, [esp + 0x50]
push 0
push edx
push str.Stage0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
call fcn.00411ec0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411ec0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x412f78
lea edx, [esp + 0x44]
lea ecx, [esp + 0x24]
push edx
call fcn.004135d0
lea eax, [esp + 0x24]
push 0x3d
lea ecx, [esp + 0x7c]
push eax
push ecx
mov byte [esp + 0x80a4], 0x12
call fcn.004139c0
lea edx, [esp + 0x30]
mov byte [esp + 0x8098], 0x13
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00413840
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x809c], 0x14
call fcn.00411b90
lea ecx, [esp + 0x70]
mov byte [esp + 0x8098], 0x13
call fcn.0040e080
lea ecx, [esp + 0x78]
mov byte [esp + 0x8098], 0x12
call fcn.0040e080
lea ecx, [esp + 0x58]
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.0041c140
add esp, 8
lea eax, [esp + 0x58]
lea ecx, [ebx + 0xb4]
lea edx, [esp + 0x80]
push eax
push ecx
push edx
call fcn.00413840
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x809c], 0x15
call fcn.00411b90
lea ecx, [esp + 0x80]
mov byte [esp + 0x8098], 0x12
call fcn.0040e080
push 2
push 0
lea ecx, [esp + 0x2c]
call fcn.00411e10
push eax
push edi
push 0
lea ecx, [esp + 0x30]
call fcn.00411e10
push eax
push 0
lea ecx, [esp + 0x74]
call fcn.00411e10
mov ecx, dword [ebx + 0xa8]
push eax
call fcn.00406b70
push eax
mov ecx, ebx
call fcn.00415ac0
push 0xffffffffffffffff
lea ecx, [esp + 0x64]
call fcn.00411ec0
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00411ec0
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.00411ec0
mov dword [ebx + 0xcc], 3
lea ecx, [esp + 0x24]
mov byte [esp + 0x2f], 1
mov byte [esp + 0x8098], 0xa
call fcn.0040e080
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ecx
inc eax
mov dword [esp + 0x4c], ecx
push 0xa
mov dword [esp + 0x54], ecx
push edx
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ecx
call dword [sym.imp.MSVCRT.dll__ltoa]
add esp, 0xc
mov ecx, ebp
push 0
call fcn.00411e10
push eax
push 0x400
push 0x400
lea ecx, [esp + 0x1c]
call fcn.00411e10
push eax
lea eax, [esp + 0x50]
push 0
push eax
push 0
lea ecx, [esp + 0x34]
call fcn.00411e10
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00411ec0
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00411ec0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00411ec0
test esi, esi
jne 0x412cd8
mov al, byte [esp + 0x2f]
test al, al
je 0x413067
push str.Client.exe
call fcn.0041dc50
add esp, 4
test eax, eax
je 0x41304b
push 1
push 0x4244d8
push 0x424470
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
sete al
test al, al
je 0x413067
push str.Client.exe
call fcn.0041dcf0
add esp, 4
mov esi, dword [esp + 0x38]
push 1
mov ecx, esi
call fcn.00414cb0
mov dword [esi + 0x63c], 0
jmp 0x4134d7
mov ecx, dword [esp + 0x38]
push 0
push 0
push 0x488
add ecx, 4
call fcn.004100c0
jmp 0x4134e2
mov eax, dword [ebp]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x413098
mov edx, dword [eax - 4]
test edx, edx
jge 0x4130de
mov eax, dword [eax - 8]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4130a5
mov ecx, eax
push ecx
mov ecx, ebp
call fcn.00410180
test eax, eax
jne 0x4130b7
mov dword [esp + 0x18], eax
jmp 0x4130e5
mov eax, dword [esp + 0x18]
mov edi, dword [ebp]
lea esi, [ebx + 0xc]
push ebx
lea ecx, [eax + 1]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
call fcn.004101e0
mov edx, dword [ebp]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
mov edx, 0x400
mov esi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp esi, 1
mov dword [esp + 0x24], ecx
jg 0x413102
cmp dword [eax - 4], edx
jge 0x41314a
mov ebx, dword [eax - 8]
cmp ebx, 0x400
jle 0x41310f
mov edx, ebx
push edx
lea ecx, [esp + 0x14]
call fcn.00410180
test eax, eax
je 0x41314a
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
lea ecx, [ebx + 1]
push eax
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], ebx
call fcn.004101e0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push edx
push 0x400
push eax
push 0
push 0x420970
push str.LoginUp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00410210
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov byte [eax + edx], 0
call fcn.00410210
mov eax, dword [ebp]
push eax
call edi
mov ecx, dword [ebp]
test esi, esi
mov dword [ecx - 8], eax
mov edx, dword [ebp]
mov byte [edx + eax], 0
je 0x4134e2
mov eax, dword [esp + 0x10]
push 0x420518
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x4134e2
mov eax, dword [ebp]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x4131e2
mov edx, dword [eax - 4]
test edx, edx
jge 0x413228
mov eax, dword [eax - 8]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4131ef
mov ecx, eax
push ecx
mov ecx, ebp
call fcn.00410180
test eax, eax
jne 0x413201
mov dword [esp + 0x18], eax
jmp 0x41322f
mov eax, dword [esp + 0x18]
mov edi, dword [ebp]
lea esi, [ebx + 0xc]
push ebx
lea ecx, [eax + 1]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
call fcn.004101e0
mov edx, dword [ebp]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
mov edx, 0x400
mov esi, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp esi, 1
mov dword [esp + 0x24], ecx
jg 0x41324c
cmp dword [eax - 4], edx
jge 0x413294
mov ebx, dword [eax - 8]
cmp ebx, 0x400
jle 0x413259
mov edx, ebx
push edx
lea ecx, [esp + 0x14]
call fcn.00410180
test eax, eax
je 0x413294
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
lea ecx, [ebx + 1]
push eax
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], ebx
call fcn.004101e0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push edx
push 0x400
push eax
push 0
push 0x42446c
push str.LoginUp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x10]
call fcn.00410210
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov byte [eax + edx], 0
call fcn.00410210
mov eax, dword [ebp]
push eax
call edi
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x10]
mov byte [eax + edx], 0
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.0041c140
mov eax, dword [esp + 0x40]
add esp, 8
lea edx, [esp + 0x58]
add eax, 0xb4
push edx
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.00413840
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
mov byte [esp + 0x8098], 0xb
je 0x413377
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x413343
mov edx, dword [0x42403c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41334a
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41335a
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00413790
jmp 0x413373
lea ecx, [esp + 0x20]
call fcn.004105b0
mov esi, dword [esi]
mov dword [esp + 0x20], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
mov esi, dword [0x42403c]
mov byte [esp + 0x8098], 0xa
lea edx, [eax - 0xc]
cmp edx, esi
je 0x4133b2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4133ae
mov eax, dword [esp + 0x68]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx - 0xc]
lea ebx, [ecx - 0xc]
xor eax, eax
cmp edx, 1
jg 0x4133c6
mov edx, dword [ecx - 4]
test edx, edx
jge 0x413412
mov ebp, dword [ecx - 8]
test ebp, ebp
jle 0x4133cf
mov eax, ebp
push eax
lea ecx, [esp + 0x24]
call fcn.00410180
test eax, eax
jne 0x4133e3
mov dword [esp + 0x18], eax
jmp 0x413416
mov edi, dword [esp + 0x20]
lea ecx, [ebp + 1]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
mov dword [eax - 8], ebp
call fcn.004101e0
mov ecx, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x41342e
mov edx, dword [eax - 4]
test edx, edx
jge 0x413474
mov ebp, dword [eax - 8]
test ebp, ebp
jle 0x413437
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00410180
test eax, eax
je 0x413474
mov edi, dword [esp + 0x10]
lea ecx, [ebp + 1]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebp
call fcn.004101e0
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
push 1
push 0
push 0
push ecx
mov ecx, dword [esi + 0xa8]
push eax
call fcn.00406b70
lea ecx, [esp + 0x10]
call fcn.00410210
mov edx, dword [esp + 0x10]
push edx
call edi
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov byte [eax + edx], 0
call fcn.00410210
mov eax, dword [esp + 0x20]
push eax
call edi
mov ecx, dword [esp + 0x20]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x20]
mov byte [eax + edx], 0
mov dword [esi + 0xcc], 2
mov ecx, dword [esi + 0xa8]
call fcn.00406fd0
lea ecx, [esp + 0x28]
mov byte [esp + 0x8098], 9
call fcn.0040e080
lea ecx, [esp + 0x14]
mov byte [esp + 0x8098], 8
call fcn.0040e080
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8098], 7
call fcn.0040e080
lea ecx, [esp + 0x58]
mov byte [esp + 0x8098], 6
call fcn.0040e080
lea ecx, [esp + 0x64]
mov byte [esp + 0x8098], 5
call fcn.0040e080
lea ecx, [esp + 0x40]
mov byte [esp + 0x8098], 4
call fcn.0040e080
lea ecx, [esp + 0x20]
mov byte [esp + 0x8098], 3
call fcn.0040e080
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8098], 2
call fcn.0040e080
lea ecx, [esp + 0x60]
mov byte [esp + 0x8098], 1
call fcn.0040e080
lea ecx, [esp + 0x30]
mov byte [esp + 0x8098], 0
call fcn.0040e080
lea ecx, [esp + 0x10]
mov dword [esp + 0x8098], 0xffffffff
call fcn.0040e080
pop edi
xor eax, eax
pop ebx
jmp 0x4135a8
xor eax, eax
mov ecx, dword [esp + 0x8088]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x808c
ret 0x10