Function at 0x140037470
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, rcx
xor r14d, r14d
mov rdx, qword [rcx]
mov rax, qword [rdx]
cmp rax, rdx
je 0x140037511
nop dword [rax]
mov qword [rax + 0x58], r14
mov qword [rax + 0x50], r14
mov byte [rax + 0x9c], r14b
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r14b
je 0x1400374eb
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r14b
jne 0x1400374e6
cmp rax, qword [rcx + 0x10]
jne 0x1400374e6
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r14b
je 0x1400374d3
mov rax, rcx
jmp 0x14003750c
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r14b
jne 0x14003750c
nop word [rax + rax]
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r14b
je 0x140037500
cmp rax, qword [rsi]
jne 0x1400374b0
mov dword [rsi + 0x194], 0x4cbebc20
mov dword [rsi + 0x184], 0x4cbebc20
mov dword [rsi + 0x180], 0x4cbebc20
mov dword [rsi + 0x17c], 0x4cbebc20
mov dword [rsi + 0x178], 0x4cbebc20
mov dword [rsi + 0x174], 0x4cbebc20
mov dword [rsi + 0x170], 0x4cbebc20
mov dword [rsi + 0x190], 0x4cbebc20
mov dword [rsi + 0x18c], 0x4cbebc20
mov dword [rsi + 0x188], 0x4cbebc20
mov qword [rsi + 0x1b0], r14
mov qword [rsi + 0x1a8], r14
mov qword [rsi + 0x1a0], r14
mov qword [rsi + 0x198], r14
mov qword [rsi + 0x1d0], r14
mov qword [rsi + 0x1c8], r14
mov qword [rsi + 0x1c0], r14
mov qword [rsi + 0x1b8], r14
lea rbp, [rsi + 0x218]
mov rcx, rbp
call fcn.14003f200
lea rcx, [rsi + 0x370]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [0x14008d900]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x14003771a
movabs r15, 0x7fffffffffffffff
lea r12, [0x140074034]
nop
mov rcx, qword [rbx + 0x30]
mov rax, r15
sub rax, rcx
cmp rax, 1
jb 0x1400379ad
lea r9, [rbx + 0x20]
cmp qword [rbx + 0x38], 0xf
jbe 0x140037613
mov r9, qword [rbx + 0x20]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.1400051a0
nop
lea rdx, [rbx + 0x40]
cmp qword [rbx + 0x58], 0xf
jbe 0x140037640
mov rdx, qword [rbx + 0x40]
mov r8, qword [rbx + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140004560
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rax], 0
lea rcx, [rsp + 0x40]
call fcn.14001bb50
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x1400376cb
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400376c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400379a7
call fcn.1400411f0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400376f8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400376f3
nop
cmp rbx, qword [rax + 0x10]
jne 0x1400376f3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400376e0
mov rbx, rax
jmp 0x140037710
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140037710
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140037704
cmp byte [rbx + 0x19], 0
je 0x1400375f0
mov ecx, 0x10
call fcn.140041224
mov qword [rax], rbp
lea rcx, [0x14003f5c0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003f640]
xor edx, edx
xor ecx, ecx
call fcn.14004c628
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140037997
cmp dword [rsp + 0x48], 0
je 0x14003798c
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140040954
test eax, eax
jne 0x14003798c
mov rcx, rsi
call fcn.140038370
lea rcx, [rsi + 0x660]
mov r8d, SafeArrayDestroy
lea rdx, str.::ComputeSpeed
call fcn.140004400
lea rcx, [rsi + 0x640]
mov r8d, 0x50
lea rdx, str.TaleWorlds.CampaignSystem.ViewModelCollection.Craft.WeaponDesign.CraftingPieceVM
call fcn.140004400
lea rcx, [rsi + 0x620]
mov r8d, 0x38
lea rdx, str.TaleWorlds.CampaignSystem.ViewModelCollection.CraftingVM
call fcn.140004400
lea rcx, [rsi + 0x600]
mov r8d, 0x38
lea rdx, str.TaleWorlds.CampaignSystem.ViewModelCollection.SPBarterVM
call fcn.140004400
lea rcx, [rsi + 0x5c0]
mov r8d, 0x4d
lea rdx, str.TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.MissionAgentStatusVM
call fcn.140004400
lea rcx, [rsi + 0x5e0]
mov r8d, 0x3b
lea rdx, str.TaleWorlds.CampaignSystem.ViewModelCollection.Map.MapInfoVM
call fcn.140004400
lea rcx, [rsi + 0x440]
mov r8d, 0x25
lea rdx, str.TaleWorlds.CampaignSystem.MobileParty
call fcn.140004400
lea rcx, [rsi + 0x460]
mov r8d, 0x23
lea rdx, str.TaleWorlds.CampaignSystem.PartyBase
call fcn.140004400
lea rcx, [rsi + 0x480]
mov r8d, 0x27
lea rdx, str.TaleWorlds.CampaignSystem.HeroDeveloper
call fcn.140004400
lea rcx, [rsi + 0x4a0]
mov r8d, 0x25
lea rdx, str.TaleWorlds.CampaignSystem.TroopRoster
call fcn.140004400
lea rcx, [rsi + 0x4c0]
mov r8d, 0x22
lea rdx, str.TaleWorlds.CampaignSystem.Building
call fcn.140004400
lea rcx, [rsi + 0x4e0]
mov r8d, 0x1e
lea rdx, str.TaleWorlds.CampaignSystem.Town
call fcn.140004400
lea rcx, [rsi + 0x500]
mov r8d, 0x28
lea rdx, str.TaleWorlds.CampaignSystem.InventoryLogic
call fcn.140004400
lea rcx, [rsi + 0x520]
mov r8d, 0x24
lea rdx, str.TaleWorlds.CampaignSystem.ItemRoster
call fcn.140004400
lea rcx, [rsi + 0x540]
mov r8d, 0x54
lea rdx, str.TaleWorlds.CampaignSystem.SandBox.GameComponents.Party.DefaultInventoryCapacityModel
call fcn.140004400
lea rcx, [rsi + 0x560]
mov r8d, 0x4c
lea rdx, str.TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CraftingCampaignBehavior
call fcn.140004400
lea rcx, [rsi + 0x580]
mov r8d, 0x5b
lea rdx, str.TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultPrisonerRecruitmentCalculationModel
call fcn.140004400
lea rcx, [rsi + 0x5a0]
mov r8d, 0x44
lea rdx, str.TaleWorlds.CampaignSystem.SiegeEventSiegeEngineConstructionProgress
call fcn.140004400
mov byte [0x14008d261], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400411d0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.1400408b8
nop
mov dword [rsp + 0x48], r14d
mov ecx, 6
call fcn.1400408b8
nop
call fcn.140047ff4
int3
call fcn.140001300
int3