Function at 0x45a900
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x49ec
call fcn.005003b0
mov eax, dword [0x56d380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movzx edx, word [eax + 0x20c]
push ebx
movzx ebx, word [eax + 0x20e]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x49d8], eax
mov eax, dword [0x56c260]
mov dword [ebp - 0x49ec], ecx
mov dword [ebp - 0x49e0], edx
mov edx, dword [eax + 0xc]
push edi
mov ecx, 0x56c260
call edx
lea edi, [eax + 0x10]
mov eax, 0x100
mov dword [ebp - 0x49e8], edi
cmp ax, bx
jne 0x45acba
movzx eax, word [ebp - 0x49e0]
cmp eax, 0x20
je 0x45a9ab
cmp eax, 0x30
je 0x45a98a
cmp eax, 0x40
jne 0x45ac05
inc dword [esi + 0x68]
jmp 0x45ac05
mov ecx, dword [ebp - 0x49d8]
mov edx, dword [ecx]
push edx
call fcn.0045f340
lea ecx, [eax + 0x1104]
call fcn.00431d40
inc dword [esi + 0x64]
jmp 0x45ac05
mov eax, dword [0x56c260]
mov edx, dword [eax + 0xc]
mov ecx, 0x56c260
call edx
mov edi, dword [ebp - 0x49ec]
add eax, 0x10
mov dword [ebp - 0x49e4], eax
mov eax, dword [edi + 8]
push eax
push 0
lea ecx, [ebp - 0x49e4]
push str._n_11Update__Check_upstatus_d_newversion_d
push ecx
call fcn.00428a30
mov edx, dword [ebp - 0x49e4]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [edi + 8], 0
je 0x45abe0
push 0x49cc
mov edi, 1
add dword [esi + 0x60], edi
add dword [esi + 0x64], edi
add dword [esi + 0x68], edi
lea eax, [ebp - 0x49d0]
push 0
push eax
mov dword [ebp - 0x49d4], 0
call fcn.00500080
mov ebx, dword [ebp - 0x49d8]
mov edx, dword [ebx]
add esp, 0xc
lea ecx, [ebp - 0x49d4]
push ecx
push edx
call fcn.0045f340
lea ecx, [eax + 0x1104]
call fcn.00431e30
lea eax, [ebp - 0x52c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45aa51
sub eax, edx
sar eax, 1
je 0x45abb6
lea eax, [ebp - 0x324]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45aa70
sub eax, edx
sar eax, 1
je 0x45abb6
lea eax, [ebp - 0x2a4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45aa90
sub eax, edx
sar eax, 1
je 0x45abb6
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x45aab8
cmp eax, 2
jne 0x45abb6
lea eax, [ebp - 0x52c]
push eax
lea ecx, [ebp - 0x49d8]
call fcn.0042ad10
lea eax, [ebp - 0x45bc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45aad3
sub eax, edx
sar eax, 1
je 0x45ab26
lea ecx, [ebp - 0x45bc]
push ecx
lea ecx, [ebp - 0x49e0]
call fcn.0042ad10
lea edx, [ebp - 0x49e0]
push edx
lea eax, [ebp - 0x49d8]
push 0x5705f4
push eax
call fcn.0045f340
lea ecx, [eax + 0x110c]
call fcn.0044ff20
lea ecx, [ebp - 0x49e0]
call fcn.00404160
jmp 0x45ab89
call fcn.0045f340
mov eax, dword [eax + 0x1064]
push ecx
sub eax, 0x10
mov edi, esp
push eax
call fcn.00403b50
lea ecx, [ebp - 0x49dc]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.0045f340
lea ecx, [eax + 0x110c]
call fcn.0044fc00
push eax
lea edx, [ebp - 0x49d8]
push 0x5705f4
push edx
call fcn.0045f340
lea ecx, [eax + 0x110c]
call fcn.0044ff20
lea ecx, [ebp - 0x49dc]
call fcn.00404160
mov edi, 1
mov eax, dword [ebp - 0x49d8]
push eax
lea ecx, [ebp - 0x4884]
push ecx
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x49d8]
call fcn.00404160
mov ecx, dword [ebx]
push edi
push ecx
call fcn.0045f340
lea ecx, [eax + 0x1104]
call fcn.004324d0
mov edx, dword [ebx]
push edi
push edx
call fcn.0045f340
lea ecx, [eax + 0x1130]
call fcn.00434b40
jmp 0x45abe3
inc dword [esi + 0x60]
mov eax, dword [ebp - 0x49e4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ac05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x68]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*2]
add eax, dword [esi + 0x60]
lea ecx, [ebp - 0x49e8]
imul eax, dword [esi + 0x5c]
inc eax
push eax
push str._n_OnCompleteTask_ttl_pos:_d
push ecx
call fcn.00428a30
mov edi, dword [ebp - 0x49e8]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.0045f340
cmp dword [eax + 4], 0
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov ebx, 0x64
je 0x45ac83
call fcn.0045f340
mov edx, dword [eax + 4]
mov eax, dword [edx + 4]
push eax
call esi
test eax, eax
je 0x45ac83
lea ecx, [ebp - 0x49dc]
push ecx
mov dword [ebp - 0x49dc], ebx
call fcn.0045f340
mov ecx, dword [eax + 4]
call fcn.004541d0
call fcn.0045f340
cmp dword [eax + 8], 0
je 0x45acba
call fcn.0045f340
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
push eax
call esi
test eax, eax
je 0x45acba
lea ecx, [ebp - 0x49dc]
push ecx
mov dword [ebp - 0x49dc], ebx
call fcn.0045f340
mov ecx, dword [eax + 8]
call fcn.00458720
add edi, 0xfffffff0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x45acd6
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00500397
mov esp, ebp
pop ebp
ret 0x10