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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140088048]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov r13, rcx
call fcn.140026a70
test al, al
je 0x1400291d8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], 6
mov qword [rbp], reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, dword [str.__iDMG]
mov dword [rbp - 0x18], eax
movzx eax, word [0x14007a338]
mov word [rbp - 0x14], ax
mov byte [rbp - 0x12], 0
lea rdx, [rbp - 0x18]
mov rcx, r13
call fcn.140037340
mov rdi, rax
cmp byte [rax + 0x5c], 0
je 0x140028254
mov sil, 1
jmp 0x14002919d
xor r12d, r12d
mov qword [rax + 0x10], r12
mov dword [rax], r12d
mov dword [rax + 4], 2
mov word [rax + 0x60], 0x100
mov byte [rax + 0x5d], 1
mov byte [rax + 0x5f], 1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
movups xmmword [rbp + 8], xmm0
mov ecx, 0x140
call fcn.140040954
mov rbx, rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], 0x13e
mov r15d, 0x13f
mov qword [rbp + 0x20], r15
mov rcx, rax
lea rdx, str.0F_2F_89__health_73_57_50_53_48_8B_99__Team_k__BackingField_48_85_DB_74_47_8B_9B__Side_k__BackingField_83_FB_FF_74_21_A1_00_04_B6_27_FA_7F_00_00_39_C3_75_14_83_3D_CA_01_00_00_01_75_26_BB_0F_27_00_00_F3_0F_2A_CB_EB_1B_83_3D_BA_01_00_00_01_75_12_48_A1_08_04_B6_27_FA_7F_00_00_48_39_C8_74_03_0F_57_C9_5B_58_56_48_83_EC_s1
lea eax, [r12 + 2]
nop word [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x1400282c0
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov rax, qword [rdx + 0x30]
mov qword [rcx + 0x30], rax
mov eax, dword [rdx + 0x38]
mov dword [rcx + 0x38], eax
movzx eax, word [rdx + 0x3c]
mov word [rcx + 0x3c], ax
mov byte [rbx + 0x13e], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], SafeArrayDestroy
mov r14d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x20], r14
movsd xmm1, qword [str.56_48_83_EC_s1]
movsd qword [rbp - 0x38], xmm1
mov ecx, dword [0x14007a488]
mov dword [rbp - 0x30], ecx
movzx eax, word [0x14007a48c]
mov word [rbp - 0x2c], ax
mov byte [rbp - 0x2a], 0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], SafeArrayDestroy
mov esi, r14d
mov qword [rbp - 0x40], r14
movsd qword [rbp - 0x58], xmm1
mov dword [rbp - 0x50], ecx
mov word [rbp - 0x4c], ax
mov byte [rbp - 0x4a], 0
mov dword [rdi], r12d
cmp dword [rdi + 4], 2
je 0x1400283b3
mov dword [rdi + 4], r12d
lea r12, [rdi + 0x68]
lea rax, [rbp - 0x58]
cmp r12, rax
je 0x1400283d6
mov r8d, SafeArrayDestroy
lea rdx, [rbp - 0x58]
mov rcx, r12
call fcn.1400043e0
mov rsi, qword [rbp - 0x40]
lea rax, [rdi + 0x88]
lea rcx, [rbp - 0x38]
cmp rax, rcx
je 0x1400283fc
mov r8d, SafeArrayDestroy
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400043e0
mov r14, qword [rbp - 0x20]
lea rax, [rdi + 0xa8]
lea rcx, [rbp + 8]
cmp rax, rcx
je 0x140028425
mov r8d, 0x13e
mov rdx, rbx
mov rcx, rax
call fcn.1400043e0
mov r15, qword [rbp + 0x20]
mov rbx, qword [rbp + 8]
cmp rsi, 0x10
jb 0x14002845e
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028458
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002920e
call fcn.140040920
nop
cmp r14, 0x10
jb 0x140028497
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028491
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029214
call fcn.140040920
nop
cmp r15, 0x10
jb 0x1400284ce
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400284c6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029238
mov rcx, rbx
call fcn.140040920
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Agent
lea rdx, str._health
mov rcx, rdi
call fcn.140007160
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Agent
lea rdx, str._Team_k__BackingField
mov rcx, rdi
call fcn.140007160
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Team
lea rdx, str._Side_k__BackingField
mov rcx, rdi
call fcn.140007160
lea rdx, str.TaleWorlds.MountAndBlade.Agent::set_Health
mov rcx, qword [0x14008b2d8]
call fcn.1400029d0
test rax, rax
je 0x140028543
lea rcx, [rax + 0x100]
jmp 0x140028551
mov rcx, 0xffffffffffffff10
mov rax, 0xffffffffffffff00
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rcx
movabs rbx, 0x7ffa27b60400
movabs rsi, 0x7ffa27b60408
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, 0x3173
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
movups xmmword [rbp + 0xe8], xmm0
movdqa xmm1, xmmword [0x14007d950]
movdqu xmmword [rbp + 0xf8], xmm1
mov byte [rbp + 0xe8], 0
lea rdx, [rbp - 0x78]
mov r8d, 2
lea rcx, [rbp + 0xe8]
call fcn.1400043e0
movdqa xmm0, xmmword [0x14007da30]
movdqu xmmword [rbp + 0x108], xmm0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140028619
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028614
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002921a
call fcn.140040920
xor r14d, r14d
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x78], r14b
mov r15d, 1
mov r8d, r15d
lea rdx, [rbp + 0xe8]
lea rcx, [rsp + 0x58]
call fcn.140037630
nop
lea r9, [fcn.140004190]
mov r8d, r15d
lea edx, [r14 + 0x30]
lea rcx, [rbp + 0xe8]
call fcn.140040bf0
movabs rcx, 0x7fffffffffffffff
cmp qword [rdi + 0x10], 0x10000
ja 0x140028df1
mov rax, qword [rdi + 0x20]
mov r8d, 0x10000
test rax, rax
cmovne r8, rax
mov rax, qword [rdi + 0x28]
mov rdx, rcx
test rax, rax
cmovne rdx, rax
lea rcx, [r13 + 0xf8]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r8
mov eax, dword [rdi + 0x38]
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x58]
mov r8, r12
mov rdx, rdi
call fcn.14003c500
mov qword [rdi + 0x10], rax
cmp rax, 0x10000
jae 0x140028df1
lea r8d, [r14 + 0xb]
lea rdx, str.FF_FF_FF_FF
mov rcx, r12
call fcn.140004540
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov ecx, 0x150
call fcn.140040954
mov rbx, rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x78], 0x143
mov eax, 0x14f
mov qword [rsp + 0x78], rax
mov qword [rbp + 0x80], rax
mov rcx, rbx
lea rdx, str.0F_2F_96__health_73_57_50_53_48_8B_9E__Team_k__BackingField_48_85_DB_74_47_8B_9B__Side_k__BackingField_83_FB_FF_74_21_A1_00_04_90_CF_FA_7F_00_00_39_C3_75_14_83_3D_CA_01_00_00_01_75_26_BB_0F_27_00_00_F3_0F_2A_D3_EB_1B_83_3D_BA_01_00_00_01_75_12_48_A1_08_04_90_CF_FA_7F_00_00_48_39_F0_74_03_0F_57_D2_5B_58_C5_FA_11_96__health
lea eax, [r14 + 2]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x140028722
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movzx eax, word [rdx + 0x40]
mov word [rcx + 0x40], ax
movzx eax, byte [rdx + 0x42]
mov byte [rcx + 0x42], al
mov byte [rbx + 0x143], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov ecx, 0x20
call fcn.140040954
mov r14, rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], SafeArrayGetElement
mov r12d, 0x1f
mov qword [rsp + 0x70], r12
mov qword [rbp + 0x60], r12
movups xmm0, xmmword [str.C4_E1_7A_11_96__health]
movups xmmword [rax], xmm0
mov eax, dword [0x14007a618]
mov dword [r14 + 0x10], eax
movzx eax, word [0x14007a61c]
mov word [r14 + 0x14], ax
mov byte [r14 + 0x16], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
lea ecx, [r12 + 1]
call fcn.140040954
mov rsi, rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], SafeArrayGetElement
mov qword [rbp + 0x40], r12
movups xmm0, xmmword [str.C4_E1_7A_11_96__health]
movups xmmword [rax], xmm0
mov eax, dword [0x14007a618]
mov dword [rsi + 0x10], eax
movzx eax, word [0x14007a61c]
mov word [rsi + 0x14], ax
mov byte [rsi + 0x16], 0
xor eax, eax
mov dword [rdi], eax
cmp dword [rdi + 4], 2
je 0x14002884f
mov dword [rdi + 4], eax
lea rax, [rbp + 0x28]
lea rcx, [rdi + 0x68]
cmp rcx, rax
je 0x140028872
mov r8d, SafeArrayGetElement
mov rdx, rsi
call fcn.1400043e0
mov r12, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x28]
lea rax, [rbp + 0x48]
lea rcx, [rdi + 0x88]
cmp rcx, rax
je 0x140028894
mov r8d, SafeArrayGetElement
mov rdx, r14
call fcn.1400043e0
mov r14, qword [rbp + 0x48]
lea rcx, [rbp + 0x68]
lea rax, [rdi + 0xa8]
cmp rax, rcx
je 0x1400288b9
mov r8d, 0x143
mov rdx, rbx
mov rcx, rax
call fcn.1400043e0
mov rbx, qword [rbp + 0x68]
cmp r12, 0x10
jb 0x1400288f2
lea rdx, [r12 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400288e9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029220
mov rcx, rsi
call fcn.140040920
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x14002892d
inc rdx
mov rax, r14
cmp rdx, 0x1000
jb 0x140028924
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029226
mov rcx, r14
call fcn.140040920
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x14002896a
inc rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140028962
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029238
mov rcx, rbx
call fcn.140040920
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Agent
lea rdx, str._health
mov rcx, rdi
call fcn.140007160
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Agent
lea rdx, str._Team_k__BackingField
mov rcx, rdi
call fcn.140007160
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Team
lea rdx, str._Side_k__BackingField
mov rcx, rdi
call fcn.140007160
lea rdx, str.TaleWorlds.MountAndBlade.Agent::set_Health
mov rcx, qword [0x14008b2d8]
call fcn.1400029d0
test rax, rax
je 0x1400289df
lea rcx, [rax + 0x100]
jmp 0x1400289ed
mov rcx, 0xffffffffffffff10
mov rax, 0xffffffffffffff00
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rcx
movabs rbx, 0x7ffacf900400
mov qword [rbp - 0x80], rbx
movabs rsi, 0x7ffacf900408
mov qword [rsp + 0x50], rsi
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x10000
xor r8d, r8d
mov rdx, rdi
lea rcx, [r13 + 0xf8]
call fcn.14003c9a0
test al, al
jne 0x140028dee
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov ecx, 0x150
call fcn.140040954
mov rbx, rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd8], 0x143
mov eax, 0x14f
mov qword [rbp + 0xe0], rax
mov rcx, rbx
lea rdx, str.0F_2F_96__health_73_57_50_53_48_8B_9E__Team_k__BackingField_48_85_DB_74_47_8B_9B__Side_k__BackingField_83_FB_FF_74_21_A1_00_04_90_CF_FA_7F_00_00_39_C3_75_14_83_3D_CA_01_00_00_01_75_26_BB_0F_27_00_00_F3_0F_2A_D3_EB_1B_83_3D_BA_01_00_00_01_75_12_48_A1_08_04_90_CF_FA_7F_00_00_48_39_F0_74_03_0F_57_D2_5B_58_F3_0F_11_96__health
mov eax, 2
nop dword [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x140028a90
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movzx eax, word [rdx + 0x40]
mov word [rcx + 0x40], ax
movzx eax, byte [rdx + 0x42]
mov byte [rcx + 0x42], al
mov byte [rbx + 0x143], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov ecx, 0x20
call fcn.140040954
mov r14, rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb8], SafeArrayGetElement
mov r12d, 0x1f
mov qword [rbp + 0xc0], r12
movups xmm0, xmmword [str.F3_0F_11_96__health]
movups xmmword [rax], xmm0
movzx eax, word [0x14007a778]
mov word [r14 + 0x10], ax
movzx eax, byte [0x14007a77a]
mov byte [r14 + 0x12], al
mov byte [r14 + 0x13], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
lea ecx, [r12 + 1]
call fcn.140040954
mov rsi, rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x98], SafeArrayGetElement
mov qword [rbp + 0xa0], r12
movups xmm0, xmmword [str.F3_0F_11_96__health]
movups xmmword [rax], xmm0
movzx eax, word [0x14007a778]
mov word [rsi + 0x10], ax
movzx eax, byte [0x14007a77a]
mov byte [rsi + 0x12], al
mov byte [rsi + 0x13], 0
xor eax, eax
mov dword [rdi], eax
cmp dword [rdi + 4], 2
je 0x140028bd2
mov dword [rdi + 4], eax
lea rcx, [rbp + 0x88]
lea rax, [rdi + 0x68]
cmp rax, rcx
je 0x140028c01
mov r8d, SafeArrayGetElement
mov rdx, rsi
mov rcx, rax
call fcn.1400043e0
mov r12, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0x88]
lea rcx, [rbp + 0xa8]
lea rax, [rdi + 0x88]
cmp rax, rcx
je 0x140028c38
mov r8d, SafeArrayGetElement
mov rdx, r14
mov rcx, rax
call fcn.1400043e0
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x70], rax
mov r14, qword [rbp + 0xa8]
lea rcx, [rbp + 0xc8]
lea rax, [rdi + 0xa8]
cmp rax, rcx
je 0x140028c6f
mov r8d, 0x143
mov rdx, rbx
mov rcx, rax
call fcn.1400043e0
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x78], rax
mov rbx, qword [rbp + 0xc8]
cmp r12, 0x10
jb 0x140028ca8
lea rdx, [r12 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140028c9f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002922c
mov rcx, rsi
call fcn.140040920
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x140028ce5
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140028cdc
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029232
mov rcx, r14
call fcn.140040920
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x140028d21
lea rdx, [rax + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140028d19
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029238
mov rcx, rbx
call fcn.140040920
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Agent
lea rdx, str._health
mov rcx, rdi
call fcn.140007160
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Agent
lea rdx, str._Team_k__BackingField
mov rcx, rdi
call fcn.140007160
mov r9d, 4
lea r8, str.TaleWorlds.MountAndBlade.Team
lea rdx, str._Side_k__BackingField
mov rcx, rdi
call fcn.140007160
lea rdx, str.TaleWorlds.MountAndBlade.Agent::set_Health
mov rcx, qword [0x14008b2d8]
call fcn.1400029d0
test rax, rax
je 0x140028d96
lea rcx, [rax + 0x100]
jmp 0x140028da4
mov rax, 0xffffffffffffff00
mov rcx, 0xffffffffffffff10
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rcx
mov rbx, qword [rbp - 0x80]
mov rsi, qword [rsp + 0x50]
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x10000
mov r8b, 1
mov rdx, rdi
lea rcx, [r13 + 0xf8]
call fcn.14003c9a0
test al, al
jne 0x140028dee
xor sil, sil
xor r14d, r14d
jmp 0x1400290c8
xor r14d, r14d
mov r8d, 0x800
mov rdx, qword [rdi + 0x10]
lea rcx, [r13 + 0xf8]
call fcn.14003c360
mov qword [rdi + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, qword [str.iPlayer]
mov dword [rbp - 0x78], eax
movzx eax, word [0x140079c0c]
mov word [rbp - 0x74], ax
movzx eax, byte [0x140079c0e]
mov byte [rbp - 0x72], al
mov byte [rbp - 0x71], 0
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.140037470
mov r9, qword [rax + 0x18]
add r9, 0x400
mov r8, rbx
lea rdx, [rdi + 0xa8]
call fcn.140007ac0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140028ea7
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028ea2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002923e
call fcn.140040920
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, qword [str.iPlayer]
mov dword [rbp - 0x78], eax
movzx eax, word [0x140079c0c]
mov word [rbp - 0x74], ax
movzx eax, byte [0x140079c0e]
mov byte [rbp - 0x72], al
mov byte [rbp - 0x71], 0
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.140037470
mov r9, qword [rax + 0x18]
add r9, 0x408
mov r8, rsi
lea rdx, [rdi + 0xa8]
call fcn.140007ac0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140028f43
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028f3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029244
call fcn.140040920
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, 0x3441
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
mov rbx, qword [rdi + 0x18]
add rbx, 0x200
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.140037470
mov qword [rax + 0x10], rbx
mov dword [rax + 0x3c], r15d
mov ecx, dword [rax + 0x4c]
mov edx, r15d
cmp ecx, 0x7fffffff
je 0x140028f9e
cmp ecx, r15d
jge 0x140028f9e
mov dword [rax + 0x3c], ecx
mov edx, ecx
mov r8d, dword [rax + 0x50]
cmp r8d, 0x80000000
je 0x140028fb3
cmp edx, ecx
jge 0x140028fb3
mov dword [rax + 0x3c], r8d
mov dword [rax + 0x40], r14d
mov byte [rax + 0x60], 1
mov byte [rax + 0x5e], 0
mov dword [rax], 2
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140029000
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028ffb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002924a
call fcn.140040920
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, 0x3541
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
mov rbx, qword [rdi + 0x18]
add rbx, 0x204
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.140037470
mov qword [rax + 0x10], rbx
mov dword [rax + 0x3c], r15d
mov ecx, dword [rax + 0x4c]
cmp ecx, 0x7fffffff
je 0x140029059
cmp ecx, 1
jge 0x140029059
mov dword [rax + 0x3c], ecx
mov r15d, ecx
mov edx, dword [rax + 0x50]
cmp edx, 0x80000000
je 0x14002906c
cmp r15d, ecx
jge 0x14002906c
mov dword [rax + 0x3c], edx
mov dword [rax + 0x40], r14d
mov byte [rax + 0x60], 1
mov byte [rax + 0x5e], 0
mov dword [rax], 2
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400290b9
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400290b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029250
call fcn.140040920
lea rdx, [rbp - 0x18]
mov rcx, r13
call fcn.140032ee0
movzx esi, al
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14002919d
mov rdi, qword [rsp + 0x60]
cmp rbx, rdi
je 0x140029137
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002911a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140029115
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029256
mov rcx, r8
call fcn.140040920
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
add rbx, 0x30
cmp rbx, rdi
jne 0x1400290e0
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
sub rcx, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, rbx
cmp rdx, 0x1000
jb 0x140029187
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029256
mov rcx, rbx
call fcn.140040920
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1400291d4
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400291cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029208
call fcn.140040920
movzx eax, sil
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.140040900
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
int3
call fcn.14004727c
int3
call fcn.14004727c
int3
call fcn.14004727c
int3
call fcn.14004727c
nop
call fcn.14004727c
int3