Function at 0x445120
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efcc3
mov eax, dword fs:[0]
push eax
mov eax, 0x2274
call fcn.004a01c0
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20c0], edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x445197
push 0xb
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x4ffb9c
mov word [edi], ax
call fcn.0042b3e0
jmp 0x4459ed
cmp dword [esi + 0x14], 8
jb 0x44519f
mov esi, dword [esi]
push 0xfde9
push esi
lea ecx, [ebp - 0x2280]
call fcn.00436660
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x20a8], 0
mov dword [ebp - 0x20a4], 0xf
mov byte [ebp - 0x20b8], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4451e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20b8]
call fcn.0042b2e0
mov eax, dword [ebp - 0x2280]
lea ecx, [ebp - 0x227c]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x445213
push eax
call fcn.004c4deb
add esp, 4
xorps xmm0, xmm0
lea ecx, [ebp - 0x2040]
movups xmmword [ebp - 0x2040], xmm0
movq qword [ebp - 0x2030], xmm0
call fcn.0048c590
lea eax, [ebp - 0x20b8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2040]
call fcn.0048d150
test al, al
jne 0x445270
push 0xc
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x4ffbb4
mov word [edi], ax
call fcn.0042b3e0
jmp 0x4459d7
push 0x4ffbd0
lea ecx, [ebp - 0x20bc]
call fcn.0042e720
push 8
push 0x4ffbd4
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 4
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 0xf
mov byte [ebp - 0x2028], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0x20bc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x20c8]
push eax
lea ecx, [ebp - 0x2040]
call fcn.0048cfc0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x2078], 0
mov dword [ebp - 0x2074], 7
mov word [ebp - 0x2088], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445302
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2088]
call fcn.0042b3e0
mov edx, dword [ebp - 0x20c8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44533e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2028]
call fcn.00429290
mov edx, dword [ebp - 0x20bc]
mov eax, esi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44536a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4ffbe0
lea ecx, [ebp - 0x20c4]
call fcn.0042e720
push 3
push 0x4ffbe4
lea ecx, [ebp - 0x20e0]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x20d0], 0
mov dword [ebp - 0x20cc], 0xf
mov byte [ebp - 0x20e0], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0x20c4]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x20e0]
push eax
lea eax, [ebp - 0x20c0]
push eax
lea ecx, [ebp - 0x2040]
call fcn.0048cfc0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x2070], ax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x2060], 0
mov dword [ebp - 0x205c], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x20c8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445402
sub ecx, dword [ebp - 0x20c8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2070]
call fcn.0042b3e0
mov edx, dword [ebp - 0x20c0]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44543f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20e0]
call fcn.00429290
mov edx, dword [ebp - 0x20c4]
mov eax, esi
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44546b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4ffbe8
lea ecx, [ebp - 0x20bc]
call fcn.0042e720
push 9
push 0x4ffbec
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 0xf
mov byte [ebp - 0x2028], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0x20bc]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x20c8]
push eax
lea ecx, [ebp - 0x2040]
call fcn.0048cfc0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x2058], ax
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x2048], 0
mov dword [ebp - 0x2044], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x20c0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445503
sub ecx, dword [ebp - 0x20c0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2058]
call fcn.0042b3e0
mov edx, dword [ebp - 0x20c8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x445540
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2028]
call fcn.00429290
mov edx, dword [ebp - 0x20bc]
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44556a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.004c1860
add esp, 0xc
lea edx, [ebp - 0x2058]
cmp dword [ebp - 0x2044], 8
lea ecx, [ebp - 0x2070]
lea eax, [ebp - 0x2088]
cmovae edx, dword [ebp - 0x2058]
cmp dword [ebp - 0x205c], 8
push edx
cmovae ecx, dword [ebp - 0x2070]
lea edx, [ebp - 0x2010]
cmp dword [ebp - 0x2074], 8
push 0x1000
cmovae eax, dword [ebp - 0x2088]
push edx
push 0x4ffbf8
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xorps xmm0, xmm0
mov dword [ebp - 0x20c0], eax
lea ecx, [ebp - 0x20a0]
movq qword [ebp - 0x2090], xmm0
movups xmmword [ebp - 0x20a0], xmm0
call fcn.0048c590
push 0xfde9
lea eax, [ebp - 0x2010]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x2280]
call fcn.00436660
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 0xf
mov byte [ebp - 0x2028], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445640
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2028]
call fcn.0042b2e0
lea eax, [ebp - 0x2028]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x20f8]
call fcn.00489820
push 5
push 0x4ffbfc
lea ecx, [ebp - 0x20e0]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x20d0], 0
mov dword [ebp - 0x20cc], 0xf
mov byte [ebp - 0x20e0], 0
call fcn.0042b2e0
lea eax, [ebp - 0x20f8]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x20e0]
push eax
lea ecx, [ebp - 0x20a0]
call fcn.0048c6c0
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0x20e0]
call fcn.00429290
lea ecx, [ebp - 0x20f8]
call fcn.00489da0
lea ecx, [ebp - 0x2028]
call fcn.00429290
mov eax, dword [ebp - 0x2280]
lea ecx, [ebp - 0x227c]
mov byte [ebp - 4], 0x19
cmp eax, ecx
je 0x4456ff
push eax
call fcn.004c4deb
add esp, 4
cmp dword [ebp - 0x20c0], 0
mov ecx, 0x4ffc10
mov eax, 0x4ffc0c
cmove eax, ecx
lea ecx, [ebp - 0x20f8]
push eax
call fcn.00489950
push 4
push str.code
lea ecx, [ebp - 0x20e0]
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x20d0], 0
mov dword [ebp - 0x20cc], 0xf
mov byte [ebp - 0x20e0], 0
call fcn.0042b2e0
lea eax, [ebp - 0x20f8]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x20e0]
push eax
lea ecx, [ebp - 0x20a0]
call fcn.0048c6c0
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0x20e0]
call fcn.00429290
lea ecx, [ebp - 0x20f8]
mov byte [ebp - 4], 0x19
call fcn.00489da0
push 0
push 0x4ff543
lea ecx, [ebp - 0x20e0]
mov dword [ebp - 0x20d0], 0
mov dword [ebp - 0x20cc], 0xf
mov byte [ebp - 0x20e0], 0
call fcn.0042b2e0
lea eax, [ebp - 0x20e0]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x20f8]
push eax
lea ecx, [ebp - 0x20a0]
call fcn.0048d320
mov esi, eax
mov dword [ebp - 0x20c4], eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 0x21
jb 0x4457f2
mov esi, dword [esi]
mov dword [ebp - 0x20c4], esi
lea eax, [ebp - 0x21f8]
mov dword [ebp - 0x21fc], eax
test esi, esi
jne 0x44580f
xor edx, edx
mov dword [ebp - 0x21fc], edx
jmp 0x4458ed
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445814
sub ecx, edx
push 0x80
lea eax, [ecx + 1]
lea ecx, [ebp - 0x21f8]
mov dword [ebp - 0x20bc], eax
push ecx
push eax
lea eax, [ebp - 0x21fc]
push eax
call fcn.00436280
mov eax, dword [ebp - 0x20bc]
add esp, 0x10
push eax
push dword [ebp - 0x21fc]
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x20c0], ecx
test eax, eax
jne 0x4458df
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4458d9
push 0
push 0
push dword [ebp - 0x20bc]
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [ebp - 0x21f8]
push 0x80
push eax
lea eax, [ebp - 0x21fc]
push esi
push eax
call fcn.00436280
add esp, 0x10
push esi
push dword [ebp - 0x21fc]
push dword [ebp - 0x20bc]
push dword [ebp - 0x20c4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x4458df
mov ecx, dword [ebp - 0x20c0]
test ecx, ecx
jne 0x445a0c
mov edx, dword [ebp - 0x21fc]
mov ecx, edx
mov byte [ebp - 4], 0x22
xor eax, eax
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 7
mov word [ebp - 0x2028], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445913
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2028]
call fcn.0042b3e0
mov eax, dword [ebp - 0x21fc]
lea ecx, [ebp - 0x21f8]
cmp eax, ecx
je 0x445948
push eax
call fcn.004c4deb
add esp, 4
lea ecx, [ebp - 0x20f8]
call fcn.00429290
lea ecx, [ebp - 0x20e0]
call fcn.00429290
movups xmm0, xmmword [ebp - 0x2028]
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x2028]
mov dword [edi + 0x14], 0
xor eax, eax
movups xmmword [edi], xmm0
mov word [ebp - 0x2028], ax
movq xmm0, qword [ebp - 0x2018]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 7
call fcn.004292e0
lea ecx, [ebp - 0x20a0]
call fcn.00489da0
lea ecx, [ebp - 0x2058]
call fcn.004292e0
lea ecx, [ebp - 0x2070]
call fcn.004292e0
lea ecx, [ebp - 0x2088]
call fcn.004292e0
lea ecx, [ebp - 0x2040]
call fcn.00489da0
lea ecx, [ebp - 0x20b8]
call fcn.00429290
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 8
push 0x80
lea eax, [ebp - 0x21f8]
push eax
push dword [ebp - 0x21fc]
call fcn.00436300
add esp, 0xc
call fcn.00437230
int3