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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
or eax, 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push esi
mov dword [ebx], edx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
push edi
add eax, 2
xor edx, edx
push 3
pop esi
div esi
mov eax, dword [ebx + 4]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebx + 8], edx
xor edx, edx
div esi
mov esi, dword [ebx + 4]
mov dword [ebx + 0xc], edx
mov eax, dword [ecx + 0x324]
mov edx, dword [ebx]
mov ax, word [eax + edx*2]
mov word [ebx + 0x94], ax
mov edi, dword [ecx + 0x318]
mov eax, edx
imul eax, eax, 3
add esi, eax
mov esi, dword [edi + esi*4]
mov dword [ebx + 0x40], esi
mov edi, dword [ecx + 0x318]
mov esi, dword [ebx + 0xc]
add esi, eax
shl esi, 2
mov dword [ebp + 0xc], esi
mov esi, dword [esi + edi]
mov dword [ebx + 0x44], esi
mov edi, dword [ecx + 0xc8]
imul edi, dword [ebx + 0x40]
mov esi, dword [ecx + 0x90]
movzx esi, word [esi + 2]
add edi, dword [ebp + 0x10]
mov dword [ebp + 8], eax
add esi, edi
lea edi, [ebx + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ecx + 0x31c]
mov esi, dword [ebx + 4]
add esi, eax
mov esi, dword [edi + esi*4]
mov dword [ebx + 0x10], esi
mov esi, edx
imul esi, esi, 0xc
add esi, dword [ecx + 0x31c]
and dword [ebx + 0x4c], 0
mov dword [ebx + 0x48], esi
mov edi, esi
mov esi, dword [ebx + 8]
mov esi, dword [edi + esi*4]
cmp esi, 0xffffffff
mov dword [ebx + 0x20], esi
je 0x4a62ec
imul esi, esi, 0xc
add esi, dword [ecx + 0x31c]
push edx
push esi
call fcn.004998e8
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0xc]
mov edx, dword [edi + edx*4]
or edi, 0xffffffff
cmp edx, edi
mov dword [ebx + 0x28], edx
je 0x4a6318
push dword [ebx]
imul edx, edx, 0xc
add edx, dword [ecx + 0x31c]
push edx
call fcn.004998e8
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 8]
or edi, edi
mov edx, dword [ebx + 4]
add edx, eax
mov eax, dword [ecx + 0x318]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x6c], eax
mov eax, dword [ecx + 0x318]
mov eax, dword [edx + eax]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x20]
cmp eax, edi
jne 0x4a6343
mov eax, edi
jmp 0x4a6352
mov edx, dword [ecx + 0x318]
imul eax, eax, 3
add eax, dword [ebx + 0x24]
mov eax, dword [edx + eax*4]
mov esi, dword [ebx + 0x28]
cmp esi, edi
mov dword [ebx + 0x5c], eax
jne 0x4a6360
mov eax, edi
jmp 0x4a637c
mov eax, dword [ebx + 0x2c]
imul esi, esi, 3
inc eax
xor edx, edx
push 3
pop edi
div edi
mov eax, dword [ecx + 0x318]
add edx, esi
mov eax, dword [eax + edx*4]
or edi, 0xffffffff
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x4a6491
mov edx, dword [ecx + 0x324]
mov dx, word [edx + eax*2]
imul eax, eax, 0xc
push dword [ebx]
mov word [ebx + 0x96], dx
mov ecx, dword [ecx + 0x31c]
add eax, ecx
push eax
mov dword [ebx + 0x4c], eax
call fcn.004998e8
mov esi, eax
push 3
xor edx, edx
pop ecx
lea eax, [esi + 2]
div ecx
push 3
pop edi
lea eax, [esi + 1]
mov dword [ebx + 0x14], esi
mov ecx, edx
xor edx, edx
div edi
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x18], ecx
mov dword [ebp + 8], ecx
mov edi, edx
mov dword [ebx + 0x1c], edi
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
mov dword [ebx + 0x30], eax
je 0x4a6400
mov ecx, dword [ebp - 4]
imul eax, eax, 0xc
push dword [ebx + 0x10]
add eax, dword [ecx + 0x31c]
push eax
call fcn.004998e8
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
mov dword [ebx + 0x38], eax
je 0x4a6426
mov ecx, dword [ebp - 4]
imul eax, eax, 0xc
push dword [ebx + 0x10]
add eax, dword [ecx + 0x31c]
push eax
call fcn.004998e8
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 4]
imul eax, eax, 3
mov edx, dword [ecx + 0x318]
add edi, eax
mov edx, dword [edx + edi*4]
add eax, esi
mov esi, dword [ebx + 0x30]
mov dword [ebx + 0x74], edx
mov edx, dword [ecx + 0x318]
mov eax, dword [edx + eax*4]
mov dword [ebx + 0x78], eax
or eax, 0xffffffff
cmp esi, eax
je 0x4a646e
mov eax, dword [ebx + 0x34]
imul esi, esi, 3
inc eax
push 3
xor edx, edx
pop edi
div edi
mov eax, dword [ecx + 0x318]
add edx, esi
mov eax, dword [eax + edx*4]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x38]
cmp eax, 0xffffffff
jne 0x4a647d
or eax, eax
jmp 0x4a648c
mov ecx, dword [ecx + 0x318]
imul eax, eax, 3
add eax, dword [ebx + 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [ebx + 0x68], eax
jmp 0x4a64a3
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x68], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x74], edi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc