Function at 0x40812e
Capabilities:
Link many functions at runtime

Disassembly:
push 0x68
mov eax, 0x429c2d
call fcn.004120da
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x74], eax
xor edi, edi
inc edi
mov dword [ebp - 4], 2
cmp dword [ebp + 0x1c], edi
jae 0x40817e
lea eax, [ebp - 0x2c]
push eax
call fcn.00408539
mov ebx, eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0040bf6c
push edi
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040c1b5
mov ebx, dword [ebp - 0x68]
inc edi
lea eax, [ebp + 0xc]
push eax
lea esi, [ebp - 0x2c]
call fcn.0040b561
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x408195
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
push edi
lea esi, [ebp - 0x2c]
test eax, eax
jne 0x4081ab
and dword [ebx + 4], eax
jmp 0x4081ae
mov dword [ebx + 4], edi
xor edi, edi
call fcn.0040c1b5
cmp dword [ebp + 0x54], 1
jae 0x408229
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x6c], esp
push str.Channel
call fcn.0040b587
sub esp, 0x1c
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x70], esp
push str.SoftwareMagicPlus
call fcn.0040b587
mov byte [ebp - 4], 5
cmp dword [0x436988], edi
jne 0x4081fc
push 1
call fcn.0040e1e2
pop ecx
mov dword [0x436988], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040644f
mov ebx, eax
lea eax, [ebp + 0x44]
mov byte [ebp - 4], 6
call fcn.0040bf6c
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040c1b5
mov ebx, dword [ebp - 0x68]
cmp dword [ebp + 0x38], 1
jae 0x40829e
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x70], esp
push str.Version
call fcn.0040b587
sub esp, 0x1c
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x6c], esp
push str.SoftwareMagicPlus
call fcn.0040b587
mov byte [ebp - 4], 8
cmp dword [0x436988], 0
jne 0x408271
push 1
call fcn.0040e1e2
pop ecx
mov dword [0x436988], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040644f
mov ebx, eax
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 9
call fcn.0040bf6c
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040c1b5
mov ebx, dword [ebp - 0x68]
push 0x42e920
lea esi, [ebp - 0x48]
call fcn.0040b587
xor esi, esi
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x6c], esi
cmp dword [ebp + 0x38], esi
jbe 0x408326
lea eax, [ebp + 0x28]
call fcn.0040b5fa
push eax
push esi
lea eax, [ebp + 0x28]
push eax
lea esi, [ebp - 0x64]
call fcn.0040b665
mov ebx, eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.0040bf6c
push 1
xor edi, edi
mov byte [ebp - 4], 0xa
call fcn.0040c1b5
push 0xffffffffffffffff
lea eax, [ebp + 0x28]
call fcn.0040b5fa
inc eax
push eax
lea eax, [ebp + 0x28]
push eax
lea esi, [ebp - 0x2c]
call fcn.0040b665
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40830d
mov eax, esi
push eax
call fcn.0040f372
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
call fcn.0040c1b5
mov ebx, dword [ebp - 0x68]
cmp dword [ebx + 4], 0
je 0x40842d
mov eax, dword [ebx]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40834c
push str.isTrackerInitialized
push eax
call ebx
test eax, eax
je 0x40834c
call eax
jmp 0x40834e
xor al, al
test al, al
jne 0x4083a6
lea eax, [ebp - 0x2c]
push eax
call fcn.00408622
push 0x42eb60
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040b5cf
cmp dword [ebp - 0x18], 8
mov esi, dword [ebp - 0x2c]
jae 0x408379
lea esi, [ebp - 0x2c]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
test eax, eax
je 0x408396
push str.initialize
push eax
call ebx
test eax, eax
je 0x408396
push esi
push dword [ebp - 0x74]
call eax
pop ecx
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0040c1b5
mov esi, dword [ebp - 0x68]
mov eax, dword [esi]
test eax, eax
je 0x4083bd
push str.isTrackerInitialized
push eax
call ebx
test eax, eax
je 0x4083bd
call eax
cmp dword [ebp + 0x58], 8
mov edi, dword [ebp + 0x44]
jae 0x4083c9
lea edi, [ebp + 0x44]
mov eax, dword [esi]
test eax, eax
je 0x4083df
push str.setChannel
push eax
call ebx
test eax, eax
je 0x4083df
push edi
call eax
pop ecx
cmp dword [ebp - 0x34], 8
mov edi, dword [ebp - 0x48]
jae 0x4083eb
lea edi, [ebp - 0x48]
mov eax, dword [esi]
test eax, eax
je 0x40842d
push str.setAppVersion
push eax
call ebx
test eax, eax
je 0x408401
push edi
call eax
pop ecx
mov eax, dword [esi]
test eax, eax
je 0x40842d
push str.setVersionCode
push eax
call ebx
test eax, eax
je 0x408419
push dword [ebp - 0x6c]
call eax
pop ecx
mov eax, dword [esi]
test eax, eax
je 0x40842d
push str.enableTrack
push eax
call ebx
test eax, eax
je 0x40842d
call eax
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.0040c1b5
push 1
lea esi, [ebp + 0xc]
call fcn.0040c1b5
push 1
lea esi, [ebp + 0x28]
call fcn.0040c1b5
push 1
lea esi, [ebp + 0x44]
call fcn.0040c1b5
call fcn.0041215d
ret 0x58