Function at 0x45b5f0
Capabilities:
Check for peb beingdebugged flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c7743
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x4f8458]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f8458]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2f8]
mov ebp, dword [esp + 0x2fc]
mov esi, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], eax
call fcn.0048ffb0
xor ebx, ebx
mov dword [esp + 0x2f0], ebx
mov edi, 7
mov eax, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
jmp 0x45b670
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45b670
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x24]
call fcn.004028c0
mov ecx, esi
push ecx
lea ebx, [esp + 0xa0]
mov byte [esp + 0x2f4], 1
call fcn.004c3400
add esp, 4
mov byte [esp + 0x2f0], 3
cmp dword [esp + 0x34], 8
jb 0x45b6c0
mov edx, dword [esp + 0x20]
push edx
call fcn.00493b60
add esp, 4
mov eax, dword [esp + 0xa0]
xor esi, esi
mov ebx, 0x10
cmp dword [esp + 0xb4], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
jae 0x45b6eb
lea eax, [esp + 0xa0]
push esi
push eax
lea ecx, [esp + 0x5c]
call fcn.00490c70
test al, al
jne 0x45b714
cmp dword [esp + 0xb4], ebx
jb 0x45ba89
mov eax, dword [esp + 0xa0]
push eax
jmp 0x45ba81
push str.skin
lea ecx, [esp + 0x58]
call fcn.0048f570
cmp eax, esi
jne 0x45b740
cmp dword [esp + 0xb4], ebx
jb 0x45ba89
mov ecx, dword [esp + 0xa0]
push ecx
jmp 0x45ba81
push str.item
mov ecx, eax
call fcn.0048f570
mov edi, eax
push str.skinID
mov ecx, edi
call fcn.0048fe10
test eax, eax
je 0x45ba70
lea ebx, [ebp + 0x74]
push ebx
push str.skinID
mov ecx, edi
call fcn.0048fe30
push 0x4d3be8
mov ecx, edi
call fcn.0048f570
cmp eax, esi
je 0x45b7f1
mov eax, dword [eax + 0x18]
cmp eax, esi
je 0x45b7f1
mov edx, dword [eax + 0x20]
add edx, 8
je 0x45b7f1
mov eax, dword [eax + 0x20]
add eax, 8
push eax
lea ecx, [esp + 0xbc]
call fcn.004040d0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xbc]
mov byte [esp + 0x2f4], 4
call fcn.004c3330
add esp, 4
push 0xffffffffffffffff
push esi
mov ecx, ebp
mov byte [esp + 0x2f8], 5
call fcn.00402780
lea esi, [esp + 0x38]
call fcn.00451d80
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2f0], 3
call fcn.004040a0
xor esi, esi
push str.mainfile
mov ecx, edi
call fcn.0048fe10
test eax, eax
je 0x45b8da
push 0x208
lea ecx, [esp + 0xda]
push esi
push ecx
mov word [esp + 0xe0], si
call fcn.0049d900
add esp, 0xc
push str.mainfile
mov ecx, edi
call fcn.0048fe10
push eax
lea ecx, [esp + 0x3c]
call fcn.004040d0
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x3c]
mov byte [esp + 0x2f4], 6
call fcn.004c3330
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x2f0], 8
call fcn.004040a0
mov ecx, dword [esp + 0xbc]
mov edx, 8
cmp dword [esp + 0xd0], edx
jae 0x45b882
lea ecx, [esp + 0xbc]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x78], edx
jb 0x45b890
mov eax, dword [eax + 0x64]
jmp 0x45b893
add eax, 0x64
push ecx
mov ecx, dword [ebx]
push ecx
push eax
push str._s_d_s
lea edx, [esp + 0xe4]
push 0x104
push edx
call fcn.004945a2
add esp, 0x18
lea eax, [ebp + 0x1c]
push eax
lea edx, [esp + 0xd8]
call fcn.00403730
lea esi, [esp + 0xb8]
mov byte [esp + 0x2f0], 3
call fcn.00451d80
xor esi, esi
jmp 0x45b8dd
mov dword [ebp + 0x70], esi
push str.preview
mov ecx, edi
call fcn.0048fe10
test eax, eax
je 0x45ba4e
push 0x208
lea ecx, [esp + 0xda]
push esi
push ecx
mov word [esp + 0xe0], si
call fcn.0049d900
add esp, 0xc
push str.preview
mov ecx, edi
call fcn.0048fe10
push eax
lea ecx, [esp + 0x3c]
call fcn.004040d0
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x3c]
mov byte [esp + 0x2f4], 9
call fcn.004c3330
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x2f0], 0xb
call fcn.004040a0
mov ecx, dword [esp + 0xbc]
mov edx, 8
cmp dword [esp + 0xd0], edx
jae 0x45b96e
lea ecx, [esp + 0xbc]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x78], edx
jb 0x45b97c
mov eax, dword [eax + 0x64]
jmp 0x45b97f
add eax, 0x64
push ecx
mov ecx, dword [ebx]
push ecx
push eax
push str._s_d_s
lea edx, [esp + 0xe4]
push 0x104
push edx
call fcn.004945a2
add esp, 0x18
lea eax, [ebp + 0x38]
push eax
lea edx, [esp + 0xd8]
call fcn.00403730
lea esi, [esp + 0xb8]
mov byte [esp + 0x2f0], 3
call fcn.00451d80
push str.blurlevel
mov ecx, edi
call fcn.0048fe10
test eax, eax
je 0x45b9e2
lea ecx, [ebp + 0x7c]
push ecx
push str.blurlevel
mov ecx, edi
call fcn.0048fe30
push str.downloadtime
mov ecx, edi
call fcn.0048fe10
test eax, eax
je 0x45ba10
push str.downloadtime
mov ecx, edi
call fcn.0048fe10
push eax
call fcn.0049710a
cdq
add esp, 4
mov dword [ebp + 0x84], edx
jmp 0x45ba18
xor eax, eax
mov dword [ebp + 0x84], eax
mov esi, ebp
mov dword [ebp + 0x80], eax
call fcn.00459be0
lea ecx, [esp + 0x9c]
mov esi, eax
call fcn.004040a0
lea ecx, [esp + 0x54]
mov dword [esp + 0x2f0], 0xffffffff
call fcn.00407fc0
mov eax, esi
jmp 0x45bad8
lea ecx, [esp + 0x9c]
call fcn.004040a0
lea ecx, [esp + 0x54]
mov dword [esp + 0x2f0], 0xffffffff
call fcn.00407fc0
jmp 0x45bad6
cmp dword [esp + 0xb4], ebx
jb 0x45ba89
mov edx, dword [esp + 0xa0]
push edx
call fcn.00493b60
add esp, 4
mov dword [esp + 0x2f0], 0xffffffff
mov eax, dword [esp + 0x88]
cmp eax, 0x4fe900
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], esi
mov byte [esp + 0xa0], 0
mov dword [esp + 0x54], vtable.TiXmlDocument.0
je 0x45bacd
push eax
call fcn.0049459d
add esp, 4
lea ecx, [esp + 0x54]
call fcn.0048fce0
xor eax, eax
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.00493b65
add esp, 0x2e0
ret 8