Function at 0x47b2a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x73b543
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 4], 0x13
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi], vtable.CBuildingsIconItem.0
call fcn.004179a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], ebx
call fcn.004179a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
call fcn.00412d40
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
push ebx
push eax
mov byte [esp + 0x4c], 2
mov dword [esi + 0x34], edi
mov word [esi + 0x30], ax
call fcn.00659110
mov ecx, dword [0x914298]
add esp, 8
cmp edi, dword [ecx + 0x8bdb4]
mov dword [esp + 0x50], eax
jb 0x47b360
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
call fcn.00412de0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], bl
call fcn.004179c0
mov dword [esp + 0x44], 0xffffffff
jmp 0x47b4e5
mov eax, dword [esi + 0x34]
mov edx, eax
shl edx, 6
sub edx, eax
add edx, edx
sub edx, eax
mov eax, dword [ecx + edx*4 + 0xee50]
push ebp
lea ebp, [ecx + edx*4 + 0xedb4]
mov ecx, dword [0x905af8]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0x10]
mov edi, eax
cmp edi, ebx
je 0x47b3be
push 0x18
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, ebx
mov byte [esp + 0x48], 3
je 0x47b3b5
push 5
push 1
push edi
mov ecx, eax
call fcn.0043d480
jmp 0x47b3b7
xor eax, eax
mov byte [esp + 0x48], 2
mov edi, eax
mov dword [esi + 0x18], edi
call fcn.0040d670
mov edx, dword [eax]
push str.mon_cor_14
mov ecx, eax
call dword [edx + 0x18]
mov dword [esi + 0x10], eax
call fcn.0040d670
mov edx, dword [eax]
push str.notices_i
mov ecx, eax
call dword [edx + 0x18]
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xcc]
mov ecx, dword [0x894420]
push ebx
push eax
call fcn.00414e70
push eax
push str.BUILDING_NAME
lea ecx, [esp + 0x40]
call fcn.00415a70
mov eax, dword [ebp + 0x58]
lea edi, [ebp + 0x58]
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
push ebx
lea ebp, [esi + 0x38]
je 0x47b431
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push str.buildingsui_upgrading_event_icon
jmp 0x47b43d
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
push str.buildingsui_building_event_icon
mov ecx, dword [0x894420]
call fcn.00414e70
push eax
push ebp
call fcn.00415f60
mov eax, dword [esp + 0x64]
add esp, 0x10
cmp eax, ebx
mov dword [esi + 8], ebp
pop ebp
je 0x47b4bd
movzx eax, word [eax + 0x20]
push ebx
push 1
push eax
push fcn.005e0630
push str.REALM
lea ecx, [esp + 0x28]
call fcn.00415b10
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
test eax, eax
push ebx
lea edi, [esi + 0x238]
je 0x47b499
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.buildingsui_upgrading_event_icon_relm
jmp 0x47b4a5
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push str.buildingsui_building_event_icon_realm
mov ecx, dword [0x894420]
call fcn.00414e70
push eax
push edi
call fcn.00415f60
add esp, 0x10
mov dword [esi + 0xc], edi
or edi, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esi + 0x438], edi
mov byte [esp + 0x44], 1
call fcn.00412de0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], bl
call fcn.004179c0
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x28]
call fcn.004179c0
mov ecx, dword [esp + 0x3c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8