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

Disassembly:
push 0xffffffffffffffff
push 0x67b423
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x70df38]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70df38]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xa0]
mov esi, ecx
cmp dword [esi + 0x28], 0
jne 0x488193
cmp dword [esi + 0x2c], 0
je 0x48817a
push str.m_readBufferOffset_was_not_reset
push 0x6f8dcb
push str.dw_err
push 0x38e
push str.void___thiscall_bdUPnP::readQueryReply_struct_bdUPnP::bdUPnPDevice__
push str.._bdUPnP.cpp
lea ecx, [esp + 0x38]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0xc
cmp byte [0x77ffcc], 0
jne 0x488144
push 0x401
call fcn.00475d70
add esp, 4
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov ecx, 0x400
sub ecx, eax
push ecx
add edx, eax
lea ebp, [ebx + 0x10]
push edx
mov ecx, ebp
call fcn.004c7730
mov edi, eax
test edi, edi
jle 0x4881c8
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
add eax, edi
mov byte [eax + ecx], 0
add dword [esi + 0x2c], edi
jmp 0x488698
je 0x488237
mov eax, dword [esi + 0x28]
push str.__s:Envelope_
push eax
call fcn.004a9e60
add esp, 8
test eax, eax
jne 0x488237
cmp edi, 0xfffffffe
je 0x488698
lea ecx, [esi + 0x38]
call fcn.004c75a0
mov dword [esi], 9
mov dword [esi + 4], edi
lea esp, [esp]
xor edi, edi
cmp dword [esi + 0x50], edi
jbe 0x488229
lea ebp, [esi + 0x48]
lea ebx, [ebx]
push edi
mov ecx, ebp
call fcn.00486ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add edi, 1
cmp edi, dword [esi + 0x50]
jb 0x488210
cmp byte [0x77ffcc], 0
jne 0x488200
jmp 0x488698
mov ecx, ebp
call fcn.004c7750
mov dword [ebx], 2
cmp dword [esi], 5
jne 0x488684
mov eax, dword [esi + 0x28]
push str.200_OK
push eax
call fcn.004a9e60
add esp, 8
test eax, eax
je 0x4885dd
mov ecx, dword [str._NewInternalClient]
mov edx, dword [0x68e4d4]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x68e4d8]
mov dword [esp + 0x38], ecx
mov cx, word [0x68e4e0]
mov dword [esp + 0x34], edx
mov edx, dword [0x68e4dc]
mov word [esp + 0x40], cx
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], edx
mov dl, byte [0x68e4e2]
push ecx
push eax
mov byte [esp + 0x4a], dl
call fcn.004a9e60
add esp, 8
test eax, eax
jne 0x4882f7
mov dword [esi], 9
mov dword [esi + 4], 0xffffffff
xor edi, edi
cmp dword [esi + 0x50], edi
jbe 0x4882e9
lea ebp, [esi + 0x48]
lea ecx, [ecx]
push edi
mov ecx, ebp
call fcn.00486ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add edi, 1
cmp edi, dword [esi + 0x50]
jb 0x4882d0
cmp byte [0x77ffcc], 0
jne 0x4882c3
jmp 0x488698
push 0x68e0e4
push eax
call fcn.004a9e60
mov edi, eax
add esp, 8
test edi, edi
jne 0x488349
mov dword [esi], 9
mov dword [esi + 4], 0xffffffff
xor edi, edi
cmp dword [esi + 0x50], edi
jbe 0x48833b
lea ebp, [esi + 0x48]
push edi
mov ecx, ebp
call fcn.00486ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add edi, 1
cmp edi, dword [esi + 0x50]
jb 0x488322
cmp byte [0x77ffcc], 0
jne 0x488318
jmp 0x488698
add edi, 1
push 0x68e4cc
push edi
call fcn.004a9e60
add esp, 8
test eax, eax
jne 0x48839c
mov dword [esi], 9
mov dword [esi + 4], 0xffffffff
xor edi, edi
cmp dword [esi + 0x50], edi
jbe 0x48838e
lea ebp, [esi + 0x48]
push edi
mov ecx, ebp
call fcn.00486ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add edi, 1
cmp edi, dword [esi + 0x50]
jb 0x488375
cmp byte [0x77ffcc], 0
jne 0x48836b
jmp 0x488698
sub eax, edi
mov ebp, eax
lea ecx, [ebp + 1]
push ecx
lea edx, [esp + 0x48]
push edi
push edx
call fcn.0041f2b0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + ebp + 0x48], 0
call fcn.004764c0
mov dword [esp + 0x98], 0
mov byte [esp + 0x17], 0
cmp dword [esi + 0x54], 0
jne 0x48840b
push str.local_addresses_not_properly_assigned_in_bdUPnP
push 0x6f8dcb
push str.dw_err
push 0x3da
push str.void___thiscall_bdUPnP::readQueryReply_struct_bdUPnP::bdUPnPDevice__
push str.._bdUPnP.cpp
lea ecx, [esp + 0x38]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0xc
cmp byte [0x77ffcc], 0
jne 0x4883d5
mov ecx, dword [esi + 0x54]
xor edi, edi
cmp dword [ecx + 8], edi
jbe 0x488586
cmp byte [esp + 0x17], 0
jne 0x488486
lea ecx, [esp + 0x18]
call fcn.00476330
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x18]
push edx
push edi
mov byte [esp + 0xa0], 1
call fcn.00486e80
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004c8850
test al, al
je 0x48845f
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 0
call fcn.00476340
mov ecx, dword [esi + 0x54]
add edi, 1
cmp edi, dword [ecx + 8]
jb 0x488422
cmp byte [esp + 0x17], 0
je 0x488586
push 0x16
lea edx, [esp + 0x60]
push edx
lea ecx, [ebx + 4]
call fcn.004773a0
lea eax, [esp + 0x5c]
push eax
push str.Usable_Port_Mapping_found_on_device:__s
push str.bdnet_upnp
push str.dw_info_
push 0x3eb
push str.void___thiscall_bdUPnP::readQueryReply_struct_bdUPnP::bdUPnPDevice__
push str.._bdUPnP.cpp
lea ecx, [esp + 0x3c]
call fcn.00475a90
push eax
call fcn.00475c30
mov dword [ebx], 7
mov eax, dword [esi + 8]
add esp, 0x10
test eax, eax
mov cl, 1
je 0x488500
lea esp, [esp]
test cl, cl
je 0x4885c4
mov edx, eax
cmp dword [edx], 7
mov eax, dword [eax + 0x20]
je 0x4884f4
xor cl, cl
test eax, eax
jne 0x4884e0
test cl, cl
je 0x4885c4
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x58]
push edx
push eax
call fcn.00486f00
lea ecx, [esi + 0x38]
call fcn.004c75a0
mov dword [esi], 4
mov edi, edi
xor edi, edi
cmp dword [esi + 0x50], edi
jbe 0x48854b
lea ebp, [esi + 0x48]
lea ebx, [ebx]
push edi
mov ecx, ebp
call fcn.00486ea0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 1
call edx
add edi, 1
cmp edi, dword [esi + 0x50]
jb 0x488530
cmp byte [0x77ffcc], 0
jne 0x488520
push str.All_detected_UPnP_devices_have_been_successfully_mapped
push str.bdnet_upnp
push str.dw_info_
push 0x405
push str.void___thiscall_bdUPnP::readQueryReply_struct_bdUPnP::bdUPnPDevice__
push str.._bdUPnP.cpp
lea ecx, [esp + 0x38]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0xc
jmp 0x4885c4
lea ecx, [esi + 0x38]
call fcn.004c75a0
mov dword [esi], 6
xor edi, edi
cmp dword [esi + 0x50], edi
jbe 0x4885bb
lea ebp, [esi + 0x48]
mov edi, edi
push edi
mov ecx, ebp
call fcn.00486ea0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
add edi, 1
cmp edi, dword [esi + 0x50]
jb 0x4885a0
cmp byte [0x77ffcc], 0
jne 0x488594
lea ecx, [esp + 0x1c]
mov dword [esp + 0x98], 0xffffffff
call fcn.00476340
jmp 0x488684
push 0x16
lea eax, [esp + 0x78]
push eax
lea ecx, [ebx + 4]
call fcn.004773a0
lea ecx, [esp + 0x74]
push ecx
push str.No_mapping_found_on_device__s
push str.bdnet_upnp
push str.dw_info_
push 0x413
push str.void___thiscall_bdUPnP::readQueryReply_struct_bdUPnP::bdUPnPDevice__
push str.._bdUPnP.cpp
lea ecx, [esp + 0x78]
call fcn.00475a90
push eax
call fcn.00475c30
mov eax, dword [esi + 8]
add esp, 0x10
xor cl, cl
test eax, eax
je 0x488648
lea ebx, [ebx]
test cl, cl
jne 0x488684
mov edx, eax
cmp dword [edx], 4
mov eax, dword [eax + 0x20]
jne 0x488640
mov cl, 1
test eax, eax
jne 0x488630
test cl, cl
jne 0x488684
lea ecx, [esi + 0x38]
call fcn.004c75a0
mov dword [esi], 3
xor edi, edi
cmp dword [esi + 0x50], edi
jbe 0x48867b
lea ebp, [esi + 0x48]
push edi
mov ecx, ebp
call fcn.00486ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0
call eax
add edi, 1
cmp edi, dword [esi + 0x50]
jb 0x488660
cmp byte [0x77ffcc], 0
jne 0x488656
mov ecx, dword [esi + 0x28]
push ecx
call fcn.00475da0
add esp, 4
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004ad31a
add esp, 0x88
ret 4