Function at 0x428df0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478ea1
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x49f008]
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
push 0x424
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.00451eb0
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x212
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x434]
push 0x5c
push eax
call fcn.004516ae
movups xmm0, xmmword [str.bugreport.ini]
push 0x47c6a0
push 0x8000
movups xmmword [eax + 2], xmm0
movq xmm0, qword [0x493270]
movq qword [eax + 0x12], xmm0
mov ecx, dword [0x493278]
mov dword [eax + 0x1a], ecx
call fcn.0044e428
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x450], ebx
test ebx, ebx
je 0x429073
lea eax, [ebp - 0x434]
push eax
push 0x4000
push ebx
push str.STRINGTABLE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x429065
cmp word [ebx], 0
mov edi, ebx
je 0x429065
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x438]
call fcn.00407540
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.0041b830
mov ecx, eax
call fcn.0041b780
mov eax, dword [ebp - 0x438]
cmp dword [eax - 0xc], 0
jl 0x42901d
push 0x48f2ec
push eax
call fcn.0045142b
mov esi, eax
add esp, 8
test esi, esi
je 0x429017
mov eax, dword [ebp - 0x438]
sub esi, eax
sar esi, 1
cmp esi, 0xffffffff
je 0x42901d
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x438]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.004125f0
mov dword [ebp - 0x444], eax
push esi
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00412580
mov ebx, eax
push ebx
mov ecx, 0x4a1f30
mov byte [ebp - 4], 2
call fcn.004159b0
mov esi, eax
cmp esi, dword [0x4a1f30]
je 0x428f8f
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.00407600
test al, al
je 0x428fc5
push ecx
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], ebx
push eax
push ecx
mov ecx, 0x4a1f30
call fcn.00415ac0
push eax
add eax, 0x10
mov ecx, 0x4a1f30
push eax
push esi
lea eax, [ebp - 0x440]
push eax
call fcn.00415b80
mov esi, dword [ebp - 0x440]
push dword [ebp - 0x444]
lea ecx, [esi + 0x14]
call fcn.004137d0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x448]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428ff5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x44c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429017
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x438]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42903c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429041
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], cx
jne 0x428ed0
mov ebx, dword [ebp - 0x450]
push ebx
call fcn.0044e423
add esp, 4
mov eax, 1
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.0044df7a
mov esp, ebp
pop ebp
ret