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

Disassembly:
sub esp, 0x4dc
push ebp
mov ebp, ecx
mov dword [esp + 8], ebp
cmp dword [ebp + 0x5548], 0xffffffff
je 0x4e98c3
mov eax, 0xf
pop ebp
add esp, 0x4dc
ret
push ebx
push esi
push edi
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov ecx, 0x64
mov eax, SysReAllocString
lea edi, [esp + 0x1cc]
rep stosd dword es:[edi], eax
mov ecx, dword [0x84e498]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x4e9a05
mov ecx, dword [0x84e48c]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x4e99f2
mov edx, dword [esi + 0x24]
mov ebx, dword [esi + 0x50]
mov cl, byte [edx + 0xab]
test cl, cl
je 0x4e9922
mov cl, byte [esi + 0x79]
test cl, cl
je 0x4e9938
mov cl, byte [esi + 0x77]
test cl, cl
jne 0x4e99f2
mov cl, byte [esi + 0x78]
test cl, cl
jne 0x4e99f2
cmp dword [esi + 0x2c], ebp
jne 0x4e99f2
push 0
push 0
lea ecx, [esp + 0x2c]
call fcn.004b9ee0
lea eax, [esp + 0x24]
xor edi, edi
push eax
mov ecx, esi
mov dword [esp + 0x28], vtable.DynamicVectorClass_class_TechnoTypeClass_const__.0
mov dword [esp + 0x3c], 0xa
mov dword [esp + 0x38], edi
call fcn.006b2d70
mov eax, dword [esp + 0x34]
xor ebp, ebp
cmp eax, ebp
jle 0x4e99bc
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + edi*4]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x2c]
cmp eax, 3
jne 0x4e99b3
mov eax, dword [esi + 0xb90]
shl eax, 2
mov edx, dword [esp + eax + 0x3c]
mov ecx, dword [esp + eax + 0x1cc]
inc edx
cmp ebx, ecx
mov dword [esp + eax + 0x3c], edx
lea eax, [esp + eax + 0x1cc]
jge 0x4e99b3
mov dword [eax], ebx
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
jl 0x4e997a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], vtable.VectorClass_class_TechnoTypeClass_const__.0
cmp eax, ebp
je 0x4e99e1
mov cl, byte [esp + 0x31]
test cl, cl
je 0x4e99e1
push eax
call fcn.0076d2d5
add esp, 4
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x31], 0
mov ecx, dword [0x84e498]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4e98fa
mov eax, dword [0xa27fd8]
xor edi, edi
test eax, eax
jle 0x4e9a4d
mov eax, dword [0xa27fcc]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x4e9a43
push ebp
mov ecx, esi
call fcn.004c87b0
test al, al
je 0x4e9a43
mov ecx, dword [esi + 0x5ac]
mov edx, dword [ecx + 0xb90]
mov ecx, dword [esp + edx*4 + 0x3c]
test ecx, ecx
lea eax, [esp + edx*4 + 0x3c]
jle 0x4e9a43
dec ecx
mov dword [eax], ecx
mov eax, dword [0xa27fd8]
inc edi
cmp edi, eax
jl 0x4e9a10
or eax, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov eax, dword [0xa25598]
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], SysReAllocString
jle 0x4e9b1a
mov ebp, dword [esp + esi*4 + 0x3c]
test ebp, ebp
jle 0x4e9b08
mov eax, dword [0xa2558c]
mov edi, dword [esp + 0x14]
push 0
push 0
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, edi
call fcn.004e2ba0
test eax, eax
je 0x4e9b08
mov edx, dword [0xa2558c]
add edi, 0x24
mov ecx, dword [edx + esi*4]
mov edx, dword [esp + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x84]
mov edx, eax
mov eax, dword [edi]
push edi
mov dword [esp + 0x1c], edx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jg 0x4e9b08
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x4e9ad3
cmp eax, ebp
jge 0x4e9ad9
mov dword [esp + 0x20], ebp
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov dword [esp + ebx*4 + 0x35c], esi
inc ebx
cmp eax, 0xffffffff
je 0x4e9af9
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + esi*4 + 0x1cc]
cmp eax, edx
jge 0x4e9b08
mov eax, dword [esp + esi*4 + 0x1cc]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov eax, dword [0xa25598]
inc esi
cmp esi, eax
jl 0x4e9a71
mov ebp, dword [esp + 0x14]
mov ecx, dword [0xa255a0]
push SysReAllocString
push 0
add ecx, 0x218
call fcn.0062fcf0
mov edx, dword [ebp + 0xc8]
mov dword [esp + 0x18], eax
mov eax, dword [0x821b68]
fild dword [esp + 0x18]
mov ecx, dword [eax + 0x105c]
fmul qword [0x787280]
fild dword [ecx + edx*4]
fmul qword [0x787518]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4e9b7d
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [ebp + 0x5548], edx
pop ebx
mov eax, 0xf
pop ebp
add esp, 0x4dc
ret
test ebx, ebx
je 0x4e9ba2
mov eax, dword [0xa255a0]
dec ebx
push ebx
push 0
lea ecx, [eax + 0x218]
call fcn.0062fcf0
mov ecx, dword [esp + eax*4 + 0x35c]
mov dword [ebp + 0x5548], ecx
pop edi
pop esi
pop ebx
mov eax, 0xf
pop ebp
add esp, 0x4dc
ret