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

Disassembly:
mov eax, 0x1090
call fcn.004ee940
push ebx
imul ebx, dword [0x5ff43c], 0x248
push ebp
mov ebp, dword [ecx + 8]
mov eax, ebp
push esi
mov esi, dword [esp + 0x10a4]
imul eax, esi
push edi
mov dword [esp + 0x14], ecx
mov edi, dword [ebx + 0x60024c]
mov dword [esp + 0x1c], ebx
shl eax, 5
cdq
idiv edi
mov ebx, dword [ebx + 0x600250]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x10ac]
mov dword [esp + 0x24], eax
imul eax, ecx
shl eax, 5
cdq
idiv ebx
mov dword [esp + 0x18], eax
lea eax, [esi + 1]
imul eax, ebp
mov esi, ebp
shl eax, 5
cdq
idiv edi
mov edi, dword [esp + 0x24]
cmp eax, ebp
cmovl esi, eax
lea eax, [ecx + 1]
imul eax, edi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], ecx
shl eax, 5
cdq
idiv ebx
mov ebx, ecx
cmp eax, edi
cmovl edi, eax
mov eax, dword [esp + 0x14]
and dword [esp + 0x44], 0
imul ebp, ecx
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0x10]
add ebp, dword [esp + 0x28]
lea ebp, [eax + ebp*4]
mov dword [esp + 0x2c], ebp
cmp ecx, edi
jge 0x4e16b4
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov ecx, dword [eax + 0x600250]
mov eax, ecx
imul eax, ebx
cdq
idiv dword [ebp + 0xc]
mov dword [esp + 0x30], eax
lea eax, [ebx + 1]
mov dword [esp + 0x64], eax
mov ebx, ebp
imul eax, ecx
mov ecx, dword [esp + 0x28]
mov ebp, ecx
mov dword [esp + 0x48], ecx
cdq
idiv dword [ebx + 0xc]
mov dword [esp + 0x58], eax
cmp ecx, esi
jge 0x4e16a0
sub eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
jmp 0x4e159c
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebx + 8]
and dword [esp + 0x50], 0
and dword [esp + 0x54], 0
mov ecx, dword [eax + 0x60024c]
mov eax, ecx
imul eax, ebp
cdq
idiv ebx
lea edx, [ebp + 1]
mov dword [esp + 0x20], eax
mov eax, ecx
imul eax, edx
mov dword [esp + 0x60], edx
cdq
idiv ebx
mov edi, eax
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x58]
jge 0x4e164d
mov esi, dword [esp + 0x1c]
mov edx, ecx
imul ecx, eax
mov eax, dword [esp + 0x40]
shl edx, 2
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
add ecx, edx
shl ecx, 2
mov dword [esp + 0x3c], eax
cmp edx, edi
jge 0x4e163a
mov ebp, dword [esi + 0x600470]
mov eax, edi
add ebp, ecx
sub eax, edx
mov dword [esp + 0x34], eax
xor edx, edx
movzx eax, byte [edx + ebp]
add word [esp + edx*2 + 0x50], ax
inc edx
cmp edx, 4
jl 0x4e1615
add ebp, 4
sub dword [esp + 0x34], 1
jne 0x4e1613
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
add ecx, ebp
sub eax, 1
mov dword [esp + 0x3c], eax
jne 0x4e15ff
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x48]
imul ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
sub edi, dword [esp + 0x20]
imul edi, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
add ebx, ebp
xor ecx, ecx
lea ebx, [eax + ebx*4]
movzx eax, word [esp + ecx*2 + 0x50]
cdq
idiv edi
mov byte [ecx + ebx], al
inc ecx
cmp ecx, 4
jl 0x4e1669
mov ecx, dword [esp + 0x44]
mov eax, dword [ebx]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x48], ebp
mov dword [esp + ecx*4 + 0xa0], eax
inc ecx
mov dword [esp + 0x44], ecx
cmp ebp, esi
jl 0x4e1598
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x4c], ebx
cmp ebx, edi
jl 0x4e154d
mov ebp, dword [esp + 0x2c]
call fcn.004dcf71
cmp byte [eax], 0
je 0x4e1738
sub esi, dword [esp + 0x28]
lea eax, [esp + 0x2c]
sub edi, dword [esp + 0x18]
mov ebx, 0x615358
push 3
push dword [esp + 0x10b8]
push 1
push eax
push ebx
push 4
push edi
mov eax, esi
shl eax, 2
push eax
push esi
push ebp
push dword [esp + 0x10d8]
call fcn.004024f0
imul esi, edi
lea eax, [esp + 0xcc]
add esp, 0x2c
mov dword [esp + 0x68], eax
mov ecx, 0x105d
mov dword [esp + 0x74], ebx
lea eax, [esp + 0x68]
mov dword [esp + 0x18], ecx
xor edx, edx
mov dword [esp + 0x78], ecx
shl esi, 2
lea ecx, [esp + 0x18]
push eax
inc edx
mov dword [esp + 0x70], esi
call fcn.004e6eaf
pop ecx
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x2c]
jmp 0x4e173d
mov ecx, 0x186a0
mov eax, dword [esp + 0x10a4]
pop edi
pop esi
pop ebp
mov dword [eax + 4], ecx
pop ebx
add esp, 0x1090
ret 0x14