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

Disassembly:
push 0xffffffffffffffff
push 0x6f6a70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov eax, dword [edi + 0xa8]
lea ebx, [edi + 0x8c]
push 0xb
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], ebx
call esi
mov ecx, dword [edi + 0xa8]
push 0
push 0
push 0x184
push ecx
mov dword [esp + 0x9c], 0
call esi
mov eax, dword [edi + 0x160]
mov ecx, dword [edi + 0x15c]
lea ebp, [edi + 0x158]
push eax
push ecx
mov ecx, ebp
call fcn.004f8160
mov ecx, dword [edi + 0x178]
mov esi, dword [edi + 0x188]
mov eax, dword [edi + 0x150]
add esi, ecx
mov ecx, ebp
add esi, eax
call fcn.004f7fc0
cmp eax, esi
jae 0x4eaabd
test esi, esi
mov eax, esi
jge 0x4eaa66
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00652710
mov ecx, dword [ebp + 4]
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push eax
push ecx
mov ecx, ebp
call fcn.004f8220
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
push edx
push eax
mov ecx, ebp
call fcn.004f81f0
mov eax, dword [ebp + 4]
push eax
call fcn.00652870
lea ecx, [ebx + esi*4]
add esp, 4
mov dword [ebp + 0xc], ecx
mov ecx, ebp
call fcn.004f6860
lea edx, [ebx + eax*4]
mov dword [ebp + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [ebp + 8], edx
mov dword [esp + 0x14], 0
lea eax, [esp + 0x2c]
lea ecx, [edi + 0x144]
push eax
mov byte [esp + 0x90], 1
call fcn.004f7b90
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x148]
cmp eax, ecx
mov dword [esp + 0x24], eax
je 0x4eac96
mov ecx, dword [eax + 0x10]
mov ebx, 0x832bf8
cmp ecx, 1
je 0x4eab05
mov ebx, 0x832be0
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x58], cl
lea ecx, [esp + 0x58]
call fcn.00407e50
mov edi, str._importance
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._importance
lea ecx, [esp + 0x5c]
call fcn.00415530
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 2
mov byte [esp + 0x68], dl
call fcn.00407e50
mov edi, 0x7fa2e0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7fa2e0
lea ecx, [esp + 0x6c]
call fcn.00415530
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 3
mov edx, dword [eax + 0xc]
call fcn.004534d0
mov esi, eax
mov ecx, 0x8344e8
mov byte [esp + 0x8c], 4
call fcn.00461f40
mov ecx, ebx
mov edi, eax
call fcn.00461f40
lea ecx, [esp + 0x54]
push eax
push ecx
lea edx, [esp + 0x6c]
push esi
push edx
mov edx, edi
lea ecx, [esp + 0x54]
call fcn.005c9f10
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 8
call fcn.00407e50
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 7
call fcn.00407e50
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 6
call fcn.00407e50
push 0x14
call fcn.00652710
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4eac0f
mov dword [eax + 4], esi
mov dword [eax], vtable.t_artifact_ai_importance_listbox_index.0
jmp 0x4eac11
xor eax, eax
push eax
lea ecx, [esp + 0x18]
call fcn.004011a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.004f7fe0
mov ecx, dword [ebp + 4]
cmp ecx, esi
jne 0x4eac47
xor eax, eax
jmp 0x4eac4f
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x1c]
dec eax
push eax
lea edx, [esp + 0x48]
call fcn.005fa1a0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 1
call fcn.00407e50
lea ecx, [esp + 0x24]
call fcn.00450d80
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + 0x148]
cmp eax, ecx
jne 0x4eaaf3
mov ebx, dword [esp + 0x1c]
mov edi, edx
mov edx, 0x7c
lea ecx, [esp + 0x34]
call fcn.00564090
mov eax, dword [esp + 0x38]
push 0
push 0x7fa2b8
push 0x7fa298
push 0
push eax
mov byte [esp + 0xa0], 9
call fcn.00660e07
mov esi, eax
add esp, 0x14
test esi, esi
mov dword [esp + 0x28], esi
jne 0x4ead0f
mov al, byte [esp + 0x34]
mov byte [esp + 0x8c], 1
test al, al
je 0x4eacef
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4eacef
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x8c], 0
call fcn.00403170
mov eax, dword [ebx + 0x1c]
push 0
push 1
push 0xb
push eax
jmp 0x4eb244
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x16c]
call fcn.004f7b90
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x170]
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x4eaef2
jmp 0x4ead3b
mov esi, dword [esp + 0x28]
mov ecx, dword [ecx + 0xc]
mov ebx, 0x832bf8
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x10], 1
je 0x4ead55
mov ebx, 0x832be0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00407e50
mov edi, str._importance
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._importance
lea ecx, [esp + 0x5c]
call fcn.00415530
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x68], cl
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 0xa
call fcn.00407e50
mov edi, 0x7fa2e0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7fa2e0
lea ecx, [esp + 0x6c]
call fcn.00415530
mov edx, dword [esi]
lea eax, [esp + 0x74]
push eax
mov ecx, esi
mov byte [esp + 0x90], 0xb
call dword [edx + 0x10]
mov esi, eax
mov al, byte [0x8344f8]
mov byte [esp + 0x8c], 0xc
test al, al
jne 0x4eadf0
mov ecx, 0x8344e8
call fcn.005c0bd0
mov ecx, ebx
call fcn.00461f40
lea ecx, [esp + 0x54]
push eax
push ecx
lea edx, [esp + 0x6c]
push esi
push edx
mov edx, 0x8344e8
lea ecx, [esp + 0x54]
call fcn.005c9f10
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 0x10
call fcn.00407e50
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 0xf
call fcn.00407e50
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 0xe
call fcn.00407e50
push 0x14
call fcn.00652710
add esp, 4
test eax, eax
je 0x4eae67
mov dword [eax + 4], 0
mov dword [eax], vtable.t_artifact_ai_importance_listbox_index.0
jmp 0x4eae69
xor eax, eax
push eax
lea ecx, [esp + 0x18]
call fcn.004011a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], 1
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.004f7fe0
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x4eaea3
xor eax, eax
jmp 0x4eaeab
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x1c]
dec eax
push eax
lea edx, [esp + 0x48]
call fcn.005fa1a0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 9
call fcn.00407e50
lea ecx, [esp + 0x18]
call fcn.004f9920
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x170]
cmp ecx, eax
jne 0x4ead37
mov ebx, dword [esp + 0x1c]
mov edi, edx
mov edx, 0xa6
lea ecx, [esp + 0x3c]
call fcn.00564090
mov eax, dword [esp + 0x40]
push 0
push 0x7fa2b8
push 0x7fa298
push 0
push eax
mov byte [esp + 0xa0], 0x11
call fcn.00660e07
add esp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4eaf7d
mov al, byte [esp + 0x3c]
mov byte [esp + 0x8c], 9
test al, al
je 0x4eaf49
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4eaf49
mov edx, dword [ecx]
push 1
call dword [edx]
mov al, byte [esp + 0x34]
mov byte [esp + 0x8c], 1
test al, al
je 0x4eaf67
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4eaf67
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x8c], 0
call fcn.00403170
jmp 0x4eb23a
mov edi, dword [edi + 0x180]
mov ecx, dword [edi]
cmp ecx, edi
mov dword [esp + 0x18], ecx
je 0x4eb1d7
jmp 0x4eaf97
mov eax, dword [esp + 0x2c]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], 0x832bf8
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x10], 1
je 0x4eafb7
mov dword [esp + 0x28], 0x832be0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00407e50
mov edi, str._importance
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x58]
push ebx
call fcn.00402d20
test al, al
je 0x4eb00e
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov edx, ecx
mov esi, str._importance
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call fcn.00408980
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 0x12
mov byte [esp + 0x48], al
call fcn.00407e50
mov edi, 0x7fa2e0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x48]
push ebx
call fcn.00402d20
test al, al
je 0x4eb06d
mov edi, dword [esp + 0x48]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7fa2e0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
call fcn.00408980
mov edi, dword [esp + 0x28]
mov byte [esp + 0x8c], 0x13
mov al, byte [edi + 0x10]
test al, al
jne 0x4eb087
mov ecx, edi
call fcn.005c0bd0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x74]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, eax
mov al, byte [0x8344f8]
mov byte [esp + 0x8c], 0x14
test al, al
jne 0x4eb0b2
mov ecx, 0x8344e8
call fcn.005c0bd0
lea eax, [esp + 0x54]
push edi
push eax
lea ecx, [esp + 0x4c]
push esi
push ecx
mov edx, 0x8344e8
lea ecx, [esp + 0x74]
call fcn.005c9f10
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 0x18
call fcn.00407e50
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 0x17
call fcn.00407e50
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 0x16
call fcn.00407e50
push 0x14
call fcn.00652710
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4eb127
mov dword [eax + 4], esi
mov dword [eax], vtable.t_artifact_ai_importance_listbox_index.0
mov ecx, dword [eax + 4]
mov esi, eax
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
call fcn.00403170
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esi + 8], 2
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
push ecx
push 1
push eax
mov ecx, ebp
call fcn.004f9970
mov ecx, dword [ebp + 4]
xor esi, esi
cmp ecx, esi
jne 0x4eb164
xor eax, eax
jmp 0x4eb16c
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x1c]
dec eax
push eax
lea edx, [esp + 0x68]
call fcn.005fa1a0
mov eax, dword [esp + 0x68]
mov byte [esp + 0x8c], 0x11
cmp eax, esi
je 0x4eb1a8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4eb19f
cmp al, 0xff
je 0x4eb19f
dec al
mov byte [ecx], al
jmp 0x4eb1a8
push ecx
call fcn.00652870
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
call fcn.004f9920
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x180]
cmp ecx, eax
jne 0x4eaf93
mov ebx, dword [esp + 0x1c]
mov al, byte [esp + 0x3c]
mov byte [esp + 0x8c], 9
test al, al
je 0x4eb1f5
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4eb1f5
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, byte [esp + 0x34]
mov byte [esp + 0x8c], 1
test al, al
je 0x4eb213
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4eb213
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x8c], 0
test eax, eax
mov ecx, eax
je 0x4eb23a
mov esi, dword [eax + 4]
add eax, 4
dec esi
mov edx, esi
mov dword [eax], esi
test edx, edx
jne 0x4eb23a
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebx + 0x1c]
push 0
push 1
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret