Function at 0x452ff0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed1d3
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x5441b4]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
mov eax, dword [0x5441b4]
xor eax, esp
push eax
lea eax, [esp + 0x3e0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, 7
xor eax, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3e8], ebx
cmp eax, ebx
je 0x453427
jle 0x45345d
cmp eax, 2
jg 0x45345d
push 0x208
lea edx, [esp + 0x1ca]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x1d0], cx
call fcn.004be120
add esp, 0xc
lea esi, [esp + 0x8c]
call fcn.00452ee0
push eax
mov eax, str.dataconfig.ini
lea ecx, [esp + 0x74]
mov byte [esp + 0x3ec], 1
call fcn.004044b0
add esp, 4
mov esi, 8
mov byte [esp + 0x3e8], 3
cmp dword [esp + 0xa0], esi
jb 0x4530d7
mov eax, dword [esp + 0x8c]
push eax
call fcn.004b6106
add esp, 4
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], cx
cmp dword [esp + 0x84], esi
jae 0x453100
lea eax, [esp + 0x70]
push eax
push 0x104
lea edx, [esp + 0x1cc]
push edx
push 0x50b674
push str.channel
push 0x50b64c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x1c4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x453140
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004073c0
mov byte [esp + 0x3e8], 4
mov eax, dword [esp + 0x24]
push str.test
mov edi, 4
lea ecx, [esp + 0x18]
call fcn.00405550
test eax, eax
je 0x45319b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x28], esi
jae 0x453196
lea eax, [esp + 0x14]
xor edx, edx
mov word [eax], dx
cmp dword [esp + 0x24], ebx
jne 0x4531b6
call fcn.00441cf0
push 0xffffffffffffffff
push ebx
add eax, 0x1c
push eax
lea ecx, [esp + 0x20]
call fcn.00406e90
mov eax, dword [esp + 0x24]
push 0x50c6cc
mov edi, 2
lea ecx, [esp + 0x18]
call fcn.00405550
test eax, eax
jne 0x45325f
push 0x50b6b4
lea ecx, [esp + 0xe8]
call fcn.00406d20
lea edx, [esp + 0xe4]
lea ecx, [esp + 0x18c]
mov byte [esp + 0x3e8], 5
call fcn.00403830
push ebx
mov ecx, eax
lea esi, [esp + 0x104]
mov byte [esp + 0x3ec], 6
call fcn.00409320
add esp, 4
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x3e8], 7
call fcn.00406400
lea ecx, [esp + 0x100]
call fcn.00406760
lea ecx, [esp + 0x18c]
call fcn.00406760
lea ecx, [esp + 0xe4]
mov byte [esp + 0x3e8], 4
call fcn.00401ea0
jmp 0x4533c2
mov eax, dword [esp + 0x24]
push 0x50c6d4
lea ecx, [esp + 0x18]
call fcn.00405550
test eax, eax
je 0x4532a6
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x18]
call fcn.00456f70
add esp, 4
mov byte [esp + 0x3e8], 8
mov dword [esp + 0x10], 1
call fcn.00457040
test al, al
jne 0x4532a6
xor bl, bl
jmp 0x4532a8
mov bl, 1
mov dword [esp + 0x3e8], 4
test byte [esp + 0x10], 1
je 0x4532c6
lea ecx, [esp + 0x138]
call fcn.00401ea0
test bl, bl
je 0x453343
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00456f70
add esp, 4
mov edx, eax
lea ecx, [esp + 0x170]
mov byte [esp + 0x3e8], 9
call fcn.00403830
push 0
mov ecx, eax
lea esi, [esp + 0x1ac]
mov byte [esp + 0x3ec], 0xa
call fcn.00409320
add esp, 4
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x3e8], 0xb
call fcn.00406400
lea ecx, [esp + 0x1a8]
call fcn.00406760
lea ecx, [esp + 0x170]
call fcn.00406760
lea ecx, [esp + 0x11c]
jmp 0x4533b3
push str.WEMediaSetup
lea ecx, [esp + 0x3c]
call fcn.00406d20
lea edx, [esp + 0x38]
lea ecx, [esp + 0xc8]
mov byte [esp + 0x3e8], 0xc
call fcn.00403830
push 0
mov ecx, eax
lea esi, [esp + 0x158]
mov byte [esp + 0x3ec], 0xd
call fcn.00409320
add esp, 4
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x3e8], 0xe
call fcn.00406400
lea ecx, [esp + 0x154]
call fcn.00406760
lea ecx, [esp + 0xc8]
call fcn.00406760
lea ecx, [esp + 0x38]
mov byte [esp + 0x3e8], 4
call fcn.00401ea0
xor ebx, ebx
cmp dword [esp + 0x64], ebx
jne 0x4533dd
call fcn.00441cf0
push 0xffffffffffffffff
push ebx
add eax, 0x1c
push eax
lea ecx, [esp + 0x60]
call fcn.00406e90
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x4533f5
mov edx, dword [esp + 0x14]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov byte [esp + 0x3e8], al
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp dword [esp + 0x84], esi
jb 0x45345d
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004b6106
add esp, 4
jmp 0x45345d
mov eax, 1
test byte [0x547f74], al
jne 0x45344c
or dword [0x547f74], eax
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x547e8c
lea ecx, [esp + 0x60]
call fcn.00406e90
mov eax, dword [esp + 0x64]
push 0x50cca4
mov edi, 0xc
lea ecx, [esp + 0x58]
call fcn.00405550
test eax, eax
jne 0x4534b0
lea ecx, [esp + 0x38]
call fcn.00403520
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x3e8], 0xf
call fcn.00406400
mov byte [esp + 0x3e8], 0
cmp dword [esp + 0x4c], 8
jb 0x4534b0
mov edx, dword [esp + 0x38]
push edx
call fcn.004b6106
add esp, 4
push 0x50ccc0
mov ebx, 1
lea edi, [esp + 0x58]
call fcn.0040ebe0
xor ebx, ebx
cmp eax, 0xffffffff
je 0x453566
push eax
push ebx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.00406370
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x3e8], 0x10
call fcn.00406400
mov byte [esp + 0x3e8], bl
cmp dword [esp + 0x4c], 8
jb 0x45350a
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004b6106
add esp, 4
push 1
push ebx
push 0x50ccc0
lea ecx, [esp + 0x60]
call fcn.00411bb0
cmp eax, 0xffffffff
je 0x453566
mov edx, dword [esp + 0x64]
sub edx, eax
dec edx
push edx
inc eax
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
call fcn.00406370
mov edi, eax
lea esi, [esp + 0x54]
mov byte [esp + 0x3e8], 0x11
call fcn.00406400
mov byte [esp + 0x3e8], bl
cmp dword [esp + 0x4c], 8
jb 0x453566
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004b6106
add esp, 4
cmp dword [esp + 0x64], ebx
jne 0x45357c
push 0xc
push 0x50cca4
lea ecx, [esp + 0x5c]
call fcn.004073c0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x58]
call fcn.00456f70
add esp, 4
mov edi, eax
mov esi, 0x545640
mov byte [esp + 0x3e8], 0x12
call fcn.004015f0
mov byte [esp + 0x3e8], bl
cmp dword [esp + 0x4c], 0x10
jb 0x4535bc
mov eax, dword [esp + 0x38]
push eax
call fcn.004b6106
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x45372c
mov edx, 0x545640
lea ecx, [esp + 0x70]
call fcn.00403830
push ebx
mov ecx, eax
lea esi, [esp + 0x18]
mov byte [esp + 0x3ec], 0x13
call fcn.00409320
add esp, 4
mov byte [esp + 0x3e8], 0x15
cmp dword [esp + 0x84], 8
jb 0x453609
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], dx
cmp dword [esp + 0x24], ebx
je 0x453718
push 0x50ccc0
lea ebx, [edx + 1]
lea edi, [esp + 0x18]
call fcn.0040ebe0
cmp eax, 0xffffffff
je 0x453716
push eax
push 0
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.00406370
mov edi, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x3e8], 0x16
call fcn.00406400
mov bl, 0x15
mov byte [esp + 0x3e8], bl
cmp dword [esp + 0x4c], 8
jb 0x453685
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004b6106
add esp, 4
push 1
push 0
push 0x50ccc0
lea ecx, [esp + 0x20]
call fcn.00411bb0
cmp eax, 0xffffffff
je 0x4536dd
mov edx, dword [esp + 0x24]
sub edx, eax
dec edx
push edx
inc eax
push eax
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x20]
call fcn.00406370
mov edi, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x3e8], 0x17
call fcn.00406400
lea ecx, [esp + 0xc8]
mov byte [esp + 0x3e8], bl
call fcn.00406760
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
call fcn.00456f70
add esp, 4
mov edi, eax
mov esi, 0x54565c
mov byte [esp + 0x3e8], 0x18
call fcn.004015f0
cmp dword [esp + 0x4c], 0x10
jb 0x453716
mov edx, dword [esp + 0x38]
push edx
call fcn.004b6106
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x28], 8
jb 0x45372c
mov eax, dword [esp + 0x14]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], cx
lea ecx, [esp + 0xac]
mov byte [esp + 0x3e8], 0x19
call fcn.0040c9b0
and dword [esp + 0x94], 0xfffffe00
mov dword [esp + 0x98], ebx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3ec], 0x1b
call fcn.00456f70
add esp, 4
mov byte [esp + 0x3e8], 0x1c
mov ecx, dword [esp + 0x1c]
and ecx, 0xffffff04
or ecx, 0x104
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x20], ebx
jb 0x4537b7
mov ebx, dword [eax]
jmp 0x4537b9
mov ebx, eax
mov eax, ecx
call fcn.00417c50
mov dword [esp + 0x14], eax
push 0
lea edx, [esp + 0x90]
push edx
mov ecx, 0x50cb18
mov byte [esp + 0x3f0], 0x1d
call fcn.00419800
mov esi, eax
lea eax, [esp + 0x14]
call fcn.00418510
lea eax, [esp + 0x14]
mov byte [esp + 0x3e8], 0x1c
call fcn.00418470
mov esi, 0x10
mov byte [esp + 0x3e8], 0x1b
cmp dword [esp + 0x4c], esi
jb 0x45381c
mov eax, dword [esp + 0x38]
push eax
call fcn.004b6106
add esp, 4
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x58]
call fcn.00456f70
add esp, 4
mov byte [esp + 0x3e8], 0x1e
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
and edx, 0xffffff04
or edx, 0x104
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
cmp dword [eax + 0x14], esi
jb 0x45385d
mov ebx, dword [eax]
jmp 0x45385f
mov ebx, eax
mov eax, ecx
call fcn.00417c50
mov dword [esp + 0x14], eax
push 0
lea eax, [esp + 0x90]
push eax
mov ecx, 0x50cb1c
mov byte [esp + 0x3f0], 0x1f
call fcn.00419800
mov esi, eax
lea eax, [esp + 0x14]
call fcn.00418510
lea eax, [esp + 0x14]
mov byte [esp + 0x3e8], 0x1e
call fcn.00418470
mov bl, 0x1b
mov byte [esp + 0x3e8], bl
cmp dword [esp + 0x4c], 0x10
jb 0x4538bf
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004b6106
add esp, 4
push str.WEMedia1.0
lea edi, [esp + 0x18]
call fcn.004181d0
push 0
lea edx, [esp + 0x90]
push edx
mov ecx, 0x50cb24
mov byte [esp + 0x3f0], 0x20
call fcn.00419800
mov esi, eax
mov eax, edi
call fcn.00418510
mov eax, edi
mov byte [esp + 0x3e8], bl
call fcn.00418470
mov eax, 1
test byte [0x547f74], al
jne 0x453925
or dword [0x547f74], eax
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
lea eax, [esp + 0x38]
push eax
mov ecx, 0x547e70
call fcn.00456f70
add esp, 4
mov byte [esp + 0x3e8], 0x21
mov ecx, dword [esp + 0x1c]
and ecx, 0xffffff04
or ecx, 0x104
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x20], 0
jb 0x453968
mov ebx, dword [eax]
jmp 0x45396a
mov ebx, eax
mov eax, ecx
call fcn.00417c50
mov dword [esp + 0x14], eax
push 0
lea edx, [esp + 0x90]
push edx
mov ecx, 0x50cb2c
mov byte [esp + 0x3f0], 0x22
call fcn.00419800
mov esi, eax
lea eax, [esp + 0x14]
call fcn.00418510
lea eax, [esp + 0x14]
mov byte [esp + 0x3e8], 0x21
call fcn.00418470
mov bl, 0x1b
mov byte [esp + 0x3e8], bl
cmp dword [esp + 0x4c], 0x10
jb 0x4539ca
mov eax, dword [esp + 0x38]
push eax
call fcn.004b6106
add esp, 4
push str.WEMediaSetup
lea edi, [esp + 0x18]
call fcn.004181d0
push 0
lea ecx, [esp + 0x90]
push ecx
mov ecx, 0x50cb34
mov byte [esp + 0x3f0], 0x23
call fcn.00419800
mov esi, eax
mov eax, edi
call fcn.00418510
mov eax, edi
mov byte [esp + 0x3e8], bl
call fcn.00418470
lea esi, [esp + 0x38]
call fcn.0040e6a0
lea edx, [esp + 0x70]
push edx
mov ecx, eax
mov byte [esp + 0x3ec], 0x24
call fcn.00456f70
add esp, 4
mov byte [esp + 0x3e8], 0x25
mov ecx, dword [esp + 0x1c]
and ecx, 0xffffff04
or ecx, 0x104
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x20], 0
jb 0x453a5c
mov ebx, dword [eax]
jmp 0x453a5e
mov ebx, eax
mov eax, ecx
call fcn.00417c50
mov dword [esp + 0x14], eax
xor ebx, ebx
push ebx
lea edx, [esp + 0x90]
push edx
mov ecx, 0x50cb5c
mov byte [esp + 0x3f0], 0x26
call fcn.00419800
mov esi, eax
lea eax, [esp + 0x14]
call fcn.00418510
lea eax, [esp + 0x14]
mov byte [esp + 0x3e8], 0x25
call fcn.00418470
cmp dword [esp + 0x84], 0x10
jb 0x453ab9
mov eax, dword [esp + 0x70]
push eax
call fcn.004b6106
add esp, 4
mov esi, 8
mov byte [esp + 0x3e8], 0x1b
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x4c], esi
jb 0x453aef
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004b6106
add esp, 4
lea edi, [esp + 0x8c]
call fcn.00410380
mov eax, edi
mov byte [esp + 0x3e8], 0x19
call fcn.00418470
cmp dword [esp + 0xc0], esi
jb 0x453b23
mov edx, dword [esp + 0xac]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
cmp dword [esp + 0x68], esi
jb 0x453b52
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004b6106
add esp, 4
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.004b6111
mov esp, ebp
pop ebp
ret