Function at 0x484200
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x67af71
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70df38]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 4], bl
je 0x484daf
mov edi, 1
cmp dword [esi + 0x68], edi
jne 0x484daf
mov ebp, dword [esi + 0x14]
cmp dword [esi + 0x88], ebp
mov ecx, dword [esi + 0x8c]
sete byte [esp + 0x1b]
cmp ecx, ebx
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov dword [esp + 0x24], ebp
je 0x4843d9
cmp byte [esi + 0x90], bl
jne 0x4843d9
call fcn.004892f0
mov ecx, dword [esi + 0x8c]
call fcn.0048fea0
cmp eax, 3
jne 0x4842ce
mov eax, dword [esi + 0x94]
cmp eax, edi
je 0x484312
cmp eax, 5
jne 0x4843d9
lea edx, [esp + 0x20]
push edx
push ebx
lea ecx, [esi + 0x1c]
call fcn.00483b10
mov ecx, eax
call fcn.004763f0
movzx ecx, word [esi + 6]
mov eax, dword [eax]
push eax
push ecx
mov ecx, dword [esi + 0x8c]
call fcn.00487d40
jmp 0x484326
cmp eax, 6
jne 0x48433c
add word [esi + 6], di
movzx eax, word [esi + 6]
movzx edx, ax
push edx
push str.UPnP_Mapping_collision_found._New_port_Selected:__d
push str.bdNet_net
push str.dw_info_
push 0xdf
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x80]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0x10
movzx ecx, word [esi + 6]
lea eax, [esi + 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x8c]
call fcn.00487230
mov ecx, dword [esi + 0x8c]
call fcn.0048fea0
mov dword [esi + 0x94], eax
jmp 0x4843d9
cmp eax, 4
jne 0x48434d
mov byte [esi + 0x90], 1
jmp 0x4843d9
cmp eax, 9
jne 0x484373
mov ecx, dword [esi + 0x8c]
call fcn.0048fea0
push str.UPnP_Traversal_failed
push str.bdNet_net
push str.dw_warn_
push 0xf0
jmp 0x484397
cmp eax, 2
jne 0x4843d9
mov ecx, dword [esi + 0x8c]
call fcn.0048fea0
push str.no_UPnP_NATs_found
push str.bdNet_net
push str.dw_info_
push 0xf9
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x7c]
mov dword [esi + 0x94], eax
call fcn.00475a90
push eax
call fcn.00475c30
mov edi, dword [esi + 0x8c]
add esp, 0xc
cmp edi, ebx
je 0x4843d3
mov ecx, edi
call fcn.00489700
push edi
call fcn.00475da0
add esp, 4
mov dword [esi + 0x8c], ebx
mov ecx, dword [esi + 0x74]
cmp ecx, ebx
je 0x4845aa
call fcn.004868c0
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x4844ce
mov ecx, dword [esi + 0x74]
call fcn.004868f0
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jbe 0x4844bb
lea edi, [esi + 0x78]
lea esp, [esp]
mov ecx, dword [esi + 0x74]
push ebp
lea edx, [esp + 0x2c]
push edx
call fcn.00486900
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
call fcn.004764e0
movzx ecx, word [esi + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x88], 0
call fcn.00477190
mov eax, dword [edi + 8]
cmp eax, dword [edi + 4]
mov byte [esp + 0x80], 1
jne 0x484461
push 1
mov ecx, edi
call fcn.00474f50
mov ecx, dword [edi + 8]
mov edx, dword [edi]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ecx
test ecx, ecx
mov byte [esp + 0x80], 2
je 0x484487
lea eax, [esp + 0x48]
push eax
call fcn.00477170
add dword [edi + 8], 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 0
call fcn.00476340
lea ecx, [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00476340
add ebp, 1
cmp ebp, ebx
jb 0x484410
add dword [esi + 0x88], 1
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
xor ebx, ebx
jmp 0x4844da
cmp eax, 2
jne 0x4844da
add dword [esi + 0x88], 1
cmp dword [esi + 0x88], ebp
jae 0x484596
cmp eax, 1
je 0x484590
mov ecx, dword [esi + 0x74]
cmp ecx, ebx
je 0x4844fe
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0x40
call fcn.00475d70
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov dword [esp + 0x80], 3
je 0x484524
mov ecx, eax
call fcn.00486920
jmp 0x484526
xor eax, eax
fld dword [esi + 0x28]
push ecx
mov ecx, dword [esi + 0x88]
fstp dword [esp]
push ecx
or edi, 0xffffffff
lea ecx, [esi + 0xc]
mov dword [esp + 0x88], edi
mov dword [esi + 0x74], eax
call fcn.00483b70
mov ecx, eax
call fcn.0048fea0
mov ecx, dword [esi + 0x74]
push eax
call fcn.00486850
test al, al
jne 0x484590
push str.Failed_to_start_DNS_lookup_task.
push str.bdNet_net
push str.dw_warn_
push 0x11c
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x7c]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0xc
mov dword [esi + 0x68], edi
cmp dword [esi + 0x88], ebp
jne 0x4845aa
mov ecx, dword [esi + 0x74]
cmp ecx, ebx
je 0x4845a7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x74], ebx
cmp dword [esi + 0x74], ebx
jne 0x484823
cmp dword [esi + 0x8c], ebx
je 0x4845c8
cmp byte [esi + 0x90], 0
je 0x484823
cmp dword [esi + 0x6c], ebx
jne 0x484823
cmp dword [esi + 0x70], ebx
jne 0x484823
mov edx, dword [esi + 0x98]
mov eax, dword [edx + 0x18]
lea ecx, [esi + 0x98]
call eax
test al, al
jne 0x48461f
push str.Failed_to_close_temporary_socket.
push str.bdNet_net
push str.dw_warn_
push 0x12f
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x7c]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00483d70
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x84], 4
call edx
cmp eax, 1
jne 0x4847d4
cmp dword [esi + 0x80], ebx
je 0x484772
mov eax, dword [esi + 0x84]
push eax
lea ecx, [esi + 0x78]
call fcn.00474900
push eax
lea ecx, [esp + 0x34]
call fcn.00477170
push 0x30
mov byte [esp + 0x84], 5
call fcn.00475d70
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x80], 6
je 0x4846a7
mov edx, dword [esi + 8]
lea ecx, [esp + 0x30]
push ecx
push edx
mov ecx, eax
call fcn.0049d140
jmp 0x4846a9
xor eax, eax
mov ecx, eax
mov byte [esp + 0x80], 5
mov dword [esi + 0x6c], eax
call fcn.0049cff0
push 0x48
mov bl, al
call fcn.00475d70
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
test edi, edi
mov byte [esp + 0x80], 7
je 0x4846f1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call fcn.00477200
push eax
mov ecx, edi
call fcn.0049ce20
jmp 0x4846f3
xor eax, eax
mov ecx, eax
mov byte [esp + 0x80], 5
mov dword [esi + 0x70], eax
call fcn.0049c410
test bl, bl
jne 0x48471f
push str.Failed_to_start_IP_discovery
push str.bdNet_net
push str.dw_warn_
push 0x145
jmp 0x484737
test al, al
jne 0x48475a
push str.Failed_to_start_NAT_type_discovery
push str.bdNet_net
push str.dw_warn_
push 0x14a
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x7c]
call fcn.00475a90
push eax
call fcn.00475c30
mov dword [esi + 0x68], 0xfffffffe
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 4
call fcn.00476340
xor ebx, ebx
jmp 0x48480f
xor edi, edi
cmp dword [esi + 0x14], ebx
jbe 0x4847cb
lea ebp, [esi + 0xc]
lea esp, [esp]
push edi
mov ecx, ebp
call fcn.00483b70
mov ecx, eax
call fcn.0048fea0
push eax
push str.Failed_to_lookup_address__s
push str.bdNet_net
push str.dw_warn_
push 0x152
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x80]
call fcn.00475a90
push eax
call fcn.00475c30
add edi, 1
add esp, 0x10
cmp edi, dword [esi + 0x14]
jb 0x484780
mov dword [esi + 0x68], 0xfffffffe
jmp 0x48480f
push eax
push str.Failed_to_bind._Status_:__i
push str.bdNet_net
push str.dw_warn_
push 0x159
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x80]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0x10
mov dword [esi + 0x68], 0xfffffffd
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
call fcn.00476340
mov ecx, dword [esi + 0x6c]
cmp ecx, ebx
je 0x484840
call fcn.0049d1e0
mov ecx, dword [esi + 0x6c]
call fcn.0049d0b0
test al, al
jne 0x484840
mov byte [esp + 0x19], 1
mov ecx, dword [esi + 0x70]
cmp ecx, ebx
je 0x48485d
call fcn.0049cc60
mov ecx, dword [esi + 0x70]
call fcn.0049c500
test al, al
jne 0x48485d
mov byte [esp + 0x1a], 1
cmp byte [esp + 0x1b], 0
je 0x484daf
cmp byte [esp + 0x19], 0
je 0x484daf
cmp byte [esp + 0x1a], 0
je 0x484daf
mov ecx, dword [esi + 0x6c]
call fcn.0049d0d0
test al, al
je 0x484b93
mov ecx, dword [esi + 0x70]
call fcn.0049c510
test al, al
je 0x484b93
mov edi, edi
cmp dword [esi + 0x24], ebx
jne 0x4848d5
push str.No_local_address_specified_when_starting_bdNet._See_bdNetStartParams.
push 0x6f8dcb
push str.dw_err
push 0x174
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x60]
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0xc
cmp byte [0x77ffcc], 0
jne 0x4848a0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
xor edi, edi
cmp dword [esi + 0x24], ebx
mov dword [esp + 0x80], 8
jbe 0x484946
lea ebp, [esi + 0x1c]
nop
movzx ecx, word [esi + 6]
push ecx
push edi
mov ecx, ebp
call fcn.00483b10
push eax
lea ecx, [esp + 0x50]
call fcn.00477190
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 9
call fcn.00474fe0
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 8
call fcn.00476340
add edi, 1
cmp edi, dword [esi + 0x24]
jb 0x484900
mov ecx, dword [esi + 0x6c]
call fcn.0049d0e0
push eax
lea ecx, [esp + 0x2c]
call fcn.00477170
mov ecx, dword [esi + 0x70]
mov byte [esp + 0x80], 0xa
call fcn.0049c520
cmp dword [esi + 0x8c], ebx
mov edi, dword [eax]
je 0x4849c0
lea ecx, [esp + 0x28]
call fcn.00477220
mov ecx, dword [esi + 0x8c]
push eax
call fcn.00486b00
test al, al
je 0x4849c0
push str.UPnP_mapping_confirmed__changing_NAT_type_to_open.
push str.bdNet_net
push str.dw_info_
push 0x187
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x60]
mov edi, 1
call fcn.00475a90
push eax
call fcn.00475c30
add esp, 0xc
push 0x28
call fcn.00475d70
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x80], 0xb
je 0x4849ee
push edi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x60]
push edx
mov ecx, eax
call fcn.004750f0
jmp 0x4849f0
xor eax, eax
lea ebp, [esi + 0x30]
push eax
mov ecx, ebp
mov byte [esp + 0x84], 0xa
call fcn.004790b0
mov ecx, dword [esi + 0x6c]
cmp ecx, ebx
je 0x484a12
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x70]
cmp ecx, ebx
mov dword [esi + 0x6c], ebx
je 0x484a24
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea edi, [esi + 0x78]
push edi
lea ecx, [esp + 0x68]
mov dword [esi + 0x70], 0
call fcn.00474ea0
cmp dword [esi + 0x84], 0
mov bl, 0xc
mov byte [esp + 0x80], bl
je 0x484ab7
push 0
mov ecx, edi
call fcn.00474900
push eax
lea ecx, [esp + 0x3c]
call fcn.00477170
mov eax, dword [esi + 0x84]
push eax
mov ecx, edi
mov byte [esp + 0x84], 0xd
call fcn.00474900
push 0
lea ecx, [esp + 0x68]
mov edi, eax
call fcn.00474900
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x84]
push eax
lea ecx, [esp + 0x68]
call fcn.00474900
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
mov dword [eax + 4], edx
mov byte [esp + 0x80], bl
call fcn.00476340
push 0x150
call fcn.00475d70
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x80], 0xe
je 0x484aee
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x64]
push ecx
push edx
mov edx, dword [esi + 8]
lea ecx, [esi + 0x38]
push ecx
push edx
mov ecx, eax
call fcn.0049bc30
jmp 0x484af0
xor eax, eax
push 0x34
mov byte [esp + 0x84], bl
mov dword [esi + 0x58], eax
call fcn.00475d70
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x80], 0xf
je 0x484b3d
mov ecx, dword [esi + 0x34]
push ecx
lea edx, [esi + 0x38]
push edx
mov edx, dword [ebp]
test edx, edx
push ecx
mov edi, esp
mov dword [esp + 0x3c], esp
mov dword [edi], edx
je 0x484b30
add dword [edx + 4], 1
mov ecx, dword [esi + 0x58]
push ecx
mov ecx, eax
call fcn.0048be20
jmp 0x484b3f
xor eax, eax
lea ecx, [esp + 0x64]
mov dword [esi + 0x54], eax
mov dword [esi + 0x68], 2
mov byte [esp + 0x80], 0xa
call fcn.00474f00
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 8
call fcn.00476340
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0xffffffff
call fcn.00474f00
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x80]
add edx, 1
cmp edx, eax
jae 0x484d4f
push str.Trying_next_IP_address_for_IP_and_NAT_discovery.
push str.bdNet_net
push str.dw_info_
push 0x1b2
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x7c]
call fcn.00475a90
push eax
call fcn.00475c30
add dword [esi + 0x84], 1
mov eax, dword [esi + 0x84]
add esp, 0xc
push eax
lea ecx, [esi + 0x78]
call fcn.00474900
push eax
lea ecx, [esp + 0x34]
call fcn.00477170
mov ecx, dword [esi + 0x6c]
cmp ecx, ebx
mov dword [esp + 0x80], 0x10
je 0x484c14
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push 0x30
call fcn.00475d70
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x80], 0x11
je 0x484c40
mov edx, dword [esi + 8]
lea ecx, [esp + 0x30]
push ecx
push edx
mov ecx, eax
call fcn.0049d140
jmp 0x484c42
xor eax, eax
mov ecx, eax
mov byte [esp + 0x80], 0x10
mov dword [esi + 0x6c], eax
call fcn.0049cff0
mov ecx, dword [esi + 0x70]
test ecx, ecx
mov bl, al
je 0x484c65
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00483d70
push 0x48
mov byte [esp + 0x84], 0x12
call fcn.00475d70
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
test edi, edi
mov byte [esp + 0x80], 0x13
je 0x484cad
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00477200
push eax
mov ecx, edi
call fcn.0049ce20
jmp 0x484caf
xor eax, eax
mov ecx, eax
mov byte [esp + 0x80], 0x12
mov dword [esi + 0x70], eax
call fcn.0049c410
test bl, bl
jne 0x484cdb
push str.Failed_to_start_IP_discovery
push str.bdNet_net
push str.dw_warn_
push 0x1ca
jmp 0x484cf3
test al, al
jne 0x484d16
push str.Failed_to_start_IP_discovery
push str.bdNet_net
push str.dw_warn_
push 0x1cf
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x7c]
call fcn.00475a90
push eax
call fcn.00475c30
mov dword [esi + 0x68], 0xfffffffe
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 0x10
call fcn.00476340
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
call fcn.00476340
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp dword [esi + 0x14], ebx
jbe 0x484da8
lea ebp, [esi + 0xc]
lea esp, [esp]
push edi
mov ecx, ebp
call fcn.00483b70
mov ecx, eax
call fcn.0048fea0
push eax
push str.Failed_to_do_IP_and_NAT_discovery_using__s
push str.bdNet_net
push str.dw_warn_
push 0x1d7
push str.void___thiscall_bdNetImpl::pump_void_
push str.._bdNet.cpp
lea ecx, [esp + 0x54]
call fcn.00475a90
push eax
call fcn.00475c30
add edi, 1
add esp, 0x10
cmp edi, dword [esi + 0x14]
jb 0x484d60
mov dword [esi + 0x68], 0xfffffffe
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret