Function at 0x493050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e5a7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x518908
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x28], 0x1f4
call fcn.004d49fb
xor esi, esi
push 0x518908
lea ecx, [esp + 0x24]
mov dword [esp + 0xcc], esi
call fcn.004d49fb
mov eax, dword [0x509d80]
mov ecx, dword [0x518b20]
mov edx, dword [0x518b40]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str.HDID_sPVER_sPID_d
push eax
mov byte [esp + 0xdc], 1
call fcn.004d3a22
mov ecx, dword [esp + 0x28]
add esp, 0x14
push str.QueryUpdate
push ecx
mov ecx, dword [0x518b94]
call fcn.0042c2b0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004d4702
lea eax, [esp + 0x20]
push eax
call fcn.00415810
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 2
call fcn.004d4ac6
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 1
call fcn.004d498d
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], esi
jle 0x49367a
push eax
lea ecx, [esp + 0x24]
push str.DATA_s
push ecx
call fcn.004d3a22
mov dl, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], dl
push esi
call fcn.00407190
mov edi, str.update.exe
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.update.exe
lea ecx, [esp + 0x54]
call fcn.00406db0
mov edi, str.DYT_update.exe
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xcc], 3
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
call fcn.004085a0
test al, al
je 0x4931c4
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov eax, ecx
mov esi, str.DYT_update.exe
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
call fcn.00408580
xor esi, esi
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
push edx
push eax
lea eax, [esp + 0x20]
push ecx
push eax
call fcn.0041bdc0
add esp, 0x10
mov ecx, dword [0x51347c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push edx
push 0x104
push str.E:SVNCheckOutiClickClient_trunkUpdateService.cpp
push str._s__d__s
push eax
mov byte [esp + 0xdc], 5
call fcn.004d3a22
add esp, 0x10
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004d4702
call fcn.00418ad0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [ecx - 8]
cmp eax, 0xa
jl 0x4935fc
xor eax, eax
xor edx, edx
mov dword [esp + 0x3d], eax
mov byte [esp + 0x3c], 0
mov dword [esp + 0x41], eax
mov dword [esp + 0x3c], edx
mov word [esp + 0x45], ax
push 0xa
mov byte [esp + 0x4b], al
lea eax, [esp + 0x40]
mov dword [esp + 0x44], edx
push ecx
push eax
mov word [esp + 0x50], dx
call fcn.004b0350
lea ecx, [esp + 0x48]
push str.UUQ_100
push ecx
call fcn.004b0b80
add esp, 0x14
test eax, eax
jne 0x4935f4
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], dl
call fcn.00407190
mov edi, str.UUQ_100
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x60]
push ebx
call fcn.004085a0
test al, al
je 0x4932df
mov edi, dword [esp + 0x60]
mov ecx, ebx
mov eax, ecx
mov esi, str.UUQ_100
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
call fcn.00408580
xor esi, esi
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc8], 6
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
push eax
call fcn.004d4dbd
mov ebx, eax
mov eax, dword [esp + 0x60]
cmp eax, esi
jne 0x493307
mov eax, 0x4ea894
push eax
push ebx
call fcn.004aecb0
mov ebx, eax
add esp, 8
cmp ebx, esi
je 0x4935b9
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], dl
call fcn.00407190
mov edi, 0x518908
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call fcn.004085a0
test al, al
je 0x493371
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x518908
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00408580
mov ecx, dword [esp + 0x60]
mov byte [esp + 0xc8], 7
test ecx, ecx
jne 0x493386
mov ecx, 0x4ea894
lea eax, [ebx + 0xa]
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.004aecb0
add esp, 8
test eax, eax
je 0x4933d3
sub eax, ebx
push 1
mov ebp, eax
lea ecx, [esp + 0x2c]
push ebp
call fcn.004085a0
test al, al
je 0x493411
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov byte [eax + ebp], 0
jmp 0x493411
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call fcn.004085a0
test al, al
je 0x493411
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00408580
mov al, byte [esp + 0x28]
sub esp, 0x10
mov esi, esp
xor edi, edi
mov dword [esp + 0x34], esp
push edi
mov ecx, esi
mov byte [esi], al
call fcn.00407190
mov ecx, dword [0x4ea898]
lea edx, [esp + 0x38]
push ecx
push edi
push edx
mov ecx, esi
call fcn.00406bb0
lea ecx, [esp + 0x7c]
call fcn.004922e0
mov eax, dword [esp + 0x94]
mov byte [esp + 0xc8], 8
cmp eax, edi
jbe 0x4934e5
cmp dword [esp + 0x84], edi
jbe 0x4934e5
cmp dword [esp + 0x9c], edi
jbe 0x4934e5
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x49347d
mov eax, 0x4ea894
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
push ecx
push eax
push edx
push edi
lea ecx, [esp + 0x7c]
call fcn.00407120
cmp eax, edi
lea ecx, [esp + 0x6c]
jne 0x4934a8
call fcn.004928f0
mov eax, dword [esp + 0x48]
lea esi, [eax + 0x10]
jmp 0x4934b4
call fcn.004928f0
mov eax, dword [esp + 0x48]
lea esi, [eax + 4]
mov edi, dword [esi + 4]
mov ecx, dword [edi + 4]
push ecx
push edi
mov ecx, esi
call fcn.00493c30
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x6c]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.00493ca0
mov eax, dword [esi + 8]
add esp, 8
inc eax
xor edi, edi
mov dword [esi + 8], eax
mov ebx, dword [esp + 0x1c]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0xcc], 0xc
call fcn.00407190
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcc], 0xb
call fcn.00407190
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0xcc], 0xa
call fcn.00407190
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], 9
call fcn.00407190
mov eax, dword [esp + 0x70]
cmp eax, edi
je 0x49356e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493565
cmp al, 0xff
je 0x493565
dec al
mov byte [ecx], al
jmp 0x49356e
push ecx
call fcn.004d46f7
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x70], edi
cmp ecx, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov byte [esp + 0xc8], 6
je 0x4935a6
mov al, byte [ecx - 1]
test al, al
je 0x49359c
cmp al, 0xff
je 0x49359c
dec al
mov byte [ecx - 1], al
jmp 0x4935a6
dec ecx
push ecx
call fcn.004d46f7
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
xor esi, esi
jmp 0x4932fa
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], 0x64
cmp eax, esi
je 0x4935e6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4935dd
cmp al, 0xff
je 0x4935dd
dec al
mov byte [ecx], al
jmp 0x4935e6
push ecx
call fcn.004d46f7
add esp, 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
jmp 0x4935fc
mov dword [esp + 0x24], 0x1f4
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], 4
call fcn.004d498d
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 3
call fcn.004d498d
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x493643
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49363a
cmp al, 0xff
je 0x49363a
dec al
mov byte [ecx], al
jmp 0x493643
push ecx
call fcn.004d46f7
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov byte [esp + 0xc8], 0
call fcn.004d498d
lea ecx, [esp + 0x14]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004d498d
mov eax, dword [esp + 0x24]
jmp 0x4936a2
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 0
call fcn.004d498d
lea ecx, [esp + 0x14]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004d498d
or eax, 0xffffffff
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xbc
ret