Function at 0x417a50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x472081
mov eax, dword fs:[0]
push eax
mov eax, 0x20244
call fcn.0045d7b0
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x20240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x20258]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
xor eax, eax
push 0x1fffc
push eax
lea ecx, [esp + 0x25e]
mov dword [esp + 0x20268], 1
push ecx
xor ebp, ebp
mov word [esp + 0x260], ax
call fcn.0045cac0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x56]
push eax
mov word [esp + 0x58], dx
call fcn.0045cac0
mov edx, dword [0x489490]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x489490
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x20260], 2
mov ecx, dword [esp + 0x2026c]
mov eax, dword [esp + 0x20268]
push ecx
push 0xffff
lea edx, [esp + 0x25c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor eax, eax
jmp 0x417b30
cmp word [esp + eax*2 + 0x254], 0
jne 0x417b47
xor ecx, ecx
cmp cx, word [esp + eax*2 + 0x256]
je 0x417b4f
inc eax
cmp eax, 0xffff
jl 0x417b30
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x24], eax
cmp dword [ebx + 0xc], eax
jbe 0x417b64
call fcn.00459e39
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x1c], edx
cmp esi, dword [ebx + 0x10]
jbe 0x417b77
call fcn.00459e39
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx]
push ecx
push edx
push esi
push eax
push ebx
lea ebx, [esp + 0x30]
call fcn.0041f360
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x417b9c
call fcn.00459e39
mov eax, dword [edi]
mov edi, dword [edi + 0xc]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
cmp edi, dword [ebx + 0x10]
jbe 0x417bb3
call fcn.00459e39
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx]
push esi
push ecx
push edi
push eax
push ebx
lea ebx, [esp + 0x30]
call fcn.0041f360
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x417c5b
mov byte [esp + 0x20260], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417bfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x20260], 0
mov eax, dword [esp + 0x20268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20260], 0xffffffff
mov eax, dword [esp + 0x2026c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417c54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x417f01
inc edx
xor ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
test edx, edx
jle 0x417e71
movzx eax, word [esp + ecx*2 + 0x254]
mov word [esp + ebp*2 + 0x4c], ax
inc ebp
test ax, ax
jne 0x417e64
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417c90
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x4c]
mov ebx, eax
push ecx
lea eax, [esp + 0x18]
call fcn.00404be0
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
jg 0x417cbe
or eax, 0xffffffff
jmp 0x417cd6
push 0x3d
push ebx
call fcn.0045a4e2
add esp, 8
test eax, eax
jne 0x417cd2
or eax, 0xffffffff
jmp 0x417cd6
sub eax, ebx
sar eax, 1
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
call fcn.00404630
mov edi, eax
mov ebp, dword [esp + 0x2c]
mov byte [esp + 0x20260], 3
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x417cfc
xor ecx, ecx
jmp 0x417d04
mov ecx, dword [ebp + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [ebp + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x417d38
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x38]
push eax
push ecx
push edi
push esi
mov ecx, 1
call fcn.00420ab0
add esp, 0x10
add esi, 4
mov dword [ebp + 0x10], esi
jmp 0x417d53
cmp eax, esi
jbe 0x417d41
call fcn.00459e39
mov eax, dword [ebp]
push esi
push eax
push edi
lea edx, [esp + 0x48]
push edx
mov eax, ebp
call fcn.0041f2b0
mov byte [esp + 0x20260], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
jg 0x417d86
or eax, 0xffffffff
jmp 0x417d9e
push 0x3d
push ebx
call fcn.0045a4e2
add esp, 8
test eax, eax
jne 0x417d9a
or eax, 0xffffffff
jmp 0x417d9e
sub eax, ebx
sar eax, 1
lea ecx, [eax + 1]
lea esi, [esp + 0x1c]
lea edx, [esp + 0x14]
call fcn.00404560
mov edi, eax
mov ebp, dword [esp + 0x28]
mov byte [esp + 0x20260], 4
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x417dc7
xor ecx, ecx
jmp 0x417dcf
mov ecx, dword [ebp + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [ebp + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x417e03
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x34]
push eax
push ecx
push edi
push esi
mov ecx, 1
call fcn.00420ab0
add esp, 0x10
add esi, 4
mov dword [ebp + 0x10], esi
jmp 0x417e1e
cmp eax, esi
jbe 0x417e0c
call fcn.00459e39
mov eax, dword [ebp]
push esi
push eax
push edi
lea edx, [esp + 0x50]
push edx
mov eax, ebp
call fcn.0041f2b0
mov byte [esp + 0x20260], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417e46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x104
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.0045cac0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
add esp, 0xc
xor ebp, ebp
inc ecx
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x417c6e
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x10]
sub esi, dword [eax + 0xc]
mov byte [esp + 0x20260], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
sar esi, 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x20260], 0
mov eax, dword [esp + 0x20268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ed1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20260], 0xffffffff
mov eax, dword [esp + 0x2026c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417eff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20240]
xor ecx, esp
call fcn.004599ea
add esp, 0x20250
ret