Function at 0x455d50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f38b0
mov eax, dword fs:[0]
push eax
sub esp, 0x6d8
mov eax, dword [0x54b1b4]
xor eax, esp
mov dword [esp + 0x6d0], eax
push ebx
push esi
push edi
mov eax, dword [0x54b1b4]
xor eax, esp
push eax
lea eax, [esp + 0x6e8]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edi, 7
xor eax, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
mov dword [esp + 0x6f0], ebx
xor ecx, ecx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], cx
mov eax, dword [ebp + 8]
lea esi, [ebx + 1]
mov byte [esp + 0x6f0], 1
cmp eax, ebx
je 0x4563cc
jle 0x456430
cmp eax, 2
jg 0x456430
push 0x208
lea eax, [esp + 0x2c2]
xor edx, edx
push ebx
push eax
mov word [esp + 0x2c8], dx
call fcn.004c24e0
lea esi, [esp + 0xb4]
call fcn.00455c40
push eax
mov eax, str.dataconfig.ini
lea ecx, [esp + 0x9c]
mov byte [esp + 0x700], 2
call fcn.00406d60
add esp, 0x10
mov esi, 8
mov byte [esp + 0x6f0], 4
cmp dword [esp + 0xbc], esi
jb 0x455e57
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004ba3a4
add esp, 4
mov eax, dword [esp + 0x8c]
xor edx, edx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], dx
cmp dword [esp + 0xa0], esi
jae 0x455e86
lea eax, [esp + 0x8c]
push eax
push 0x104
lea eax, [esp + 0x2c4]
push eax
push 0x510888
push str.channel
push 0x510614
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
lea eax, [esp + 0x2bc]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x455ec2
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x2c0]
push edx
lea ecx, [esp + 0x24]
call fcn.00408440
mov ebx, 5
mov byte [esp + 0x6f0], bl
mov eax, dword [esp + 0x2c]
push str.test
lea edi, [ebx - 1]
lea ecx, [esp + 0x20]
call fcn.00405fc0
test eax, eax
je 0x455f24
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
jae 0x455f1f
lea eax, [esp + 0x1c]
xor ecx, ecx
mov word [eax], cx
cmp dword [esp + 0x2c], 0
jne 0x455f41
call fcn.004438a0
push 0xffffffffffffffff
push 0
add eax, 0x1c
push eax
lea ecx, [esp + 0x28]
call fcn.00407f10
mov eax, dword [esp + 0x2c]
push 0x511b60
mov edi, 2
lea ecx, [esp + 0x20]
call fcn.00405fc0
test eax, eax
jne 0x45605e
push 0x5108fc
lea ecx, [esp + 0xe4]
call fcn.00407da0
lea edx, [esp + 0xe0]
lea ecx, [esp + 0x268]
mov byte [esp + 0x6f0], 6
call fcn.00403940
push 0
mov ecx, eax
lea esi, [esp + 0x170]
mov byte [esp + 0x6f4], 7
call fcn.0040a3d0
add esp, 4
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x6f0], 8
call fcn.00407640
lea ecx, [esp + 0x16c]
call fcn.004077e0
lea ecx, [esp + 0x268]
call fcn.004077e0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x6f0], bl
call fcn.00401ea0
push 0x5108fc
lea ecx, [esp + 0xc8]
call fcn.00407da0
lea edx, [esp + 0xc4]
lea ecx, [esp + 0x284]
mov byte [esp + 0x6f0], 9
call fcn.00403940
mov ecx, eax
lea esi, [esp + 0x134]
mov byte [esp + 0x6f0], 0xa
call fcn.0040a580
mov edi, eax
lea esi, [esp + 0x70]
mov byte [esp + 0x6f0], 0xb
call fcn.00407640
lea ecx, [esp + 0x134]
call fcn.004077e0
lea ecx, [esp + 0x284]
call fcn.004077e0
lea ecx, [esp + 0xc4]
jmp 0x4562b7
mov eax, dword [esp + 0x2c]
push 0x511b68
lea ecx, [esp + 0x20]
call fcn.00405fc0
test eax, eax
je 0x4560a6
lea edx, [esp + 0x1a4]
push edx
lea ecx, [esp + 0x20]
call fcn.0045a850
add esp, 4
mov byte [esp + 0x6f0], 0xc
mov dword [esp + 0x18], 1
call fcn.0045a920
mov byte [esp + 0x17], 0
test al, al
je 0x4560ab
mov byte [esp + 0x17], 1
mov dword [esp + 0x6f0], ebx
test byte [esp + 0x18], 1
je 0x4560c5
lea ecx, [esp + 0x1a4]
call fcn.00401ea0
cmp byte [esp + 0x17], 0
je 0x4561c7
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x20]
call fcn.0045a850
mov edx, eax
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x6f4], 0xd
call fcn.00403940
push 0
mov ecx, eax
lea esi, [esp + 0x254]
mov byte [esp + 0x6f8], 0xe
call fcn.0040a3d0
add esp, 8
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x6f0], 0xf
call fcn.00407640
lea ecx, [esp + 0x24c]
call fcn.004077e0
lea ecx, [esp + 0x1dc]
call fcn.004077e0
lea ecx, [esp + 0x2a0]
mov byte [esp + 0x6f0], bl
call fcn.00401ea0
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0x20]
call fcn.0045a850
add esp, 4
mov edx, eax
lea ecx, [esp + 0x150]
mov byte [esp + 0x6f0], 0x10
call fcn.00403940
mov ecx, eax
lea esi, [esp + 0x214]
mov byte [esp + 0x6f0], 0x11
call fcn.0040a580
mov edi, eax
lea esi, [esp + 0x70]
mov byte [esp + 0x6f0], 0x12
call fcn.00407640
lea ecx, [esp + 0x214]
call fcn.004077e0
lea ecx, [esp + 0x150]
call fcn.004077e0
lea ecx, [esp + 0x188]
jmp 0x4562b7
push str.WEMediaSetup
lea ecx, [esp + 0x11c]
call fcn.00407da0
lea edx, [esp + 0x118]
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x6f0], 0x13
call fcn.00403940
push 0
mov ecx, eax
lea esi, [esp + 0x1c4]
mov byte [esp + 0x6f4], 0x14
call fcn.0040a3d0
add esp, 4
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x6f0], 0x15
call fcn.00407640
lea ecx, [esp + 0x1c0]
call fcn.004077e0
lea ecx, [esp + 0x1f8]
call fcn.004077e0
lea ecx, [esp + 0x118]
mov byte [esp + 0x6f0], bl
call fcn.00401ea0
push str.WEMediaSetup
lea ecx, [esp + 0x3c]
call fcn.00407da0
lea edx, [esp + 0x38]
lea ecx, [esp + 0xfc]
mov byte [esp + 0x6f0], 0x16
call fcn.00403940
mov ecx, eax
lea esi, [esp + 0x230]
mov byte [esp + 0x6f0], 0x17
call fcn.0040a580
mov edi, eax
lea esi, [esp + 0x70]
mov byte [esp + 0x6f0], 0x18
call fcn.00407640
lea ecx, [esp + 0x230]
call fcn.004077e0
lea ecx, [esp + 0xfc]
call fcn.004077e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x6f0], bl
call fcn.00401ea0
cmp dword [esp + 0x64], 0
jne 0x4562e0
call fcn.004438a0
push 0xffffffffffffffff
push 0
add eax, 0x1c
push eax
lea ecx, [esp + 0x60]
call fcn.00407f10
cmp dword [esp + 0x80], 0
jne 0x45637a
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x4d6]
push eax
mov word [esp + 0x4d8], dx
call fcn.004c24e0
mov eax, dword [esp + 0x98]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0xa0], esi
jae 0x45632a
lea eax, [esp + 0x8c]
push eax
push 0x104
lea ecx, [esp + 0x4d4]
push ecx
push 0x510888
push str.subchannel
push 0x510614
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x4cc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x456357
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4d0]
push edx
lea ecx, [esp + 0x78]
call fcn.00408440
jmp 0x45637f
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x456392
mov eax, dword [esp + 0x1c]
push eax
call fcn.004ba3a4
add esp, 4
xor ecx, ecx
mov byte [esp + 0x6f0], 1
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], cx
cmp dword [esp + 0xa0], esi
jb 0x456430
mov edx, dword [esp + 0x8c]
push edx
call fcn.004ba3a4
add esp, 4
jmp 0x456430
test byte [0x54f018], 1
jne 0x4563ed
or dword [0x54f018], esi
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x54ef14
lea ecx, [esp + 0x60]
call fcn.00407f10
test byte [0x54f018], 1
jne 0x45641f
or dword [0x54f018], esi
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x54ef30
lea ecx, [esp + 0x7c]
call fcn.00407f10
mov eax, dword [esp + 0x64]
push 0x5121e0
mov edi, 0xc
lea ecx, [esp + 0x58]
call fcn.00405fc0
test eax, eax
jne 0x456483
lea ecx, [esp + 0x38]
call fcn.00403630
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x6f0], 0x19
call fcn.00407640
mov byte [esp + 0x6f0], 1
cmp dword [esp + 0x4c], 8
jb 0x456483
mov eax, dword [esp + 0x38]
push eax
call fcn.004ba3a4
add esp, 4
push 0x51088c
mov ebx, 1
lea edi, [esp + 0x58]
call fcn.0040fcc0
cmp eax, 0xffffffff
je 0x45653a
push eax
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call fcn.004070a0
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x6f0], 0x1a
call fcn.00407640
mov byte [esp + 0x6f0], bl
cmp dword [esp + 0x4c], 8
jb 0x4564dc
mov edx, dword [esp + 0x38]
push edx
call fcn.004ba3a4
add esp, 4
push 1
push 0
push 0x51088c
lea ecx, [esp + 0x60]
call fcn.004135d0
cmp eax, 0xffffffff
je 0x45653a
mov ecx, dword [esp + 0x64]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x60]
call fcn.004070a0
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x6f0], 0x1b
call fcn.00407640
mov byte [esp + 0x6f0], 1
cmp dword [esp + 0x4c], 8
jb 0x45653a
mov eax, dword [esp + 0x38]
push eax
call fcn.004ba3a4
add esp, 4
cmp dword [esp + 0x64], 0
jne 0x456551
push 0xc
push 0x5121e0
lea ecx, [esp + 0x5c]
call fcn.00408440
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x58]
call fcn.0045a850
add esp, 4
mov edi, eax
mov esi, 0x54c674
mov byte [esp + 0x6f0], 0x1c
call fcn.004015f0
mov byte [esp + 0x6f0], 1
cmp dword [esp + 0x4c], 0x10
jb 0x456592
mov edx, dword [esp + 0x38]
push edx
call fcn.004ba3a4
add esp, 4
mov eax, dword [esp + 0x80]
push 0x5121e0
mov edi, 0xc
lea ecx, [esp + 0x74]
call fcn.00405fc0
test eax, eax
jne 0x4565e0
lea ecx, [esp + 0x38]
call fcn.00403630
mov edi, eax
lea esi, [esp + 0x70]
mov byte [esp + 0x6f0], 0x1d
call fcn.00407640
cmp dword [esp + 0x4c], 8
jb 0x4565e0
mov eax, dword [esp + 0x38]
push eax
call fcn.004ba3a4
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x6f0], 0x1e
xor ecx, ecx
push 1
mov word [esp + 0xc8], cx
push 0x51088c
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], eax
call fcn.00408440
lea edx, [esp + 0xc4]
push edx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x74]
mov byte [esp + 0x6f4], 0x1f
call fcn.0040b2f0
add esp, 4
mov byte [esp + 0x6f0], 0x1e
cmp dword [esp + 0xd8], 8
jb 0x456667
mov eax, dword [esp + 0xc4]
push eax
call fcn.004ba3a4
add esp, 4
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x456693
push 0xffffffffffffffff
lea eax, [ebx + 0x1c]
push 0
push eax
jmp 0x45669c
test eax, eax
je 0x4566a5
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x7c]
call fcn.00407f10
cmp dword [esp + 0x80], 0
jne 0x4566bf
push 8
push 0x519910
lea ecx, [esp + 0x78]
call fcn.00408440
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x74]
call fcn.0045a850
add esp, 4
mov edi, eax
mov esi, 0x54c690
mov byte [esp + 0x6f0], 0x20
call fcn.004015f0
mov byte [esp + 0x6f0], 0x1e
cmp dword [esp + 0x4c], 0x10
jb 0x456700
mov edx, dword [esp + 0x38]
push edx
call fcn.004ba3a4
add esp, 4
push 0xffffffffffffffff
push 0
push 0x54c674
mov ecx, 0x54c6ac
call fcn.004014b0
push 0xffffffffffffffff
push 0
push 0x54c690
mov ecx, 0x54c6c8
call fcn.004014b0
cmp dword [ebp + 8], 0
jne 0x456aee
mov edx, 0x54c674
lea ecx, [esp + 0xa8]
call fcn.00403940
push 0
mov ecx, eax
lea esi, [esp + 0x90]
mov byte [esp + 0x6f4], 0x21
call fcn.0040a3d0
add esp, 4
mov byte [esp + 0x6f0], 0x23
cmp dword [esp + 0xbc], 8
jb 0x45677e
mov eax, dword [esp + 0xa8]
push eax
call fcn.004ba3a4
add esp, 4
xor ecx, ecx
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], 0
mov word [esp + 0xa8], cx
cmp dword [esp + 0x9c], ecx
je 0x4568b5
push 0x51088c
lea ebx, [ecx + 1]
lea edi, [esp + 0x90]
call fcn.0040fcc0
cmp eax, 0xffffffff
je 0x4568b1
push eax
push 0
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call fcn.004070a0
mov edi, eax
lea esi, [esp + 0x8c]
mov byte [esp + 0x6f0], 0x24
call fcn.00407640
mov bl, 0x23
mov byte [esp + 0x6f0], bl
cmp dword [esp + 0x4c], 8
jb 0x45680a
mov eax, dword [esp + 0x38]
push eax
call fcn.004ba3a4
add esp, 4
push 1
push 0
push 0x51088c
lea ecx, [esp + 0x98]
call fcn.004135d0
cmp eax, 0xffffffff
je 0x45686e
mov ecx, dword [esp + 0x9c]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x98]
call fcn.004070a0
mov edi, eax
lea esi, [esp + 0x8c]
mov byte [esp + 0x6f0], 0x25
call fcn.00407640
lea ecx, [esp + 0xfc]
mov byte [esp + 0x6f0], bl
call fcn.004077e0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x90]
call fcn.0045a850
add esp, 4
mov edi, eax
mov esi, 0x54c6ac
mov byte [esp + 0x6f0], 0x26
call fcn.004015f0
mov byte [esp + 0x6f0], bl
cmp dword [esp + 0x4c], 0x10
jb 0x4568b1
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004ba3a4
add esp, 4
mov ebx, dword [esp + 0x1c]
mov edx, 0x54c6ac
lea ecx, [esp + 0xe0]
call fcn.00403940
mov ecx, eax
lea esi, [esp + 0xc4]
mov byte [esp + 0x6f0], 0x27
call fcn.0040a580
mov byte [esp + 0x6f0], 0x29
cmp dword [esp + 0xf4], 8
jb 0x4568fe
mov edx, dword [esp + 0xe0]
push edx
call fcn.004ba3a4
add esp, 4
xor eax, eax
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], 0
mov word [esp + 0xe0], ax
cmp ebx, dword [esp + 0x20]
je 0x456945
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push ecx
push edi
mov eax, ebx
mov ecx, edi
call fcn.0040c5f0
add esp, 8
mov esi, eax
call fcn.0040cf70
mov dword [esp + 0x20], esi
push 1
xor edx, edx
push 0x51088c
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], dx
call fcn.00408440
lea eax, [esp + 0xa8]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0xc8]
mov byte [esp + 0x6f4], 0x2a
call fcn.0040b2f0
add esp, 4
mov byte [esp + 0x6f0], 0x29
cmp dword [esp + 0xbc], 8
jb 0x4569bd
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004ba3a4
add esp, 4
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x456a19
lea edx, [esp + 0x38]
add ecx, 0x1c
push edx
call fcn.0045a850
add esp, 4
mov byte [esp + 0x6f0], 0x2b
mov edi, eax
mov esi, 0x54c6c8
call fcn.004015f0
mov byte [esp + 0x6f0], 0x29
cmp dword [esp + 0x4c], 0x10
jb 0x456a79
mov eax, dword [esp + 0x38]
push eax
jmp 0x456a71
cmp eax, 1
jbe 0x456a35
lea edx, [esp + 0x38]
push edx
call fcn.0045a850
add esp, 4
mov byte [esp + 0x6f0], 0x2c
jmp 0x4569f7
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xc8]
call fcn.0045a850
add esp, 4
mov edi, eax
mov esi, 0x54c6c8
mov byte [esp + 0x6f0], 0x2d
call fcn.004015f0
mov byte [esp + 0x6f0], 0x29
cmp dword [esp + 0x4c], 0x10
jb 0x456a79
mov edx, dword [esp + 0x38]
push edx
call fcn.004ba3a4
add esp, 4
cmp dword [0x54c6d8], 0
jne 0x456a93
push 8
push str.official
mov ecx, 0x54c6c8
call fcn.00407c70
mov esi, 8
cmp dword [esp + 0xd8], esi
jb 0x456ab1
mov eax, dword [esp + 0xc4]
push eax
call fcn.004ba3a4
add esp, 4
xor ecx, ecx
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], cx
cmp dword [esp + 0xa0], esi
jb 0x456aea
mov edx, dword [esp + 0x8c]
push edx
call fcn.004ba3a4
add esp, 4
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x456b06
mov edi, dword [esp + 0x20]
mov eax, ebx
call fcn.0040cf70
push ebx
call fcn.004ba3a4
add esp, 4
mov esi, 8
cmp dword [esp + 0x84], esi
jb 0x456b21
mov eax, dword [esp + 0x70]
push eax
call fcn.004ba3a4
add esp, 4
xor ecx, ecx
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], cx
cmp dword [esp + 0x68], esi
jb 0x456b51
mov edx, dword [esp + 0x54]
push edx
call fcn.004ba3a4
add esp, 4
mov ecx, dword [esp + 0x6e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.004ba3af
mov esp, ebp
pop ebp
ret