Function at 0x410d70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535bbe
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x584460]
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 eax, dword [ebp + 8]
mov ebx, ecx
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x80e]
push edx
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x814], ebx
mov word [ebp - 0x810], cx
call fcn.00513a30
mov eax, dword [0x58c370]
mov eax, dword [eax - 0xc]
add esp, 0xc
mov dword [ebp - 0x81c], 1
test eax, eax
jne 0x410e29
lea esi, [ebp - 0x818]
call fcn.00411200
push eax
mov ecx, 0x58c370
mov dword [ebp - 4], 0
call fcn.00406e10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x818]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410e29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x58c374]
cmp dword [ecx - 0xc], 0
jne 0x410e7b
lea edi, [ebp - 0x818]
call fcn.00411900
push eax
mov ecx, 0x58c374
mov dword [ebp - 4], 1
call fcn.00406e10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x818]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410e7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041df57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410e95
push 0x80004005
call fcn.00402e30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x818], edi
lea ecx, [ebp - 0x844]
mov dword [ebp - 4], 2
call fcn.0042979d
mov byte [ebp - 4], 3
mov ecx, dword [0x58c374]
push 0
push ecx
lea ecx, [ebp - 0x844]
call fcn.00429844
test eax, eax
je 0x410f9d
lea esp, [esp]
lea ecx, [ebp - 0x844]
call fcn.004293d5
lea edx, [ebp - 0x820]
push edx
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x828], eax
call fcn.004299b1
mov byte [ebp - 4], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x410f6a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x410f54
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x410f54
push eax
call fcn.00406da0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x410f43
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov ebx, dword [ebp - 0x814]
mov dword [ebp - 0x818], edi
jmp 0x410f6a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x818]
call fcn.00406ef0
mov edi, dword [ebp - 0x818]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x820]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410f90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x828], 0
jne 0x410ee0
mov ecx, dword [0x58c374]
mov eax, dword [0x58c370]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
push 0x400
lea edx, [ebp - 0x810]
push edx
push 0x563134
push ebx
push eax
call esi
cmp dword [0x58c2fc], 0
je 0x4110ee
lea ecx, [ebp - 0x814]
test eax, eax
je 0x411026
push ebx
call fcn.00406ce0
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp - 0x824]
mov byte [ebp - 4], 5
call fcn.00406e10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41119f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41119f
push str.ERROR_ID_:
call fcn.00406ce0
push ebx
push eax
lea ecx, [ebp - 0x820]
push ecx
mov byte [ebp - 4], 6
call fcn.00411f00
mov bl, 7
mov byte [ebp - 4], bl
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00406da0
lea esi, [eax + 0x10]
add esp, 0x10
mov dword [ebp - 0x828], esi
mov ecx, dword [ebp - 0x824]
lea edx, [ebp - 0x828]
push edx
mov byte [ebp - 4], 8
call fcn.00406e10
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411093
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x820]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x81c], 0
jmp 0x41119f
test eax, eax
jne 0x41111c
mov ecx, dword [0x58c374]
push ecx
push 0x400
lea edx, [ebp - 0x810]
push edx
push 0x563134
push ebx
push 0x564198
call esi
test eax, eax
jne 0x41111c
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.00406ce0
mov esi, dword [ebp - 0x824]
lea ecx, [ebp - 0x814]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00406e10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41116c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5641a0
push 0x5641a4
mov ecx, esi
call fcn.00411a20
push 0x5641ac
push 0x5641b0
mov ecx, esi
call fcn.00411a20
push 0x5641b8
push 0x5641bc
mov ecx, esi
call fcn.00411a20
lea ecx, [ebp - 0x844]
mov byte [ebp - 4], 2
call fcn.004297cf
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4111cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x81c]
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.00511b7f
mov esp, ebp
pop ebp
ret 4