Function at 0x469350
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 0
mov ecx, dword [ebx + 0x5b8]
push 0x563a00
push 0x55c5a4
mov dword [ebp - 0x34], ebx
call fcn.004fb49a
mov edi, eax
test edi, edi
je 0x4693ac
mov eax, dword [ebx + 0x1c]
push 0
push 0x81e5
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0x561658
push 0x55c5a4
mov ecx, 0x5761d0
call fcn.004fb49a
mov dword [ebx + 0x53c], eax
mov eax, dword [ebx + 0x1c4]
test eax, eax
je 0x469564
lea ecx, [ebp - 0x14]
push ecx
call fcn.00427050
mov eax, dword [eax]
add esp, 4
push eax
push 0
push 0x5639ec
push 0x55c5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004e1e27
cmp dword [ebx + 0x53c], 6
jne 0x469564
test edi, edi
jne 0x469564
test esi, esi
jne 0x469564
mov edx, dword [0x56b44c]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x5762a0]
mov dword [ebp - 4], esi
test eax, eax
push 0xefd8
je 0x469446
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a380
add esp, 8
jmp 0x46944e
lea ecx, [ebp - 0x1c]
call fcn.004e2fed
push 0x5705d0
lea ecx, [ebp - 0x28]
call fcn.004e1e9b
push 0x5705d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004e1e9b
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x1c]
push edx
push eax
mov byte [ebp - 4], 2
call fcn.004aae40
add esp, 0xc
test eax, eax
je 0x46953d
mov eax, dword [0x56b44c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5762a0]
mov byte [ebp - 4], 4
test eax, eax
push 0xefda
lea ecx, [ebp - 0x24]
je 0x4694b7
push ecx
call fcn.0041a380
add esp, 8
jmp 0x4694bc
call fcn.004e2fed
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
push edx
push eax
lea edx, [ebp - 0x2c]
push ecx
push edx
call fcn.004d736f
push 0
lea eax, [ebp - 0x2c]
push 0x24
push eax
call fcn.0041ba30
add esp, 0x1c
cmp eax, 6
jne 0x469508
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004ab050
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.004ab4c0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004ab9c0
add esp, 0x10
mov edx, dword [ebx + 0x53c]
mov ecx, dword [ebx + 0x5b8]
inc edx
push edx
push 0x561658
push 0x55c5a4
call fcn.004eddf6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004e1e27
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004e1e27
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004e1e27
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004e1e27
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.004e1e27
mov eax, dword [0x5710bc]
test eax, eax
je 0x46958f
push 1
mov ecx, ebx
mov dword [ebp - 4], 5
call fcn.00443c50
jmp 0x469588
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x5b8]
push 1
push 0x560a80
push 0x55c5a4
call fcn.004fb49a
test eax, eax
mov dword [ebx + 0x1a4], eax
je 0x4695b7
mov ecx, ebx
call fcn.00450ca0
mov ecx, ebx
call fcn.004583a0
mov eax, dword [0x56b44c]
mov dword [ebp - 0x20], eax
push 0
push 0x563ab4
lea ecx, [ebp - 0x14]
push 0x561ac8
push ecx
mov ecx, dword [ebx + 0x5b8]
mov dword [ebp - 4], 7
call fcn.004fb506
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004e1f6e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004e1e27
mov edx, dword [ebp - 0x20]
push 0x5705d0
push edx
call fcn.004bdb15
add esp, 8
test eax, eax
je 0x469c93
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x469c93
mov ecx, dword [0x55cb2c]
mov edx, dword [0x55cb30]
mov ax, word [0x55cb34]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
mov edx, dword [0x561abc]
xor ecx, ecx
mov word [ebp - 0x80], ax
mov eax, dword [0x561ac0]
mov dword [ebp - 0x7e], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x7a], ecx
xor edx, edx
mov word [ebp - 0x76], cx
mov cx, word [0x561ac4]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x561a9c]
mov dword [ebp - 0x56], edx
mov dword [ebp - 0x52], edx
mov word [ebp - 0x58], cx
mov ecx, dword [0x561aa0]
mov dword [ebp - 0xb0], eax
mov eax, dword [0x561a94]
mov word [ebp - 0x4e], dx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xac], ecx
mov ecx, dword [0x561a98]
mov dword [ebp - 0xd8], eax
mov eax, dword [0x561a8c]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xd4], ecx
mov ecx, dword [0x561a90]
mov dword [ebp - 0xc4], eax
mov eax, dword [0x561ab0]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc0], ecx
mov ecx, dword [0x561ab4]
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0x70], ecx
mov ecx, dword [0x561aa4]
mov dword [ebp - 0x6a], eax
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x66], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xb4], edx
mov dx, word [0x561ab8]
mov word [ebp - 0x62], ax
mov ax, word [0x561aac]
xor ecx, ecx
mov dword [ebp - 0x92], ecx
mov word [ebp - 0x6c], dx
mov edx, dword [0x561aa8]
mov word [ebp - 0x94], ax
mov eax, dword [0x56b44c]
mov dword [ebp - 0x8e], ecx
mov dword [ebp - 0x98], edx
mov word [ebp - 0x8a], cx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
push ecx
mov ecx, dword [ebx + 0x5b8]
push 0x563aa8
lea edx, [ebp - 0x14]
mov esi, 1
push 0x561ac8
push edx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x34], esi
call fcn.004fb506
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.004e1f6e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004e1e27
mov ecx, dword [ebx + 0x5b8]
push 0
push 0x563a9c
lea eax, [ebp - 0x14]
push 0x561ac8
push eax
call fcn.004fb506
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.004e1f6e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004e1e27
push 0
push 0x563a90
lea ecx, [ebp - 0x14]
push 0x561ac8
push ecx
mov ecx, dword [ebx + 0x5b8]
call fcn.004fb506
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.004e1f6e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004e1e27
mov ecx, dword [ebx + 0x5b8]
push 0
push 0x563a84
push 0x561ac8
call fcn.004fb49a
mov ecx, dword [ebx + 0x5b8]
push eax
push 0x563a78
push 0x561ac8
mov dword [ebp - 0x30], eax
call fcn.004fb49a
mov ecx, dword [ebx + 0x5b8]
push 0
push 0x563a6c
push 0x561ac8
mov dword [ebp - 0x1c], eax
call fcn.004fb49a
mov edx, dword [ebp - 0x20]
push 0x5705d0
push edx
mov dword [ebp - 0x14], eax
call fcn.004bdb15
add esp, 8
test eax, eax
je 0x469c6f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x469c6f
push 0x24
call fcn.004e24f0
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 0xf
je 0x4698a7
mov ecx, eax
call fcn.0040ec40
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x4698b1
mov dword [ebp - 0x18], 0
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [edi + 8]
call fcn.004e1f6e
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x40]
push edx
push 0x55c744
push eax
call fcn.004e2140
push 0x55c744
lea ecx, [ebp - 0x48]
push eax
push ecx
mov byte [ebp - 4], 0x10
call fcn.004e20cc
push eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 0x11
call fcn.004e1f6e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call fcn.004e1e27
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.004e1e27
lea edx, [ebp - 0x24]
lea ecx, [edi + 0xc]
push edx
call fcn.004e1f6e
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x10]
push eax
call fcn.004e1f6e
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
mov edx, dword [ebx + 0x1358]
mov eax, dword [ebx + 0x1354]
mov ecx, edx
mov dword [ebp - 0x1c], ecx
inc ecx
test ecx, ecx
jne 0x469978
test eax, eax
je 0x469965
push eax
mov dword [ebp - 0x14], edx
call fcn.004e2519
add esp, 4
mov dword [ebx + 0x1354], 0
xor eax, eax
mov dword [ebx + 0x135c], eax
mov dword [ebx + 0x1358], eax
jmp 0x469abb
test eax, eax
jne 0x4699bd
lea edi, [ecx*4]
push edi
call fcn.004e24f0
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x1354], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebx + 0x135c], eax
mov dword [ebx + 0x1358], eax
jmp 0x469ab8
cmp ecx, dword [ebx + 0x135c]
jg 0x469a00
cmp edx, ecx
jge 0x4699e8
sub ecx, edx
lea edx, [eax + edx*4]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x1358], eax
jmp 0x469abb
jle 0x4699ef
sub edx, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x1358], eax
jmp 0x469abb
mov eax, dword [ebx + 0x1360]
test eax, eax
jne 0x469a2d
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x469a21
mov eax, 4
jmp 0x469a2d
cmp eax, 0x400
jle 0x469a2d
mov eax, 0x400
mov edx, dword [ebx + 0x135c]
add eax, edx
cmp ecx, eax
mov dword [ebp - 0x30], eax
jl 0x469a3f
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
lea eax, [edx*4]
push eax
call fcn.004e24f0
mov ecx, dword [ebx + 0x1358]
mov esi, dword [ebx + 0x1354]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x1c]
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1358]
lea esi, [edx + 1]
mov edx, esi
mov dword [ebp - 0x14], eax
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.00470d60
mov eax, dword [ebx + 0x1354]
push eax
call fcn.004e2519
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x1358], esi
mov esi, dword [ebp - 0x34]
add esp, 4
mov dword [ebx + 0x1354], ecx
mov dword [ebx + 0x135c], edx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 0x1354]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x80]
inc esi
push 0xa
push edx
push esi
mov dword [eax + ecx*4], edi
mov dword [ebp - 0x34], esi
call fcn.004bdd5d
lea eax, [ebp - 0x58]
push 0xa
push eax
push esi
call fcn.004bdd5d
lea ecx, [ebp - 0x6c]
push 0xa
push ecx
push esi
call fcn.004bdd5d
lea edx, [ebp - 0x94]
push 0xa
push edx
push esi
call fcn.004bdd5d
lea eax, [ebp - 0xaa]
push 0xa
push eax
push esi
call fcn.004bdd5d
lea ecx, [ebp - 0xd2]
push 0xa
push ecx
push esi
call fcn.004bdd5d
add esp, 0x48
lea edx, [ebp - 0xbe]
push 0xa
push edx
push esi
call fcn.004bdd5d
add esp, 0xc
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x38]
push 0
push eax
push 0x561ac8
push ecx
mov ecx, dword [ebx + 0x5b8]
call fcn.004fb506
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call fcn.004e1f6e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call fcn.004e1e27
mov ecx, dword [ebx + 0x5b8]
lea edx, [ebp - 0x60]
push 0
push edx
lea eax, [ebp - 0x3c]
push 0x561ac8
push eax
call fcn.004fb506
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.004e1f6e
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.004e1e27
lea ecx, [ebp - 0x74]
push 0
push ecx
mov ecx, dword [ebx + 0x5b8]
lea edx, [ebp - 0x44]
push 0x561ac8
push edx
call fcn.004fb506
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x14
call fcn.004e1f6e
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004e1e27
lea eax, [ebp - 0x9c]
push 0
push eax
lea ecx, [ebp - 0x4c]
push 0x561ac8
push ecx
mov ecx, dword [ebx + 0x5b8]
call fcn.004fb506
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.004e1f6e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
call fcn.004e1e27
mov ecx, dword [ebx + 0x5b8]
lea edx, [ebp - 0xb0]
push 0
push edx
push 0x561ac8
call fcn.004fb49a
mov ecx, dword [ebx + 0x5b8]
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x561ac8
call fcn.004fb49a
lea ecx, [ebp - 0xc4]
push 0
push ecx
mov ecx, dword [ebx + 0x5b8]
push 0x561ac8
mov dword [ebp - 0x1c], eax
call fcn.004fb49a
mov edx, dword [ebp - 0x20]
push 0x5705d0
push edx
mov dword [ebp - 0x14], eax
call fcn.004bdb15
add esp, 8
test eax, eax
jne 0x469876
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.004e1e27
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.004e1e27
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004e1e27
mov eax, dword [ebx + 0xda8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x80bf
push 0x410
push eax
mov dword [ebp - 0x128], 0x50
mov dword [ebp - 0x124], 0x101
call esi
mov edx, dword [ebx + 0xda8]
lea ecx, [ebp - 0x128]
push ecx
push eax
push 0x41c
push edx
call esi
mov al, byte [ebp - 0x120]
mov esi, 1
test al, 8
je 0x469ce9
xor esi, esi
lea edi, [ebx + 0x15cc]
push 0
mov ecx, edi
call fcn.004e146e
mov ecx, ebx
call fcn.0045bae0
test esi, esi
je 0x469d0c
push 5
mov ecx, edi
call fcn.004e146e
mov ecx, ebx
call fcn.0046a130
mov ecx, dword [ebx + 0x5b8]
push 0
push 0x56125c
push 0x55c5a4
call fcn.004fb49a
push 0
mov dword [0x571140], eax
mov ecx, dword [ebx + 0x5b8]
push 0x563a50
push 0x55c5a4
call fcn.004fb49a
push 0x64
mov dword [0x571144], eax
mov ecx, dword [ebx + 0x5b8]
push 0x563a3c
push 0x55c5a4
call fcn.004fb49a
lea ecx, [ebp - 0x20]
mov dword [0x571148], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret