Function at 0x405ed0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f449
mov eax, dword fs:[0]
push eax
sub esp, 0x9b4
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x9bc], edi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x9a4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c0], ebx
mov dword [ebp - 0x9a0], eax
mov dword [ebp - 0x9b8], esi
mov dword [ebp - 0x9b4], 0
call fcn.0047e953
push 0x800
lea eax, [ebp - 0x984]
push 0
push eax
call fcn.004f0ae0
lea eax, [edi + 0x50]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x405f61
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x984]
push eax
push esi
push dword [ebp - 0x9a0]
push dword [ebp - 0x9a4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x9b0], 0
mov dword [ebp - 0x9ac], 0
mov dword [ebp - 0x9a8], 0
mov ecx, 0x5c
mov dword [ebp - 4], 1
mov esi, str.JVZsR7WrIqB2X435H9TzjukTmZOiz2WSAsDuh7ZrI4Gt57IiUDZsa5v5inGh6uENy8JfkHRg6lQTFhT6infKVIWIHDsS7ZKHms5EbE4g0r24yYccUjsxncRgNO4cuXPE6q0L78lCBcPFQYEfNZfYdtjsZQvjIa2XQms6AJgOLAOsf0vwfluTG5aNMpCLbnz0nmVG8mbQZyTj06HpdysZodJKbQhwZAf62M7lMnrTlSCrH8cFAIMZ0LEKLZXS7rwAnJ0pzWIojbMKwQMWU0tyDVRQcwyQvS2V3Ri0EF6ZJwx21QRHqPuRXQVuNPbysFxFXQvv9p5sNXVtmo9zNrpgtGrGDegI0XiorvLugUZXoczhofmTS
mov dword [ebp - 0x988], 0xf
lea edi, [ebp - 0x184]
mov dword [ebp - 0x98c], 0
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x99c], 0
movsw word es:[edi], word [esi]
cmp byte [ebp - 0x184], 0
jne 0x405fe2
xor ecx, ecx
jmp 0x405ff9
lea ecx, [ebp - 0x184]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405ff0
sub ecx, edx
push ecx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x99c]
call fcn.00407f10
lea eax, [ebp - 0x99c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x9b0]
call fcn.00408170
mov eax, dword [ebp - 0x988]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x406044
inc eax
lea ecx, [ebp - 0x99c]
push eax
push dword [ebp - 0x99c]
call fcn.00408010
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x40606a
mov eax, dword [ebx]
jmp 0x40606c
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x984], cx
je 0x406092
lea ecx, [ebp - 0x984]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406083
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x984]
mov ecx, ebx
push eax
call fcn.00402650
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x9b4], 1
jb 0x4060b5
mov eax, dword [ebx]
jmp 0x4060b7
mov eax, ebx
mov esi, dword [ebp - 0x9b8]
mov ecx, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4060e6
test dx, dx
je 0x4060e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4060e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4060c0
xor eax, eax
jmp 0x4060eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40616c
mov ecx, dword [ebp - 0x9bc]
lea eax, [ebp - 0x99c]
push esi
push dword [ebp - 0x9a0]
push dword [ebp - 0x9a4]
push eax
call fcn.00405e80
mov esi, eax
cmp ebx, esi
je 0x40614e
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x406127
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00402750
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x40613f
mov eax, dword [ebx]
jmp 0x406141
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.004041d0
mov eax, dword [ebp - 0x988]
cmp eax, 8
jb 0x40616c
inc eax
lea ecx, [ebp - 0x99c]
push eax
push dword [ebp - 0x99c]
call fcn.00402750
mov esi, dword [ebp - 0x9b0]
test esi, esi
je 0x4061b8
push dword [ebp - 0x9c0]
lea eax, [ebp - 0x9b0]
push eax
push dword [ebp - 0x9ac]
push esi
call fcn.004056a0
mov ecx, dword [ebp - 0x9a8]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x9b0]
call fcn.00408070
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474193
mov esp, ebp
pop ebp
ret 0x10