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

Disassembly:
sub esp, 0x220
mov eax, dword [0x5eef00]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x21]
push ebx
push eax
mov byte [esp + 0x28], bl
call fcn.004b3a80
push 0x103
lea ecx, [esp + 0x131]
push ebx
push ecx
mov byte [esp + 0x138], bl
call fcn.004b3a80
add esp, 0x18
xor edi, edi
cmp dword [0x60a08c], ebx
mov dword [esp + 8], ebx
je 0x49c27a
mov eax, dword [0x60a054]
cmp eax, ebx
je 0x49c27a
call eax
test eax, eax
jne 0x49c8c8
push 1
push 0x609ebc
call fcn.00489130
add esp, 8
test eax, eax
je 0x49c8c8
push esi
push 1
push 0x104
lea esi, [esp + 0x12c]
xor ecx, ecx
call fcn.0049bbb0
add esp, 8
cmp byte [esp + 0x124], bl
jne 0x49c2c2
push 0x609ebc
call fcn.00488f70
jmp 0x49c8c4
mov esi, dword [0x609ec0]
cmp esi, ebx
je 0x49c831
push ebp
cmp dword [esi + 0xc8], ebx
je 0x49c81c
mov ecx, dword [0x609eb4]
cmp ecx, ebx
mov eax, dword [esi + 0x60]
je 0x49c30c
cmp eax, ebx
jl 0x49c30c
cmp eax, dword [0x609eb0]
jge 0x49c30c
imul eax, eax, 0x104
movsx eax, byte [eax + ecx + 0xb5]
cmp eax, ebx
jne 0x49c81c
mov eax, dword [esi + 0x54]
cmp eax, 9
je 0x49c81c
cmp eax, 2
jne 0x49c33d
cmp dword [esi + 0xf4], ebx
jne 0x49c33d
mov eax, dword [esi + 0x64]
push 1
push 0xf
push eax
call fcn.00497bf0
add esp, 0xc
test eax, eax
jne 0x49c81c
cmp dword [esi + 0x54], 8
jne 0x49c34f
cmp dword [esi + 0xd4], ebx
je 0x49c822
mov edx, dword [esi + 0xc4]
push edx
push str.clientinfo
push 0x5c
lea eax, [esp + 0x134]
push eax
push str._s_c_s._u
lea ecx, [esp + 0x38]
push 0x104
push ecx
call fcn.004776e0
lea ebp, [esi + 0x88]
add esp, 0x1c
cmp dword [ebp], ebx
jne 0x49c395
cmp dword [ebp + 4], ebx
jne 0x49c395
push ebp
call fcn.004b30ce
add esp, 4
push ebx
push str.Device
call fcn.004aed00
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x49c830
mov edx, dword [esi + 0x7c]
push edx
push str.DeviceTypeString
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0x80]
push eax
push 0x590dd8
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov ecx, dword [esi + 0x64]
push ecx
push 0x590d98
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov edx, dword [esi + 0x94]
push edx
push 0x591828
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0x68]
push eax
push str.UserAgent
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov ecx, dword [esi + 0x6c]
push ecx
push str.UserAgentField
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov edx, dword [esi + 0x70]
push edx
push str.UserAgent2
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0x74]
push eax
push str.UserAgent2Field
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
cmp dword [esi + 0x78], ebx
setne al
cdq
push edx
push eax
push str.UserAgentAndOp
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov ecx, dword [esi + 0xac]
push ecx
push str.ViewName
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov edx, dword [esi]
push edx
push str.Location
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0x90]
push eax
push str.FriendlyName
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
push ecx
push eax
push str.Timestamp
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0x98]
cdq
push edx
push eax
push str.Enabled
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0xa0]
cdq
push edx
push eax
push str.Fixed
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0xa4]
cdq
push edx
push eax
push str.Prio
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0x54]
cdq
push edx
push eax
push str.DeviceType
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x49c5aa
push eax
push str.URLBase
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x49c5c8
push eax
push str.Callback
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov ecx, dword [esi + 0x48]
push ebx
push ecx
push str.BrokenActionMask
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov edx, dword [esi + 0x30]
or edx, dword [esi + 0x34]
jne 0x49c5fa
push ebx
call fcn.004b30ce
add esp, 4
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
push eax
push ecx
push str.LastAlive
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
push edx
push eax
push str.LastSeen
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0xcc]
cdq
push edx
push eax
push str.DoNotDelete
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0xc4]
cdq
push edx
push eax
push str.DeviceIndex
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0x10]
cdq
push edx
push eax
push str.RemoteNetworkDevice
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0xdc]
cmp eax, ebx
je 0x49c69d
push eax
jmp 0x49c6a2
push str.guest
push str.CurrentUser
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0xb0]
cdq
push edx
push eax
push str.AdaptationFlag
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov ecx, dword [esi + 0xe0]
push ecx
push str.StreamingFile
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov edx, dword [esi + 0xec]
mov eax, dword [esi + 0xe8]
push edx
push eax
push str.StreamingFileTime
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0xfc]
cdq
push edx
push eax
push str.HasTwonky
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov eax, dword [esi + 0xf8]
cdq
push edx
push eax
push str.CanHaveTwonky
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
cmp dword [esi + 0xf4], ebx
setne al
cdq
push edx
push eax
push str.IsDial
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
cmp dword [esi + 0xd4], ebx
je 0x49c799
push ebx
push 1
push str.ProtocolTranslator
push edi
call fcn.004957e0
add esp, 0x10
test eax, eax
jne 0x49c830
mov ecx, dword [esi + 0x100]
push ecx
push str.AppControlUrl
push edi
call fcn.00495780
add esp, 0xc
test eax, eax
jne 0x49c830
mov eax, dword [0x609eac]
cmp eax, ebx
je 0x49c7c2
push esi
push edi
call eax
add esp, 8
push ebx
push 1
push edi
call fcn.004b0bb0
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x49c811
lea edx, [esp + 0x24]
push edx
push str.save__s
push ebx
push str.upnp_client_db_persistent_db_write
push 0x10
push 1
call fcn.0048d750
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00487370
lea ecx, [esp + 0x34]
push ecx
call fcn.00474c00
add esp, 0x28
push edi
call fcn.004aef00
add esp, 4
xor edi, edi
mov dword [esi + 0xc8], ebx
mov esi, dword [esi + 0xb4]
cmp esi, ebx
jne 0x49c2d1
pop ebp
cmp byte [esp + 0x20], bl
je 0x49c8a7
push str.pdbindex
xor eax, eax
push 0x5c
lea edx, [esp + 0x12c]
push edx
push str._s_c_s
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov word [esp + 0x2d], ax
mov byte [esp + 0x2f], al
lea eax, [esp + 0x30]
push 0x104
push eax
mov byte [esp + 0x28], bl
call fcn.004776e0
mov ecx, dword [0x5ee48c]
push ecx
push 0x5d9afc
lea edx, [esp + 0x30]
push 0x10
push edx
call fcn.004776e0
add esp, 0x28
cmp eax, ebx
jle 0x49c8a7
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00487370
add esp, 0xc
push 0x609ebc
mov dword [0x609ec8], ebx
call fcn.00488f70
add esp, 4
cmp edi, ebx
je 0x49c8c7
push edi
call fcn.004aef00
add esp, 4
pop esi
mov ecx, dword [esp + 0x224]
pop edi
pop ebx
xor ecx, esp
call fcn.004b2f95
add esp, 0x220
ret