Function at 0x140036f00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
xor esi, esi
mov rdx, qword [rcx]
mov rax, qword [rdx]
cmp rax, rdx
je 0x140036f81
nop
mov qword [rax + 0x58], rsi
mov qword [rax + 0x50], rsi
mov byte [rax + 0x9c], sil
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], sil
je 0x140036f5b
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], sil
jne 0x140036f56
cmp rax, qword [rcx + 0x10]
jne 0x140036f56
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], sil
je 0x140036f43
mov rax, rcx
jmp 0x140036f7c
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], sil
jne 0x140036f7c
nop word [rax + rax]
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], sil
je 0x140036f70
cmp rax, qword [rdi]
jne 0x140036f20
mov dword [rdi + 0x194], 0x4cbebc20
mov dword [rdi + 0x184], 0x4cbebc20
mov dword [rdi + 0x180], 0x4cbebc20
mov dword [rdi + 0x17c], 0x4cbebc20
mov dword [rdi + 0x178], 0x4cbebc20
mov dword [rdi + 0x174], 0x4cbebc20
mov dword [rdi + 0x170], 0x4cbebc20
mov dword [rdi + 0x190], 0x4cbebc20
mov dword [rdi + 0x18c], 0x4cbebc20
mov dword [rdi + 0x188], 0x4cbebc20
mov qword [rdi + 0x1b0], rsi
mov qword [rdi + 0x1a8], rsi
mov qword [rdi + 0x1a0], rsi
mov qword [rdi + 0x198], rsi
mov qword [rdi + 0x1d0], rsi
mov qword [rdi + 0x1c8], rsi
mov qword [rdi + 0x1c0], rsi
mov qword [rdi + 0x1b8], rsi
lea rbx, [rdi + 0x218]
mov rcx, rbx
call fcn.14003e7a0
lea rcx, [rdi + 0x370]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, 0x10
call fcn.140040954
mov qword [rax], rbx
lea rcx, [0x14003eb60]
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14003ebe0]
xor edx, edx
xor ecx, ecx
call fcn.14004b8b8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140037299
cmp dword [rsp + 0x38], 0
je 0x14003728e
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14003fefc
test eax, eax
jne 0x14003728e
mov rcx, rdi
call fcn.140037b60
lea rcx, [rdi + 0x660]
mov r8d, SafeArrayDestroy
lea rdx, str.::ComputeSpeed
call fcn.1400043e0
lea rcx, [rdi + 0x640]
mov r8d, 0x50
lea rdx, str.TaleWorlds.CampaignSystem.ViewModelCollection.Craft.WeaponDesign.CraftingPieceVM
call fcn.1400043e0
lea rcx, [rdi + 0x620]
mov r8d, 0x38
lea rdx, str.TaleWorlds.CampaignSystem.ViewModelCollection.CraftingVM
call fcn.1400043e0
lea rcx, [rdi + 0x600]
mov r8d, 0x38
lea rdx, str.TaleWorlds.CampaignSystem.ViewModelCollection.SPBarterVM
call fcn.1400043e0
lea rcx, [rdi + 0x5c0]
mov r8d, 0x4d
lea rdx, str.TaleWorlds.MountAndBlade.ViewModelCollection.Multiplayer.MissionAgentStatusVM
call fcn.1400043e0
lea rcx, [rdi + 0x5e0]
mov r8d, 0x3b
lea rdx, str.TaleWorlds.CampaignSystem.ViewModelCollection.Map.MapInfoVM
call fcn.1400043e0
lea rcx, [rdi + 0x440]
mov r8d, 0x25
lea rdx, str.TaleWorlds.CampaignSystem.MobileParty
call fcn.1400043e0
lea rcx, [rdi + 0x460]
mov r8d, 0x23
lea rdx, str.TaleWorlds.CampaignSystem.PartyBase
call fcn.1400043e0
lea rcx, [rdi + 0x480]
mov r8d, 0x27
lea rdx, str.TaleWorlds.CampaignSystem.HeroDeveloper
call fcn.1400043e0
lea rcx, [rdi + 0x4a0]
mov r8d, 0x25
lea rdx, str.TaleWorlds.CampaignSystem.TroopRoster
call fcn.1400043e0
lea rcx, [rdi + 0x4c0]
mov r8d, 0x22
lea rdx, str.TaleWorlds.CampaignSystem.Building
call fcn.1400043e0
lea rcx, [rdi + 0x4e0]
mov r8d, 0x1e
lea rdx, str.TaleWorlds.CampaignSystem.Town
call fcn.1400043e0
lea rcx, [rdi + 0x500]
mov r8d, 0x28
lea rdx, str.TaleWorlds.CampaignSystem.InventoryLogic
call fcn.1400043e0
lea rcx, [rdi + 0x520]
mov r8d, 0x24
lea rdx, str.TaleWorlds.CampaignSystem.ItemRoster
call fcn.1400043e0
lea rcx, [rdi + 0x540]
mov r8d, 0x54
lea rdx, str.TaleWorlds.CampaignSystem.SandBox.GameComponents.Party.DefaultInventoryCapacityModel
call fcn.1400043e0
lea rcx, [rdi + 0x560]
mov r8d, 0x4c
lea rdx, str.TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CraftingCampaignBehavior
call fcn.1400043e0
lea rcx, [rdi + 0x580]
mov r8d, 0x5b
lea rdx, str.TaleWorlds.CampaignSystem.SandBox.GameComponents.DefaultPrisonerRecruitmentCalculationModel
call fcn.1400043e0
lea rcx, [rdi + 0x5a0]
mov r8d, 0x44
lea rdx, str.TaleWorlds.CampaignSystem.SiegeEventSiegeEngineConstructionProgress
call fcn.1400043e0
mov byte [0x14008b2d1], 0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov ecx, 1
call fcn.14003fe60
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.14003fe60
int3