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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x741a08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push esi
push edi
push 1
xor edi, edi
push edi
push edi
mov esi, ecx
mov ecx, dword [0x894420]
push str.scorewnd_nob_title
call fcn.00414e70
push eax
mov ecx, esi
call fcn.005172c0
push str.Images_Screens_ScoreWnd_separator.bmp
mov ecx, esi
call fcn.005173b0
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], str.Marshal
mov dword [esp + 0x20], str.Builder
mov dword [esp + 0x24], 0x7b78fc
mov dword [esp + 0x28], str.Trader
mov dword [esp + 0x2c], str.Missionary
mov dword [esp + 0x30], str.Prisoner
mov dword [esp + 0x34], str.Farmer
mov dword [esp + 0x38], str.Pope
mov dword [esp + 0x3c], str.Patriarch
mov dword [esp + 0x54], eax
mov bl, 4
jmp 0x5186d0
mov eax, dword [esp + edi*4 + 0x18]
test eax, eax
je 0x5188dc
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x70]
call fcn.00413870
push eax
lea ecx, [esp + 0x84]
push str.titles_
push ecx
mov dword [esp + 0x2a8], 0
call fcn.00413c20
push str.:plc
push eax
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x2b4], 1
call fcn.00413ad0
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [0x894420]
push 0xffffffffffffffff
push 0
push 0
push eax
mov byte [esp + 0x2ac], 2
call fcn.00414e70
push eax
lea ecx, [esp + 0x18]
call fcn.00413870
lea ecx, [esp + 0x88]
mov byte [esp + 0x29c], 6
call fcn.00412de0
lea ecx, [esp + 0x80]
mov byte [esp + 0x29c], 5
call fcn.00412de0
lea ecx, [esp + 0x68]
mov byte [esp + 0x29c], bl
call fcn.00412de0
push edi
lea ecx, [esp + 0x7c]
call fcn.00413ef0
push eax
lea eax, [esp + 0x5c]
push str.Nobles
push eax
mov byte [esp + 0x2a8], 7
call fcn.00413c20
add esp, 0xc
mov ecx, dword [0x914138]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x334]
add ecx, 0x10
push eax
mov byte [esp + 0x2a0], 8
call fcn.006a24f0
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x894420]
push edx
push eax
push 0
push 0
push str.scorewnd_nob_hired
call fcn.00414e70
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.0071f52c
add esp, 0x10
lea ecx, [esp + 0x58]
mov byte [esp + 0x29c], 7
call fcn.00412de0
mov byte [esp + 0x29c], bl
lea ecx, [esp + 0x78]
call fcn.00412de0
push 0
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.005172c0
push edi
lea ecx, [esp + 0x74]
call fcn.00413ef0
push eax
lea eax, [esp + 0x64]
push str.NoblesLost
push eax
mov byte [esp + 0x2a8], 9
call fcn.00413c20
add esp, 0xc
mov ecx, dword [0x914138]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x334]
add ecx, 0x10
push eax
mov byte [esp + 0x2a0], 0xa
call fcn.006a24f0
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x894420]
push edx
push eax
push 0
push 0
push str.scorewnd_nob_lost
call fcn.00414e70
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.0071f52c
add esp, 0x10
lea ecx, [esp + 0x60]
mov byte [esp + 0x29c], 9
call fcn.00412de0
lea ecx, [esp + 0x70]
mov byte [esp + 0x29c], bl
call fcn.00412de0
push 0
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.005172c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x29c], 0xffffffff
call fcn.00412de0
add edi, 1
cmp edi, 0x10
jl 0x5186d0
mov eax, dword [0x914138]
mov ecx, dword [eax + 0x334]
add ecx, 0x10
push str.NoblesKingsDied
call fcn.006a24f0
mov ecx, dword [eax]
push ecx
mov ecx, dword [0x894420]
push 0
push 0
push str.scorewnd_nob_kings_died
call fcn.00414e70
push eax
lea edx, [esp + 0x98]
push edx
call fcn.0071f52c
add esp, 0xc
push 0
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.005172c0
mov ecx, dword [0x914138]
mov ecx, dword [ecx + 0x334]
add ecx, 0x10
push str.NoblesPrincesDied
call fcn.006a24f0
mov edx, dword [eax]
mov ecx, dword [0x894420]
push edx
push 0
push 0
push str.scorewnd_nob_family_died
call fcn.00414e70
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0071f52c
add esp, 0xc
push 0
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.005172c0
mov edx, dword [0x914138]
mov ecx, dword [edx + 0x334]
add ecx, 0x10
push str.NoblesFamilyHired
call fcn.006a24f0
mov eax, dword [eax]
mov ecx, dword [0x894420]
push eax
push 0
push 0
push str.scorewnd_nob_family_hired
call fcn.00414e70
push eax
lea ecx, [esp + 0x98]
push ecx
call fcn.0071f52c
add esp, 0xc
push 0
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.005172c0
mov ecx, dword [esp + 0x294]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret