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

Disassembly:
push 0xffffffffffffffff
push 0x74b841
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], vtable.CBArray_struct_TEconomyEntry__.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x430]
movzx eax, byte [ebp + 0xd8]
mov edx, dword [0x914298]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
sub ecx, eax
shl ecx, 4
lea esi, [ecx + edx + 0x38]
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x430], ebx
call fcn.00413870
push 0x7dbce0
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x434], 1
call fcn.00413ad0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x894420]
push ebx
push ebx
push eax
push str.ui_help
mov byte [esp + 0x438], 2
call fcn.00414c00
mov edi, dword [esp + 0x434]
push eax
mov ecx, edi
call fcn.00413310
lea ecx, [esp + 0x30]
mov byte [esp + 0x428], 1
call fcn.00412de0
lea ecx, [esp + 0x28]
mov byte [esp + 0x428], bl
call fcn.00412de0
push 5
lea ecx, [esp + 0x14]
add ebp, 0x30
push ecx
push ebp
mov dword [esp + 0x30], ebp
call fcn.005e0100
add esp, 0xc
cmp dword [esp + 0x20], ebx
je 0x5e113a
mov ecx, dword [0x894420]
push ebx
push ebx
push str.online_help_required_structures
call fcn.00414e70
push eax
lea edx, [esp + 0x3c]
push str._r_n_r_n_s_r_n
push edx
call fcn.0071f52c
add esp, 0xc
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00413410
xor ebp, ebp
cmp dword [esp + 0x20], ebx
jbe 0x5e1146
mov edx, dword [esp + 0x10]
push ebp
lea ecx, [esp + 0x14]
call dword [edx + 0x14]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x3c]
push edi
push ecx
call fcn.005e0d60
add ebp, 1
add esp, 0xc
cmp ebp, dword [esp + 0x20]
jb 0x5e1112
jmp 0x5e1146
push 0x7a0bc4
mov ecx, edi
call fcn.00413410
push 0x7a0bc4
mov ecx, edi
call fcn.00413410
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x44]
mov ecx, dword [0x894420]
push edx
push eax
push 0xb4
push ebx
push ebx
push str.online_help_price
call fcn.00414e70
push eax
lea ecx, [esp + 0x48]
push str._s_A:_d__d__I:images_screens_text_symbols_gold.rle____d__I:images_screens_text_symbols_food.rle__r_n
push ecx
call fcn.0071f52c
add esp, 0x18
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00413410
mov eax, dword [esi + 0x74]
mov ecx, dword [0x894420]
push eax
push 0xb4
push ebx
push ebx
push str.online_help_chance_to_kill_melee
call fcn.00414e70
push eax
lea ecx, [esp + 0x44]
push str._s_A:_d__d_r_n
push ecx
call fcn.0071f52c
add esp, 0x14
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00413410
mov eax, dword [esi + 0x78]
cmp eax, ebx
mov ecx, dword [0x894420]
je 0x5e11fe
push eax
push 0xb4
push ebx
push ebx
push str.online_help_chance_to_kill_ranged
call fcn.00414e70
push eax
lea eax, [esp + 0x44]
push str._s_A:_d__d_r_n
push eax
call fcn.0071f52c
add esp, 0x14
jmp 0x5e1222
push 0xb4
push ebx
push ebx
push str.online_help_chance_to_kill_ranged
call fcn.00414e70
push eax
lea ecx, [esp + 0x40]
push str._s_A:_d___r_n
push ecx
call fcn.0071f52c
add esp, 0x10
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00413410
mov eax, dword [esi + 0x94]
mov ecx, dword [0x894420]
push eax
push 0xb4
push ebx
push ebx
push str.online_help_defence
call fcn.00414e70
push eax
lea ecx, [esp + 0x44]
push str._s_A:_d__d_r_n
push ecx
call fcn.0071f52c
add esp, 0x14
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00413410
movzx eax, word [esi + 0x70]
mov ecx, dword [0x894420]
push eax
push 0xb4
push ebx
push ebx
push str.online_help_squad_size
call fcn.00414e70
push eax
lea ecx, [esp + 0x44]
push str._s_A:_d__d_r_n
push ecx
call fcn.0071f52c
add esp, 0x14
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00413410
mov eax, dword [esi + 0x40]
movzx ecx, byte [eax + 0x8c7]
push ecx
mov ecx, dword [0x894420]
push 0xb4
push ebx
push ebx
push str.online_help_walk_speed
call fcn.00414e70
push eax
lea edx, [esp + 0x44]
push str._s_A:_d__d_r_n
push edx
call fcn.0071f52c
add esp, 0x14
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00413410
mov ecx, dword [esi + 0x40]
movzx edx, byte [ecx + 0x8c9]
mov ecx, dword [0x894420]
push edx
push 0xb4
push ebx
push ebx
push str.online_help_run_speed
call fcn.00414e70
push eax
lea eax, [esp + 0x44]
push str._s_A:_d__d_r_n
push eax
call fcn.0071f52c
add esp, 0x14
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00413410
mov esi, dword [esi + 0xa0]
mov ecx, dword [0x894420]
cmp esi, ebx
je 0x5e135f
push esi
push 0xb4
push ebx
push ebx
push str.online_help_morale
call fcn.00414e70
push eax
lea edx, [esp + 0x44]
push str._s_A:_d__d_r_n
push edx
call fcn.0071f52c
add esp, 0x14
jmp 0x5e1383
push 0xb4
push ebx
push ebx
push str.online_help_morale
call fcn.00414e70
push eax
lea eax, [esp + 0x40]
push str._s_A:_d___r_n
push eax
call fcn.0071f52c
add esp, 0x10
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00413410
mov eax, dword [esp + 0x24]
push 2
lea edx, [esp + 0x14]
push edx
push eax
call fcn.005e0100
add esp, 0xc
cmp dword [esp + 0x20], ebx
je 0x5e13ef
mov ecx, dword [0x894420]
push ebx
push ebx
push str.online_help_special_req_horses
call fcn.00414e70
mov ecx, dword [0x894420]
push eax
push 0x19
push ebx
push ebx
push str.online_help_specials
call fcn.00414e70
push eax
lea ecx, [esp + 0x44]
push str._r_n_s_r_n_A:_d__s
push ecx
call fcn.0071f52c
add esp, 0x14
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00413410
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
cmp eax, ebx
mov dword [esp + 0x41c], 0xffffffff
mov dword [esp + 4], vtable.CBArray_struct_TEconomyEntry__.0
pop ebx
je 0x5e1417
push eax
call fcn.0040fa80
add esp, 4
mov ecx, dword [esp + 0x410]
mov dword fs:[0], ecx
add esp, 0x41c
ret 8