Function at 0x1007c610
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e10c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
push edi
call fcn.1004f280
mov edx, dword [0x101a224c]
mov ecx, dword [edx + 0x198c]
mov byte [ecx + 0x7c], 1
mov ecx, dword [edx + 0x198c]
movss xmm0, dword [eax + 4]
addss xmm0, xmm0
movss xmm1, dword [ecx + 0x14]
mov ecx, dword [0x1019c970]
subss xmm1, xmm0
mov eax, dword [ecx]
movss dword [ebp - 0x10], xmm1
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1019c82c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov ecx, dword [0x1019c970]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
call edx
test al, al
je 0x1007c736
test esi, esi
je 0x1007c736
mov ecx, esi
call fcn.10087640
test al, al
je 0x1007c736
mov ecx, esi
call fcn.10029a30
mov ecx, dword [0x1019c82c]
mov eax, dword [eax]
mov ecx, dword [ecx]
push ecx
mov edx, dword [ecx + 0x10]
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [0x1019c82c]
call edx
test eax, eax
je 0x1007c736
mov ecx, esi
call fcn.10029a30
mov ecx, dword [0x1019c82c]
mov eax, dword [eax]
mov ecx, dword [ecx]
push ecx
mov edx, dword [ecx + 0x10]
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [0x1019c82c]
call edx
mov ecx, eax
call fcn.10087820
test al, al
je 0x1007c736
mov ecx, esi
call fcn.10029a30
mov ecx, eax
call fcn.1000cc80
mov ecx, dword fs:[0x2c]
mov edi, eax
mov edx, dword [0x101a3f58]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x1019d5d0]
cmp ecx, dword [edx + 4]
jg 0x1007caf2
mov eax, dword [0x1019d5cc]
movsx eax, word [eax + edi]
jmp 0x1007c739
or eax, 0xffffffff
mov dword [0x1015c450], eax
mov ecx, 0x1019c3e4
movzx eax, ax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100042e0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [eax]
lea eax, [ebp - 0x20]
push eax
push 0xd
add esi, 0x14
call fcn.100559c0
push 1
call fcn.100553d0
push 0
push 0
push 3
call fcn.1004c320
movss xmm0, dword [ebp - 0x10]
add esp, 0x14
divss xmm0, dword [0x100e432c]
movss dword [esp], xmm0
push 1
movss dword [ebp - 0x18], xmm0
call fcn.10056e60
movss xmm0, dword [ebp - 0x10]
add esp, 4
addss xmm0, xmm0
divss xmm0, dword [0x100e432c]
movss dword [esp], xmm0
push 2
movss dword [ebp - 0x1c], xmm0
call fcn.10056e60
movss xmm0, dword [ebp - 0x10]
add esp, 4
movss dword [esp], xmm0
push 3
call fcn.10056e60
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push str.body_contentAim
mov dword [ebp - 0x24], 0
call fcn.10085cb0
push 0
push 0
push 3
call fcn.1004c320
movss xmm0, dword [ebp - 0x18]
add esp, 0x18
movss dword [esp], xmm0
push 1
call fcn.10056e60
movss xmm0, dword [ebp - 0x1c]
add esp, 4
movss dword [esp], xmm0
push 2
call fcn.10056e60
movss xmm0, dword [ebp - 0x10]
add esp, 4
movss dword [esp], xmm0
push 3
call fcn.10056e60
push esi
push str.enabled
call fcn.1006dd60
push 0x20
push str.hitboxes
push str.hitbox_filter
call fcn.1006d050
add esp, 0x1c
test al, al
je 0x1007c8fa
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 1
lea eax, [esi + 0x3c]
mov dword [ebp - 0x24], 0
push eax
push str.head
call fcn.10076890
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 1
lea eax, [esi + 0x3d]
mov dword [ebp - 0x24], 0
push eax
push str.chest
call fcn.10076890
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 1
lea eax, [esi + 0x3e]
mov dword [ebp - 0x24], 0
push eax
push str.hands
call fcn.10076890
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 1
lea eax, [esi + 0x3f]
mov dword [ebp - 0x24], 0
push eax
push str.legs
call fcn.10076890
add esp, 0x40
call fcn.100720d0
call fcn.10085dc0
call fcn.10054c00
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push str.body_contesntAim
mov dword [ebp - 0x24], 0
call fcn.10085cb0
add esp, 4
lea eax, [esi + 0x18]
mov dword [esp], 0x3f800000
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x43b40000
mov dword [esp], 0
push eax
push 0x100eda58
call fcn.10077160
add esp, 0x14
lea eax, [esi + 0x20]
mov dword [esp], 0x3f800000
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x3f800000
push eax
push str.smooth
call fcn.10077160
call fcn.10085dc0
call fcn.10054c00
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push str.body_cosntesntAim
mov dword [ebp - 0x24], 0
call fcn.10085cb0
lea eax, [esi + 0x40]
push eax
push 0x100eda78
call fcn.1006dd60
add esp, 0x24
lea eax, [esi + 0x4c]
mov dword [esp], 0x3f800000
push str._.0f
sub esp, 8
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0x3f800000
push eax
push str.rcsvalue
call fcn.10077160
lea eax, [esi + 0xe]
push eax
push str.silent
call fcn.1006dd60
push 0x100e8e38
push 0x64
push 1
lea eax, [esi + 0x5c]
push eax
push str.awall_dmg
call fcn.10077190
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x1019c51c
push str.slow_walk_key
mov dword [ebp - 0x24], 0
call fcn.10085e10
add esp, 0x40
push 0x100e8e38
push 0x64
push 0
push 0x1019c518
push str.asde
call fcn.10077190
push 0x1019c810
push str.backtrack
call fcn.1006dd60
add esp, 0x18
mov dword [esp], 0x3f800000
push str._.3f
sub esp, 8
mov dword [esp + 4], 0x43c80000
mov dword [esp], 0x3f800000
push 0x1019c468
push str.extended
call fcn.10077160
push 0x1019c531
push str.aim_at_bt
call fcn.1006dd60
push 0x1019c53c
push str.auto_fire
call fcn.1006dd60
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x1019c540
push str.auto_fire_key
mov dword [ebp - 0x2c], 0
call fcn.10085e10
push 0x1019c510
push str.rng_efficiency
call fcn.1006dd60
push 0
push 0
push 1
call fcn.1004c320
add esp, 0x48
call fcn.10085dc0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x1019d5d0
call fcn.100dc42f
add esp, 4
cmp dword [0x1019d5d0], 0xffffffff
jne 0x1007c72b
mov dword [ebp - 4], 0
call fcn.1000b080
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x68]
push 0x20
mov esi, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.10003380
movups xmm0, xmmword [str.m_iItemDefinitionIndex]
mov dword [ebp - 0x58], 0x16
mov dword [ebp - 0x54], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x100e64d0]
mov dword [eax + 0x10], ecx
movzx ecx, word [0x100e64d4]
mov word [eax + 0x14], cx
mov byte [eax + 0x16], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x50]
push 0x20
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.10003380
movups xmm0, xmmword [str.DT_BaseAttributableItem]
mov edx, eax
mov dword [ebp - 0x40], 0x17
mov dword [ebp - 0x3c], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x100e64b8]
mov dword [edx + 0x10], ecx
movzx ecx, word [0x100e64bc]
mov word [edx + 0x14], cx
mov al, byte [0x100e64be]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.10089110
mov edx, dword [ebp - 0x3c]
mov dword [0x1019d5cc], eax
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1007cc24
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007cc18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007cc62
jmp 0x1007cc18
push edx
push ecx
call fcn.100dbfa3
add esp, 8
jmp 0x1007cc24
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1007cc74
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007cc68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007cc68
jmp 0x1007cc62
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100dbfa3
add esp, 8
jmp 0x1007cc74
push 0x1019d5d0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
call fcn.100dc3e5
add esp, 4
jmp 0x1007c72b