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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
call fcn.00484e00
lea eax, [ebx + 0x6c]
mov dword [ebx], 0x764298
mov dword [ebx + 0x56], 0
mov dword [ebx + 0x5a], 0
mov dword [ebx + 0x5e], 0
mov dword [ebx + 0x62], 0
mov dword [ebx + 0x66], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x4c], 0
mov dword [esp], eax
call fcn.004f6c90
mov eax, dword [ebx + 0x6c]
mov dword [esp], eax
call fcn.004f8350
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x6c]
mov dword [esp], eax
call fcn.004f8f50
mov edi, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 0x78]
mov edi, dword [edi + 0x7c]
test edi, edi
mov dword [ebp - 0x20], edi
je 0x484917
xor edx, edx
mov dword [ebp - 0x24], ebx
jmp 0x48473f
add edx, 1
add eax, 8
cmp dword [ebp - 0x20], edx
je 0x484914
mov esi, dword [eax]
mov ecx, 0xd
mov edi, 0x74c670
repe cmpsb byte [esi], byte es:[edi]
jne 0x484730
mov edx, dword [eax + 4]
mov ebx, dword [ebp - 0x24]
test edx, edx
lea eax, [ebx + 0x56]
je 0x48491a
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.hwloc__s
mov dword [esp + 4], 0x14
mov dword [esp], eax
call fcn.00553440
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov edx, dword [eax + 0x3c]
test edx, edx
jne 0x484960
lea esi, [esi]
mov esi, dword [ebx + 0x6c]
mov dword [esp + 4], 3
mov dword [esp], esi
call fcn.004f8ec0
lea edx, [eax + 2]
cmp edx, 1
jbe 0x484aa5
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004f8f20
test eax, eax
mov edx, 0
cmovs eax, edx
mov dword [ebx + 0x4c], eax
mov dword [esp + 4], 2
mov dword [esp], esi
call fcn.004f8ec0
lea edx, [eax + 2]
cmp edx, 1
jbe 0x484ab3
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004f8f20
test eax, eax
mov edx, 0
cmovs eax, edx
mov dword [ebx + 0x84], eax
mov dword [esp], esi
call fcn.004f7250
mov dword [esp], eax
call fcn.00500c30
mov edi, eax
test eax, eax
mov eax, 1
cmovg eax, edi
mov dword [ebx + 0x88], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004f8ec0
lea edx, [eax + 2]
cmp edx, 1
jbe 0x484aac
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004f8f20
test eax, eax
mov edx, 0
cmovs eax, edx
cmp edi, 1
mov dword [ebx + 0x8c], eax
jle 0x4849c0
mov dword [esp], esi
call fcn.004f71b0
mov eax, dword [eax + 8]
cmp byte [eax + 4], 0
jne 0x484a10
mov edx, dword [ebx + 0x88]
cmp edx, 0x3fffffff
ja 0x484aba
mov esi, dword [ebx + 0x90]
mov eax, dword [ebx + 0x98]
sub eax, esi
sar eax, 2
cmp edx, eax
ja 0x484a20
lea edi, [ebx + 0x90]
xor esi, esi
nop
lea esi, [esi]
mov eax, dword [ebx + 0x6c]
mov dword [esp + 4], 0xd
mov dword [esp], eax
mov dword [ebp - 0x1c], eax
call fcn.004f8ec0
lea edx, [eax + 2]
cmp edx, 1
jbe 0x4849c0
test esi, esi
je 0x4849d0
cmp eax, dword [esi + 0x1c]
jne 0x4849c0
mov esi, dword [esi + 0x24]
test esi, esi
je 0x4849c0
mov eax, dword [ebx + 0x94]
cmp eax, dword [ebx + 0x98]
je 0x4849f0
test eax, eax
je 0x484909
mov edx, dword [esi + 8]
mov dword [eax], edx
add eax, 4
mov dword [ebx + 0x94], eax
jmp 0x4848b0
mov ebx, dword [ebp - 0x24]
lea eax, [ebx + 0x56]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], str.hwloc__d._d._d
mov dword [esp + 4], 0x14
mov dword [esp], eax
call fcn.00553440
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x484790
lea esi, [esi]
mov eax, dword [eax + 0x40]
lea edi, [esi*4]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004f90b0
mov ecx, dword [ebp - 0x1c]
test eax, eax
mov edx, dword [ecx + 0x40]
mov ecx, dword [edx + esi*4]
je 0x4849b1
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 8]
lea ecx, [eax - 2]
cmp ecx, 1
jbe 0x4849a2
mov eax, dword [ebp - 0x1c]
add esi, 1
cmp dword [eax + 0x3c], esi
ja 0x484960
jmp 0x484790
mov edx, dword [edx]
add dword [ebx + eax*4 + 0x70], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x40]
mov ecx, dword [eax + edi]
lea edx, [ecx + 0x40]
lea eax, [ecx + 0x3c]
mov ecx, ebx
call fcn.00482250
jmp 0x484992
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.004f8f50
mov esi, eax
jmp 0x4848e6
lea edx, [esi + 8]
mov dword [esp], eax
mov ecx, edi
mov dword [esp + 4], edx
call fcn.006cbec0
sub esp, 8
jmp 0x4848b0
or dword [0x7dd44c], 1
jmp 0x484878
mov edi, dword [ebx + 0x94]
mov eax, edi
sub eax, esi
test edx, edx
mov dword [ebp - 0x1c], eax
lea eax, [edx*4]
mov dword [ebp - 0x20], eax
je 0x484a9f
mov dword [esp], eax
call fcn.006ff530
mov ecx, dword [ebx + 0x90]
mov edx, eax
cmp esi, edi
je 0x484a6e
mov eax, dword [ebp - 0x1c]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov dword [esp + 8], eax
call sub.msvcrt.dll_puts
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
test ecx, ecx
je 0x484a80
mov dword [esp], ecx
mov dword [ebp - 0x24], edx
call fcn.006ff4f0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x90], edx
add eax, edx
add edx, dword [ebp - 0x20]
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], edx
jmp 0x4848a3
mov ecx, esi
xor edx, edx
jmp 0x484a4b
xor eax, eax
jmp 0x4847c5
xor eax, eax
jmp 0x484854
xor eax, eax
jmp 0x4847fa
mov dword [esp], 0x74c620
call fcn.006f7840
mov edx, dword [ebx + 0x90]
mov esi, eax
test edx, edx
je 0x484ada
mov dword [esp], edx
call fcn.006ff4f0
mov dword [esp], esi
call fcn.0053a5b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, str.basic
ret