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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0x3f800000
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x3e9]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x3af]
push edi
mov dword [esp + 0x28], edx
mov edi, dword [eax + ecx*4 + 0x5e30]
mov ecx, dword [esi + 0xbc]
cmp ecx, 3
mov ebx, dword [edi + 0xbf6]
mov dword [esp + 0x10], ebx
jae 0x4aaa82
mov ebp, dword [eax + 0x5fb3]
test ebp, ebp
je 0x4aaa82
mov dx, word [ebp + 0x36b]
cmp dx, word [esi + 0x36b]
jne 0x4aaa63
mov ecx, ebp
call fcn.004be110
mov ecx, esi
mov ebx, eax
call fcn.004be110
cmp ebx, eax
je 0x4aaa72
mov ebx, dword [esp + 0x10]
mov ecx, ebp
call fcn.004be220
mov ebp, eax
test ebp, ebp
jne 0x4aaa3b
jmp 0x4aaa82
mov eax, dword [ebp + 0x36d]
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x36d], eax
test byte [esi + 0x36d], 0x20
je 0x4aabb8
mov ecx, dword [edi + 0x23f6]
cmp ecx, 5
mov dword [esi + 0x18b0], ecx
jl 0x4aab19
mov ecx, dword [esi + 0x3e9]
push 0x20
push esi
push ecx
call fcn.0047d0a0
mov edx, dword [esi + 0x3e9]
add esp, 0xc
mov eax, dword [edx + 0x5f2f]
mov eax, dword [eax + 0x91d]
test eax, eax
jne 0x4aaaec
mov eax, dword [edi + 0x24da]
cmp eax, 0x20
jge 0x4aabb8
shl eax, 8
push 0x50df24
lea ecx, [eax + edi + 0x24de]
push ecx
jmp 0x4aabac
cmp eax, 1
jne 0x4aae35
mov eax, dword [edi + 0x24da]
cmp eax, 0x20
jge 0x4aabb8
shl eax, 8
push str.Your_human_technology_level_has_been_upgraded_to_the_highest.
lea edx, [eax + edi + 0x24de]
push edx
jmp 0x4aabac
mov eax, dword [esi + 0x3e9]
mov edx, dword [esi + 0x3af]
cmp byte [eax + edx + 0x5e4e], 0
jne 0x4aabb8
mov edx, dword [eax + 0x5f33]
test edx, edx
jne 0x4aabb8
mov edx, dword [eax + 0x70]
cmp ecx, dword [edx*4 + 0x50ca2c]
jl 0x4aabb8
push 0x20
push esi
push eax
call fcn.0047d0a0
mov eax, dword [esi + 0x3e9]
add esp, 0xc
mov ecx, dword [eax + 0x5f2f]
mov eax, dword [ecx + 0x91d]
test eax, eax
jne 0x4aab88
mov eax, dword [edi + 0x24da]
cmp eax, 0x20
jge 0x4aabb8
shl eax, 8
push 0x50df24
lea edx, [eax + edi + 0x24de]
push edx
jmp 0x4aabac
cmp eax, 1
jne 0x4aae35
mov eax, dword [edi + 0x24da]
cmp eax, 0x20
jge 0x4aabb8
shl eax, 8
push str.Your_human_technology_level_has_been_upgraded_to_the_highest.
lea eax, [eax + edi + 0x24de]
push eax
call dword [0x4f0138]
inc dword [edi + 0x24da]
mov al, byte [esi + 0x142]
test al, al
jne 0x4aae61
mov al, byte [esi + 0x188e]
test al, al
jne 0x4aae61
cmp dword [esi + 0x18ac], 1
jne 0x4aae61
mov al, byte [esi + 0x3db]
test al, al
je 0x4aac5f
mov eax, dword [esi + 0x18cc]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x3c]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0x78]
push edx
push eax
call dword [ecx + 0x7c]
test eax, eax
jne 0x4aae35
lea eax, [esp + 0x20]
push 0x3e860a92
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004ee08a
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x18cc]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esi + 0x78]
push edx
push eax
call dword [ecx + 0xf0]
test eax, eax
jne 0x4aae35
mov ecx, dword [esi + 0x18b4]
inc ecx
mov eax, ecx
mov dword [esi + 0x18b4], ecx
cmp eax, 3
jl 0x4aae61
push 1
mov ecx, edi
call fcn.00498bd0
cmp eax, ebx
jl 0x4aae61
mov eax, dword [esi + 0x357]
xor ebp, ebp
add eax, ebx
push 1
neg ebx
push ebx
mov ecx, edi
mov dword [esi + 0x18b4], ebp
mov dword [esi + 0x357], eax
call fcn.00498c30
mov eax, dword [esi + 0x363]
mov ecx, dword [esi + 0x357]
cmp ecx, dword [esi + eax*4 + 0x14f]
jl 0x4aae61
mov ecx, dword [edi + eax*8 + 0x23f6]
push ecx
mov dword [esi + 0x18b0], ecx
push eax
push 1
mov ecx, edi
call fcn.00498a00
test al, al
je 0x4aae35
mov edx, dword [esi + 0x18b0]
mov eax, dword [esi + 0x18b8]
inc edx
cmp eax, 0x20
mov dword [esi + 0x18b0], edx
mov dword [esi + 0x363], 0xffffffff
mov dword [esi + 0x357], ebp
mov dword [esi + 0x18ac], ebp
jne 0x4aad3d
mov eax, edx
push 0x20
cmp eax, 5
push esi
jne 0x4aad2c
mov edx, dword [esi + 0x3e9]
push edx
call fcn.0047d0a0
add esp, 0xc
jmp 0x4aad62
mov eax, dword [esi + 0x3e9]
push eax
call fcn.0047d040
add esp, 0xc
jmp 0x4aad62
mov ecx, dword [esi + 0x3e9]
push eax
push esi
push ecx
call fcn.0047d040
mov edx, dword [esi + 0x18b8]
mov eax, dword [esi + 0x3e9]
push edx
push esi
push eax
call fcn.0047d110
add esp, 0x18
mov ecx, dword [esi + 0x3e9]
mov eax, dword [esi + 0x3af]
mov dword [esi + 0x18b8], ebp
mov edx, dword [ecx + 0x5e2c]
cmp edx, eax
jne 0x4aade3
mov eax, dword [edi + 0x24da]
cmp eax, 0x20
jge 0x4aada5
shl eax, 8
push str._BuildCompleted
lea eax, [eax + edi + 0x24de]
push eax
call dword [0x4f0138]
inc dword [edi + 0x24da]
lea ecx, [esi + 0xf9]
mov ebx, dword [esi + 0x188a]
mov eax, ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [esi + 0x3e9]
mov dword [eax + 0x5efb], ebx
lea ebx, [eax + 0x5f07]
mov dword [eax + 0x5f07], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dword [eax + 0x5eef], 0x1c2
mov ecx, dword [esi + 0x3e9]
cmp dword [ecx + 0x5f2b], ebp
je 0x4aae61
mov edi, dword [0x4f0140]
call edi
sub eax, dword [0x92843c]
cmp eax, 0x1388
jb 0x4aae61
mov eax, dword [esi + 0x3e9]
mov edx, dword [esi + 0x3af]
cmp edx, dword [eax + 0x5e2c]
jne 0x4aae61
mov eax, dword [eax + 0x5f2b]
push str.SoundsH_tech_center1.wav
push str.SoundsJSounds.pck
mov ecx, eax
call fcn.00405fa0
test al, al
jne 0x4aae5a
add esi, 4
push str.TickBuild__:_Error_occurs.
push esi
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
call edi
mov dword [0x92843c], eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x34
ret