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

Disassembly:
push 0xffffffffffffffff
push 0x758597
mov eax, dword fs:[0]
push eax
mov eax, 0x104c
mov dword fs:[0], esp
call fcn.0071f5d0
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
push edi
lea ecx, [esp + 0x2c]
mov word [esi + 0x234], bx
mov word [esi + 0x298], bx
mov dword [esp + 0x3c], eax
call fcn.00412d40
lea ecx, [esp + 0x10]
mov dword [esp + 0x1064], ebx
call fcn.004179a0
mov ax, word [esi + 0x7d8]
cmp ax, bx
mov byte [esp + 0x1064], 1
je 0x6c715d
push eax
call fcn.00659140
movzx ecx, word [esi + 0x7d8]
add esp, 4
push ebx
push 1
push ecx
push 0x5e0900
push str.KINGTITLE
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00415b10
movzx edx, word [esi + 0x7d8]
push ebx
push 1
push edx
push 0x5e0500
push str.KINGNAME
lea ecx, [esp + 0x24]
call fcn.00415b10
movzx eax, word [esi + 0x7d8]
push ebx
push 1
push eax
push fcn.005e0570
push str.KINGDOM
lea ecx, [esp + 0x24]
call fcn.00415b10
movzx ecx, word [esi + 0x7d8]
push ebx
push 1
push ecx
push 0x5e05d0
push str.KINGHOOD
lea ecx, [esp + 0x24]
call fcn.00415b10
cmp dword [esi + 0x7dc], 4
jl 0x6c715d
cmp edi, ebx
je 0x6c7146
mov edi, dword [edi + 0x298]
cmp edi, 6
je 0x6c7146
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.0067b450
add esp, 8
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push 1
push eax
push str.RELIGION
lea ecx, [esp + 0x24]
call fcn.00415a70
mov eax, dword [esi + 0x7dc]
cmp eax, 4
jge 0x6c718d
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.0067b3c0
mov edx, dword [esp + 0x34]
add esp, 8
push ebx
push ebx
push 1
push edx
push str.RELIGION
lea ecx, [esp + 0x24]
call fcn.00415a70
mov ax, word [esi + 0x80c]
cmp ax, bx
je 0x6c71b3
push ebx
push 1
movzx eax, ax
push eax
push fcn.005e0570
push str.SPLITTEDKINGDOM
lea ecx, [esp + 0x24]
call fcn.00415b10
mov ax, word [esi + 0x80e]
cmp ax, bx
je 0x6c71d9
push ebx
movzx ecx, ax
push 1
push ecx
push fcn.005e0570
push str.CLAIMKINGDOM
lea ecx, [esp + 0x24]
call fcn.00415b10
mov ax, word [esi + 0x7da]
cmp ax, bx
je 0x6c72a0
push eax
call fcn.00659140
movzx edx, word [esi + 0x7da]
add esp, 4
push ebx
push 1
push edx
push 0x5e0900
push str.OTHERKINGTITLE
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00415b10
movzx eax, word [esi + 0x7da]
push ebx
push 1
push eax
push 0x5e0500
push str.OTHERKINGNAME
lea ecx, [esp + 0x24]
call fcn.00415b10
movzx ecx, word [esi + 0x7da]
push ebx
push 1
push ecx
push fcn.005e0570
push str.OTHERKINGDOM
lea ecx, [esp + 0x24]
call fcn.00415b10
movzx edx, word [esi + 0x7da]
push ebx
push 1
push edx
push 0x5e05d0
push str.OTHERKINGHOOD
lea ecx, [esp + 0x24]
call fcn.00415b10
cmp edi, ebx
je 0x6c7289
mov edi, dword [edi + 0x298]
cmp edi, 4
je 0x6c7289
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.0067b450
add esp, 8
mov ecx, dword [esp + 0x2c]
push ebx
push ebx
push 1
push ecx
push str.OTHERRELIGION
lea ecx, [esp + 0x24]
call fcn.00415a70
mov eax, dword [0x912e94]
cmp eax, ebx
je 0x6c7342
mov ax, word [eax + 0x1ac]
cmp ax, bx
je 0x6c7342
push ebx
push 1
movzx edx, ax
push edx
push 0x5e0900
push str.PLAYERKINGTITLE
lea ecx, [esp + 0x24]
call fcn.00415b10
mov eax, dword [0x912e94]
movzx ecx, word [eax + 0x1ac]
push ebx
push 1
push ecx
push 0x5e0500
push str.PLAYERKINGNAME
lea ecx, [esp + 0x24]
call fcn.00415b10
mov edx, dword [0x912e94]
movzx eax, word [edx + 0x1ac]
push ebx
push 1
push eax
push fcn.005e0570
push str.PLAYERKINGDOM
lea ecx, [esp + 0x24]
call fcn.00415b10
mov ecx, dword [0x912e94]
movzx edx, word [ecx + 0x1ac]
push ebx
push 1
push edx
push 0x5e05d0
push str.PLAYERKINGHOOD
lea ecx, [esp + 0x24]
call fcn.00415b10
mov eax, dword [esi + 0x7e0]
cmp eax, ebx
je 0x6c748f
mov ecx, dword [0x923cb8]
push eax
call fcn.0062c080
mov ebp, eax
cmp ebp, ebx
je 0x6c738c
mov eax, dword [ebp + 0x2c]
mov ecx, dword [0x912eec]
push eax
call fcn.005b45a0
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x6c7390
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [0x912eec]
call fcn.005b45a0
mov edi, eax
jmp 0x6c7392
mov dword [esp + 0x24], ebx
xor edi, edi
cmp ebp, ebx
je 0x6c73db
push ebx
push 1
push ebp
push 0x5e07b0
push str.TITLE
lea ecx, [esp + 0x24]
call fcn.00415b10
push ebx
push 1
push ebp
push 0x5e06f0
push str.NAME
lea ecx, [esp + 0x24]
call fcn.00415b10
push ebx
push 1
push ebp
push 0x5e0800
push str.WORKTITLE
lea ecx, [esp + 0x24]
call fcn.00415b10
cmp edi, ebx
je 0x6c746c
mov eax, dword [edi + 0x24]
cmp eax, ebx
je 0x6c7435
push ebx
push 1
push eax
push 0x5e07b0
push str.SPOUSETITLE
lea ecx, [esp + 0x24]
call fcn.00415b10
mov edx, dword [edi + 0x24]
push ebx
push 1
push edx
push 0x5e06f0
push str.SPOUSENAME
lea ecx, [esp + 0x24]
call fcn.00415b10
mov eax, dword [edi + 0x24]
push ebx
push 1
push eax
push 0x5e0800
push str.SPOUSEWORKTITLE
lea ecx, [esp + 0x24]
call fcn.00415b10
movzx ecx, word [edi + 0x28]
push ebx
push 1
push ecx
push fcn.005e0570
push str.SPOUSEKINGDOM
lea ecx, [esp + 0x24]
call fcn.00415b10
cmp dword [edi + 0x24], ebx
jne 0x6c746c
push ebx
push 1
push edi
push 0x5e0740
push str.SPOUSENAME
lea ecx, [esp + 0x24]
call fcn.00415b10
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x6c748f
cmp ebp, ebx
jne 0x6c748f
push ebx
push 1
push eax
push 0x5e0740
push str.NAME
lea ecx, [esp + 0x24]
call fcn.00415b10
mov ax, word [esi + 0x7e4]
cmp ax, bx
je 0x6c74e1
push ebx
push eax
call fcn.00659110
movzx edx, word [esi + 0x7e4]
add esp, 8
push ebx
push 1
push edx
push fcn.005e0630
push str.REALM
lea ecx, [esp + 0x24]
call fcn.00415b10
movzx eax, word [esi + 0x7e4]
push ebx
push 1
push eax
push 0x5e0690
push str.TOWN
lea ecx, [esp + 0x24]
call fcn.00415b10
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x6c74f7
mov ecx, dword [0x86fb70]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov dword [esi + 0x28], ebx
cmp dword [esi + 0x70c], ebx
lea eax, [esi + 0x50c]
lea ebp, [esi + 0x710]
je 0x6c752d
mov ecx, dword [esp + 0x3c]
movzx edx, word [ecx + 0xd4]
push edx
push ebp
push eax
lea eax, [esp + 0x68]
push str._s__s__d
push eax
call fcn.0071f52c
add esp, 0x14
jmp 0x6c7541
push ebp
push eax
lea ecx, [esp + 0x64]
push 0x78170c
push ecx
call fcn.0071f52c
add esp, 0x10
lea edx, [esp + 0x5c]
push edx
lea eax, [esi + 0x234]
push eax
call fcn.0071e658
add esp, 8
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [0x894420]
call fcn.00414e70
push eax
lea edx, [esp + 0x868]
push edx
call fcn.00415f60
add esp, 0x10
cmp dword [esi + 0x804], ebx
je 0x6c7728
lea ecx, [esp + 0x34]
call fcn.00412d40
mov ax, word [esi + 0x7d8]
mov byte [esp + 0x1064], 2
push eax
call fcn.00659140
add esp, 4
cmp eax, ebx
je 0x6c763c
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
mov word [ecx + 0x18], bx
mov edx, dword [eax + 0x38]
mov dword [ecx], edx
mov edx, dword [eax + 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x40]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x44]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x48]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0x14], eax
lea ecx, [esi + 0x7e8]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.006c5b40
mov eax, dword [eax]
push eax
lea eax, [esp + 0x89c]
push eax
lea ecx, [esp + 0x78]
push 0x7b3408
push ecx
mov byte [esp + 0x10b0], 3
call fcn.00413950
add esp, 0x4c
lea ecx, [esp + 0x24]
mov byte [esp + 0x1064], 2
call fcn.00412de0
mov edx, dword [esp + 0x34]
jmp 0x6c7709
mov eax, dword [0x905840]
cmp eax, ebx
je 0x6c7702
cmp dword [eax + 0x1a4], ebx
je 0x6c7702
cmp dword [esi + 0x808], ebx
mov word [esp + 0x58], bx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
je 0x6c7681
mov eax, 0x3a98
jmp 0x6c768d
mov eax, dword [eax + 0x1a4]
mov eax, dword [eax + 0x284]
push eax
push ebx
lea ecx, [esp + 0x48]
call fcn.006af6b0
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
sub esp, 0x1c
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.00580c90
lea eax, [esi + 0x7e8]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.006c5b40
mov eax, dword [eax]
push eax
lea edx, [esp + 0x89c]
push edx
lea eax, [esp + 0x78]
push 0x7b3408
push eax
mov byte [esp + 0x10b0], 4
call fcn.00413950
add esp, 0x4c
lea ecx, [esp + 0x24]
mov byte [esp + 0x1064], 2
call fcn.00412de0
mov ecx, dword [esp + 0x34]
push ecx
jmp 0x6c770a
lea edx, [esp + 0x85c]
push edx
call fcn.0040fbd0
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esi + 0x28], eax
mov byte [esp + 0x1064], 1
call fcn.00412de0
jmp 0x6c773b
lea eax, [esp + 0x85c]
push eax
call fcn.0040fbd0
add esp, 4
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x6c7751
mov ecx, dword [0x86fb70]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov dword [esi + 0x2c], ebx
cmp word [esi + 0x774], bx
lea eax, [esi + 0x774]
je 0x6c7770
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0071e658
add esp, 8
jmp 0x6c778a
push ebp
lea eax, [esi + 0x50c]
push eax
lea ecx, [esp + 0x64]
push str._s__s_d
push ecx
call fcn.0071f52c
add esp, 0x10
lea edx, [esp + 0x5c]
push edx
lea edi, [esi + 0x298]
push edi
call fcn.0071e658
add esp, 8
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [0x894420]
call fcn.00414e70
push eax
lea edx, [esp + 0x868]
push edx
call fcn.00415f60
lea eax, [esp + 0x86c]
push ebp
push eax
call fcn.0071f59b
add esp, 0x18
test eax, eax
jne 0x6c7842
mov ecx, dword [esp + 0x3c]
movzx edx, word [ecx + 0xd4]
push edx
push ebp
lea eax, [esi + 0x50c]
push eax
lea eax, [esp + 0x68]
push str._s__s__d_d
push eax
call fcn.0071f52c
lea ecx, [esp + 0x70]
push ecx
push edi
call fcn.0071e658
mov ecx, dword [0x894420]
add esp, 0x1c
push ebx
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
lea eax, [esp + 0x6c]
push eax
call fcn.00414e70
push eax
lea ecx, [esp + 0x868]
push ecx
call fcn.00415f60
lea edx, [esp + 0x86c]
push edx
call fcn.0040fbd0
add esp, 0x14
jmp 0x6c7852
lea eax, [esp + 0x85c]
push eax
call fcn.0040fbd0
add esp, 4
mov ecx, dword [esp + 0x106c]
push ecx
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.006c68d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1064], bl
call fcn.004179c0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1064], 0xffffffff
call fcn.00412de0
mov ecx, dword [esp + 0x105c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1058
ret 4