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

Disassembly:
mov eax, 0x2d860
call fcn.00535460
push esi
mov esi, dword [esp + 0x2d868]
push edi
mov eax, dword [esi + 0x70]
mov dword [esp + 0x24], eax
lea edi, [eax + 1]
cmp edi, 0x41
mov dword [esp + 8], edi
jle 0x4ec421
pop edi
xor eax, eax
pop esi
add esp, 0x2d860
ret
push ebp
mov ebp, dword [esi + 0x74]
xor ecx, ecx
mov dword [esp + 0x1c], ebp
cmp edi, ecx
mov dword [esp + 0x18], ecx
jle 0x4ec572
lea edx, [esp + 0x240]
push ebx
mov dword [esp + 0x14], edx
lea edx, [esi + 0x80]
mov dword [esp + 0x28], edx
lea edx, [esi + 0x54]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
cmp ecx, dword [esp + 0x2d878]
jne 0x4ec4e6
xor ebx, ebx
test ebp, ebp
jle 0x4ec4d4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [eax + eax*4]
lea ebp, [eax + ecx*2]
shl ebp, 2
lea edx, [edi + 0x2c]
push esi
push edx
push edi
call fcn.004ebe20
mov eax, dword [esp + 0x2d888]
add esp, 0xc
cmp ebx, eax
jne 0x4ec4ac
mov eax, dword [esp + 0x2d880]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
inc ebx
add edi, ebp
add esi, 0xb2c
cmp ebx, eax
jl 0x4ec47c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2d874]
fld dword [esp + 0x2d884]
mov edx, 0x2c
fstp dword [esp + ecx*4 + 0x3c]
jmp 0x4ec550
mov edx, dword [esi + 0x78]
mov ebx, dword [esp + 0x24]
test ebp, ebp
mov edx, dword [ebx + edx]
mov dword [esp + ecx*4 + 0x3c], edx
jle 0x4ec536
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
shl eax, 2
mov esi, edx
mov edi, ebx
mov ecx, 0xb
add edx, eax
add ebx, 0xb2c
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4ec509
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x2d874]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
add edx, 4
mov dword [esp + 0x24], edx
mov edx, 0x2c
add ebx, edx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
inc ecx
add ebx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
cmp ecx, edi
mov dword [esp + 0x14], ebx
jl 0x4ec458
pop ebx
xor eax, eax
test ebp, ebp
jle 0x4ec59a
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x13c]
sub ecx, edx
lea edx, [ecx + eax*4]
inc eax
cmp eax, ebp
mov edx, dword [esp + edx + 0x13c]
mov dword [esp + eax*4 + 0x138], edx
jl 0x4ec584
lea eax, [esp + 0x240]
push eax
push ebp
push edi
call fcn.004ec030
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x60]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x78]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x64]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], ecx
call dword [0x160cc84]
mov eax, dword [esi + 0x7c]
push eax
call dword [0x160cc84]
push esi
call dword [0x160cc84]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x258]
push ecx
push edx
push ebp
push edi
call fcn.004eb390
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
add esp, 0x28
mov dword [eax + 0x64], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x58], edx
mov edx, dword [esp + 0x34]
pop ebp
pop edi
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], edx
pop esi
add esp, 0x2d860
ret